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