lws_config.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /* lws_config.h Generated from lws_config.h.in */
  2. #ifndef NDEBUG
  3. #ifndef _DEBUG
  4. #define _DEBUG
  5. #endif
  6. #endif
  7. #define LWS_INSTALL_DATADIR "/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libwebsockets-2.2.2-stable/release/share"
  8. /* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
  9. * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
  10. /* #undef USE_WOLFSSL */
  11. /* Also define to 1 (in addition to USE_WOLFSSL) when using the
  12. (older) CyaSSL library */
  13. /* #undef USE_OLD_CYASSL */
  14. /* #undef LWS_USE_BORINGSSL */
  15. /* #undef LWS_USE_MBEDTLS */
  16. /* #undef LWS_USE_POLARSSL */
  17. /* #undef LWS_WITH_ESP8266 */
  18. /* #undef LWS_WITH_ESP32 */
  19. /* #undef LWS_WITH_PLUGINS */
  20. /* #undef LWS_WITH_NO_LOGS */
  21. /* The Libwebsocket version */
  22. #define LWS_LIBRARY_VERSION "2.2.2"
  23. #define LWS_LIBRARY_VERSION_MAJOR 2
  24. #define LWS_LIBRARY_VERSION_MINOR 2
  25. #define LWS_LIBRARY_VERSION_PATCH 2
  26. /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
  27. #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
  28. /* The current git commit hash that we're building from */
  29. #define LWS_BUILD_HASH "root@am335x_ide-D0.02.02.50.03.PH-109-ga21e8ab3a"
  30. /* Build with OpenSSL support */
  31. #define LWS_OPENSSL_SUPPORT
  32. /* The client should load and trust CA root certs it finds in the OS */
  33. #define LWS_SSL_CLIENT_USE_OS_CA_CERTS
  34. /* Sets the path where the client certs should be installed. */
  35. #define LWS_OPENSSL_CLIENT_CERTS "../share"
  36. /* Turn off websocket extensions */
  37. /* #undef LWS_NO_EXTENSIONS */
  38. /* Enable libev io loop */
  39. /* #undef LWS_USE_LIBEV */
  40. /* Enable libuv io loop */
  41. /* #undef LWS_USE_LIBUV */
  42. /* Build with support for ipv6 */
  43. /* #undef LWS_USE_IPV6 */
  44. /* Build with support for UNIX domain socket */
  45. /* #undef LWS_USE_UNIX_SOCK */
  46. /* Build with support for HTTP2 */
  47. /* #undef LWS_USE_HTTP2 */
  48. /* Turn on latency measuring code */
  49. /* #undef LWS_LATENCY */
  50. /* Don't build the daemonizeation api */
  51. #define LWS_NO_DAEMONIZE
  52. /* Build without server support */
  53. /* #undef LWS_NO_SERVER */
  54. /* Build without client support */
  55. /* #undef LWS_NO_CLIENT */
  56. /* If we should compile with MinGW support */
  57. /* #undef LWS_MINGW_SUPPORT */
  58. /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
  59. /* #undef LWS_BUILTIN_GETIFADDRS */
  60. /* use SHA1() not internal libwebsockets_SHA1 */
  61. /* #undef LWS_SHA1_USE_OPENSSL_NAME */
  62. /* SSL server using ECDH certificate */
  63. /* #undef LWS_SSL_SERVER_WITH_ECDH_CERT */
  64. #define LWS_HAVE_SSL_CTX_set1_param
  65. #define LWS_HAVE_X509_VERIFY_PARAM_set1_host
  66. /* #undef LWS_HAVE_UV_VERSION_H */
  67. /* CGI apis */
  68. /* #undef LWS_WITH_CGI */
  69. /* whether the Openssl is recent enough, and / or built with, ecdh */
  70. #define LWS_HAVE_OPENSSL_ECDH_H
  71. /* HTTP Proxy support */
  72. /* #undef LWS_WITH_HTTP_PROXY */
  73. /* HTTP Ranges support */
  74. #define LWS_WITH_RANGES
  75. /* Http access log support */
  76. /* #undef LWS_WITH_ACCESS_LOG */
  77. /* #undef LWS_WITH_SERVER_STATUS */
  78. /* #undef LWS_WITH_STATEFUL_URLDECODE */
  79. /* Maximum supported service threads */
  80. #define LWS_MAX_SMP 32
  81. /* Lightweight JSON Parser */
  82. /* #undef LWS_WITH_LEJP */
  83. /* SMTP */
  84. /* #undef LWS_WITH_SMTP */
  85. /* OPTEE */
  86. /* #undef LWS_PLAT_OPTEE */
  87. /* ZIP FOPS */
  88. #define LWS_WITH_ZIP_FOPS
  89. #define LWS_HAVE_STDINT_H
  90. /* #undef LWS_FALLBACK_GETHOSTBYNAME */
  91. /* OpenSSL various APIs */
  92. /* #undef LWS_HAVE_TLS_CLIENT_METHOD */
  93. #define LWS_HAVE_TLSV1_2_CLIENT_METHOD