lejp handle name elements starting with dot
[platform/upstream/libwebsockets.git] / lws_config.h.in
1 /* lws_config.h  Generated from lws_config.h.in  */
2
3 #ifndef NDEBUG
4         #ifndef _DEBUG
5                 #define _DEBUG
6         #endif
7 #endif
8
9 /* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
10  * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
11 #cmakedefine USE_WOLFSSL
12
13 /* Also define to 1 (in addition to USE_WOLFSSL) when using the
14   (older) CyaSSL library */
15 #cmakedefine USE_OLD_CYASSL
16
17 #cmakedefine LWS_USE_MBEDTLS
18 #cmakedefine LWS_USE_POLARSSL
19
20 #cmakedefine LWS_WITH_PLUGINS
21
22 /* The Libwebsocket version */
23 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
24
25 #define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
26 #define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
27 #define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
28 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
29 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
30
31 /* The current git commit hash that we're building from */
32 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
33
34 /* Build with OpenSSL support */
35 #cmakedefine LWS_OPENSSL_SUPPORT
36
37 /* The client should load and trust CA root certs it finds in the OS */
38 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
39
40 /* Sets the path where the client certs should be installed. */
41 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
42
43 /* Turn off websocket extensions */
44 #cmakedefine LWS_NO_EXTENSIONS
45
46 /* Enable libev io loop */
47 #cmakedefine LWS_USE_LIBEV
48
49 /* Enable libuv io loop */
50 #cmakedefine LWS_USE_LIBUV
51
52 /* Build with support for ipv6 */
53 #cmakedefine LWS_USE_IPV6
54
55 /* Build with support for UNIX domain socket */
56 #cmakedefine LWS_USE_UNIX_SOCK
57
58 /* Build with support for HTTP2 */
59 #cmakedefine LWS_USE_HTTP2
60
61 /* Turn on latency measuring code */
62 #cmakedefine LWS_LATENCY
63
64 /* Don't build the daemonizeation api */
65 #cmakedefine LWS_NO_DAEMONIZE
66
67 /* Build without server support */
68 #cmakedefine LWS_NO_SERVER
69
70 /* Build without client support */
71 #cmakedefine LWS_NO_CLIENT
72
73 /* If we should compile with MinGW support */
74 #cmakedefine LWS_MINGW_SUPPORT
75
76 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
77 #cmakedefine LWS_BUILTIN_GETIFADDRS
78
79 /* use SHA1() not internal libwebsockets_SHA1 */
80 #cmakedefine LWS_SHA1_USE_OPENSSL_NAME
81
82 /* SSL server using ECDH certificate */
83 #cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
84 #cmakedefine LWS_HAVE_SSL_CTX_set1_param
85
86 /* CGI apis */
87 #cmakedefine LWS_WITH_CGI
88
89 /* whether the Openssl is recent enough, and / or built with, ecdh */
90 #cmakedefine LWS_HAVE_OPENSSL_ECDH_H
91
92 /* HTTP Proxy support */
93 #cmakedefine LWS_WITH_HTTP_PROXY
94
95 /* Http access log support */
96 #cmakedefine LWS_WITH_ACCESS_LOG
97 #cmakedefine LWS_WITH_SERVER_STATUS
98
99 /* Maximum supported service threads */
100 #define LWS_MAX_SMP ${LWS_MAX_SMP}
101
102 ${LWS_SIZEOFPTR_CODE}