client perform WSI_CREATE callback
[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 /* The Libwebsocket version */
18 #cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
19
20 #define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
21 #define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
22 #define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
23 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
24 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
25
26 /* The current git commit hash that we're building from */
27 #cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
28
29 /* Build with OpenSSL support */
30 #cmakedefine LWS_OPENSSL_SUPPORT
31
32 /* The client should load and trust CA root certs it finds in the OS */
33 #cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
34
35 /* Sets the path where the client certs should be installed. */
36 #cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
37
38 /* Turn off websocket extensions */
39 #cmakedefine LWS_NO_EXTENSIONS
40
41 /* Enable libev io loop */
42 #cmakedefine LWS_USE_LIBEV
43
44 /* Enable libuv io loop */
45 #cmakedefine LWS_USE_LIBUV
46
47 /* Build with support for ipv6 */
48 #cmakedefine LWS_USE_IPV6
49
50 /* Build with support for HTTP2 */
51 #cmakedefine LWS_USE_HTTP2
52
53 /* Turn on latency measuring code */
54 #cmakedefine LWS_LATENCY
55
56 /* Don't build the daemonizeation api */
57 #cmakedefine LWS_NO_DAEMONIZE
58
59 /* Build without server support */
60 #cmakedefine LWS_NO_SERVER
61
62 /* Build without client support */
63 #cmakedefine LWS_NO_CLIENT
64
65 /* If we should compile with MinGW support */
66 #cmakedefine LWS_MINGW_SUPPORT
67
68 /* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
69 #cmakedefine LWS_BUILTIN_GETIFADDRS
70
71 /* use SHA1() not internal libwebsockets_SHA1 */
72 #cmakedefine LWS_SHA1_USE_OPENSSL_NAME
73
74 /* SSL server using ECDH certificate */
75 #cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
76
77 /* whether the Openssl is recent enough, and / or built with, ecdh */
78 #cmakedefine LWS_HAVE_OPENSSL_ECDH_H
79
80 /* Maximum supported service threads */
81 #define LWS_MAX_SMP ${LWS_MAX_SMP}
82
83 ${LWS_SIZEOFPTR_CODE}