• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * libwebsockets - small server side websockets and web server implementation
3  *
4  * Copyright (C) 2021-2022 Huawei Device Co., Ltd.
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to
8  * deal in the Software without restriction, including without limitation the
9  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10  * sell copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in
14  * all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
22  * IN THE SOFTWARE.
23  */
24 
25 /* lws_config.h  Generated from lws_config.h.in  */
26 
27 #ifndef NDEBUG
28 	#ifndef _DEBUG
29 		#define _DEBUG
30 	#endif
31 #endif
32 
33 #define LWS_INSTALL_DATADIR "/usr/local/share"
34 #define LWS_INSTALL_LIBDIR "/usr/local/lib"
35 #define LWS_LIBRARY_VERSION_MAJOR 4
36 #define LWS_LIBRARY_VERSION_MINOR 3
37 #define LWS_LIBRARY_VERSION_PATCH 0
38 
39 /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
40 #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR * 1000000) + \
41 					(LWS_LIBRARY_VERSION_MINOR * 1000) + \
42 					LWS_LIBRARY_VERSION_PATCH
43 #define LWS_MAX_SMP 1
44 
45 /* #undef LWS_ESP_PLATFORM */
46 /* #undef LWS_LIBRARY_VERSION_NUMBER */
47 
48 /* #undef LWS_EXT_PTHREAD_LIBRARIES */
49 
50 /* #undef LWS_AVOID_SIGPIPE_IGN */
51 #define LWS_BUILD_HASH "OpenHarmony-v3.1.1-Release-1063-g7c0dfa64"
52 /* #undef LWS_BUILTIN_GETIFADDRS */
53 #define LWS_CLIENT_HTTP_PROXYING
54 /* #undef LWS_DETECTED_PLAT_IOS */
55 /* #undef LWS_FALLBACK_GETHOSTBYNAME */
56 #define LWS_HAS_INTPTR_T
57 #define LWS_HAS_GETOPT_LONG
58 /* #undef LWS_HAVE__ATOI64 */
59 #define LWS_HAVE_ATOLL
60 #define LWS_HAVE_BN_bn2binpad
61 #define LWS_HAVE_CLOCK_GETTIME
62 #define LWS_HAVE_EC_POINT_get_affine_coordinates
63 #define LWS_HAVE_EC_KEY_new_by_curve_name
64 #define LWS_HAVE_ECDSA_SIG_set0
65 #define LWS_HAVE_EVP_MD_CTX_free
66 #define LWS_HAVE_EVP_aes_128_wrap
67 #define LWS_HAVE_EVP_aes_128_cfb8
68 #define LWS_HAVE_EVP_aes_128_cfb128
69 #define LWS_HAVE_EVP_aes_192_cfb8
70 #define LWS_HAVE_EVP_aes_192_cfb128
71 #define LWS_HAVE_EVP_aes_256_cfb8
72 #define LWS_HAVE_EVP_aes_256_cfb128
73 #define LWS_HAVE_EVP_aes_128_ofb
74 #define LWS_HAVE_EVP_aes_128_xts
75 #define LWS_HAVE_EVP_aes_128_ctr
76 #define LWS_HAVE_EVP_aes_128_ecb
77 #define LWS_HAVE_EVP_PKEY_new_raw_private_key
78 #define LWS_HAVE_EXECVPE
79 #define LWS_HAVE_LOCALTIME_R
80 #define LWS_HAVE_GMTIME_R
81 #define LWS_HAVE_CTIME_R
82 #define LWS_HAVE_GETGRGID_R
83 #define LWS_HAVE_GETGRNAM_R
84 #define LWS_HAVE_GETPWUID_R
85 #define LWS_HAVE_GETPWNAM_R
86 #define LWS_HAVE_LIBCAP
87 #define LWS_HAVE_HMAC_CTX_new
88 #define LWS_HAVE_MALLOC_H
89 #define LWS_HAVE_MALLOC_TRIM
90 #define LWS_HAVE_MALLOC_USABLE_SIZE
91 /* #undef LWS_HAVE_mbedtls_md_setup */
92 /* #undef LWS_HAVE_mbedtls_net_init */
93 /* #undef LWS_HAVE_mbedtls_rsa_complete */
94 /* #undef LWS_HAVE_mbedtls_internal_aes_encrypt */
95 /* #undef LWS_HAVE_mbedtls_ssl_conf_alpn_protocols */
96 /* #undef LWS_HAVE_mbedtls_ssl_get_alpn_protocol */
97 /* #undef LWS_HAVE_mbedtls_ssl_conf_sni */
98 /* #undef LWS_HAVE_mbedtls_ssl_set_hs_ca_chain */
99 /* #undef LWS_HAVE_mbedtls_ssl_set_hs_own_cert */
100 /* #undef LWS_HAVE_mbedtls_ssl_set_hs_authmode */
101 /* #undef LWS_HAVE_mbedtls_ssl_set_verify */
102 /* #undef LWS_HAVE_mbedtls_x509_crt_parse_file */
103 /* #undef LWS_HAVE_MBEDTLS_NET_SOCKETS */
104 /* #undef LWS_HAVE_MBEDTLS_AUTH_KEY_ID */
105 /* #undef LWS_HAVE_NEW_UV_VERSION_H */
106 #define LWS_HAVE_OPENSSL_ECDH_H
107 #define LWS_HAVE_OPENSSL_STACK
108 #define LWS_HAVE_PIPE2
109 #define LWS_HAVE_EVENTFD
110 #define LWS_HAVE_PTHREAD_H
111 #define LWS_HAVE_RSA_SET0_KEY
112 /* #undef LWS_HAVE_RSA_verify_pss_mgf1 */
113 #define LWS_HAVE_SSL_CTX_get0_certificate
114 /* #undef LWS_HAVE_SSL_CTX_load_verify_file */
115 /* #undef LWS_HAVE_SSL_CTX_load_verify_dir */
116 #define LWS_HAVE_SSL_CTX_set1_param
117 /* #undef LWS_HAVE_SSL_CTX_set_ciphersuites */
118 #define LWS_HAVE_SSL_EXTRA_CHAIN_CERTS
119 #define LWS_HAVE_SSL_get0_alpn_selected
120 /* #undef LWS_HAVE_SSL_CTX_EVP_PKEY_new_raw_private_key */
121 #define LWS_HAVE_SSL_set_alpn_protos
122 #define LWS_HAVE_SSL_SET_INFO_CALLBACK
123 #define LWS_HAVE_SSL_SESSION_set_time
124 /* #undef LWS_HAVE_SSL_SESSION_up_ref */
125 /* #undef LWS_HAVE__STAT32I64 */
126 #define LWS_HAVE_STDINT_H
127 /* #undef LWS_HAVE_SYS_CAPABILITY_H */
128 #define LWS_HAVE_TIMEGM
129 #define LWS_HAVE_TLS_CLIENT_METHOD
130 #define LWS_HAVE_TLSV1_2_CLIENT_METHOD
131 #define LWS_HAVE_SUSECONDS_T
132 /* #undef LWS_HAVE_UV_VERSION_H */
133 #define LWS_HAVE_VFORK
134 #define LWS_HAVE_X509_get_key_usage
135 #define LWS_HAVE_X509_VERIFY_PARAM_set1_host
136 #define LWS_LIBRARY_VERSION "4.3.0-OpenHarmony-v3.1.1-Release-1063-g7c0dfa64"
137 #define LWS_LOGGING_BITFIELD_CLEAR 0
138 #define LWS_LOGGING_BITFIELD_SET 0
139 #define LWS_LOG_TAG_LIFECYCLE
140 /* #undef LWS_MINGW_SUPPORT */
141 /* #undef LWS_NO_CLIENT */
142 #define LWS_NO_DAEMONIZE
143 #define LWS_OPENSSL_CLIENT_CERTS "../share"
144 #define LWS_OPENSSL_SUPPORT
145 /* #undef LWS_PLAT_OPTEE */
146 #define LWS_PLAT_UNIX
147 /* #undef LWS_PLAT_FREERTOS */
148 /* #undef LWS_ROLE_CGI */
149 /* #undef LWS_ROLE_DBUS */
150 #define LWS_ROLE_H1
151 #define LWS_ROLE_H2
152 #define LWS_ROLE_RAW
153 #define LWS_ROLE_RAW_FILE
154 /* #undef LWS_ROLE_RAW_PROXY */
155 #define LWS_ROLE_WS
156 /* #undef LWS_ROLE_MQTT */
157 /* #undef LWS_SHA1_USE_OPENSSL_NAME */
158 #define LWS_SSL_CLIENT_USE_OS_CA_CERTS
159 /* #undef LWS_SSL_SERVER_WITH_ECDH_CERT */
160 #define LWS_SUPPRESS_DEPRECATED_API_WARNINGS
161 /* #undef LWS_TLS_LOG_PLAINTEXT_RX */
162 /* #undef LWS_TLS_LOG_PLAINTEXT_TX */
163 /* #undef LWS_WITH_ABSTRACT */
164 /* #undef LWS_WITH_ACCESS_LOG */
165 /* #undef LWS_WITH_ACME */
166 /* #undef LWS_WITH_ALSA */
167 /* #undef LWS_WITH_SYS_ASYNC_DNS */
168 /* #undef LWS_WITH_BORINGSSL */
169 /* #undef LWS_WITH_CGI */
170 #define LWS_WITH_CONMON
171 /* #undef LWS_WITH_COSE */
172 #define LWS_WITH_CUSTOM_HEADERS
173 /* #undef LWS_WITH_DEPRECATED_LWS_DLL */
174 /* #undef LWS_WITH_DETAILED_LATENCY */
175 #define LWS_WITH_DIR
176 /* #undef LWS_WITH_DRIVERS */
177 /* #undef LWS_WITH_ESP32 */
178 /* #undef LWS_HAVE_EVBACKEND_LINUXAIO */
179 /* #undef LWS_HAVE_EVBACKEND_IOURING */
180 /* #undef LWS_WITH_EXTERNAL_POLL */
181 #define LWS_WITH_FILE_OPS
182 /* #undef LWS_WITH_FSMOUNT */
183 /* #undef LWS_WITH_FTS */
184 /* #undef LWS_WITH_GENCRYPTO */
185 /* #undef LWS_WITH_GENERIC_SESSIONS */
186 /* #undef LWS_WITH_GLIB */
187 /* #undef LWS_WITH_GTK */
188 #define LWS_WITH_HTTP2
189 #define LWS_WITH_HTTP_BASIC_AUTH
190 /* #undef LWS_WITH_HTTP_BROTLI */
191 /* #undef LWS_HTTP_HEADERS_ALL */
192 /* #undef LWS_WITH_HTTP_PROXY */
193 /* #undef LWS_WITH_HTTP_STREAM_COMPRESSION */
194 #define LWS_WITH_HTTP_UNCOMMON_HEADERS
195 /* #undef LWS_WITH_IPV6 */
196 /* #undef LWS_WITH_JOSE */
197 /* #undef LWS_WITH_CBOR */
198 #define LWS_WITH_CBOR_FLOAT
199 #define LWS_WITH_LEJP
200 /* #undef LWS_WITH_LIBEV */
201 /* #undef LWS_WITH_LIBEVENT */
202 /* #undef LWS_WITH_LIBUV */
203 /* #undef LWS_WITH_SDEVENT */
204 #define LWS_WITH_LWSAC
205 #define LWS_LOGS_TIMESTAMP
206 /* #undef LWS_WITH_MBEDTLS */
207 /* #undef LWS_WITH_MINIZ */
208 #define LWS_WITH_NETLINK
209 #define LWS_WITH_NETWORK
210 /* #undef LWS_WITH_NO_LOGS */
211 #define LWS_WITH_CACHE_NSCOOKIEJAR
212 #define LWS_WITH_CLIENT
213 #define LWS_WITHOUT_EXTENSIONS
214 #define LWS_WITH_SERVER
215 /* #undef LWS_WITH_SPAWN */
216 /* #undef LWS_WITH_PEER_LIMITS */
217 /* #undef LWS_WITH_PLUGINS */
218 /* #undef LWS_WITH_PLUGINS_BUILTIN */
219 /* #undef LWS_WITH_POLARSSL */
220 #define LWS_WITH_POLL
221 /* #undef LWS_WITH_RANGES */
222 /* #undef LWS_WITH_RFC6724 */
223 /* #undef LWS_WITH_SECURE_STREAMS */
224 /* #undef LWS_WITH_SECURE_STREAMS_CPP */
225 /* #undef LWS_WITH_SECURE_STREAMS_SYS_AUTH_API_AMAZON_COM */
226 /* #undef LWS_WITH_SECURE_STREAMS_PROXY_API */
227 /* #undef LWS_WITH_SECURE_STREAMS_STATIC_POLICY_ONLY */
228 /* #undef LWS_WITH_SECURE_STREAMS_AUTH_SIGV4 */
229 /* #undef LWS_WITH_SECURE_STREAMS_BUFFER_DUMP */
230 /* #undef LWS_WITH_SS_DIRECT_PROTOCOL_STR */
231 /* #undef LWS_WITH_SELFTESTS */
232 /* #undef LWS_WITH_SEQUENCER */
233 /* #undef LWS_WITH_SERVER_STATUS */
234 #define LWS_WITH_SYS_SMD
235 /* #undef LWS_WITH_SMTP */
236 /* #undef LWS_WITH_SOCKS5 */
237 /* #undef LWS_WITH_STATEFUL_URLDECODE */
238 /* #undef LWS_WITH_STATS */
239 /* #undef LWS_WITH_STRUCT_SQLITE3 */
240 /* #undef LWS_WITH_STRUCT_JSON */
241 /* #undef LWS_WITH_SUL_DEBUGGING */
242 /* #undef LWS_WITH_SQLITE3 */
243 /* #undef LWS_WITH_SYS_DHCP_CLIENT */
244 /* #undef LWS_WITH_SYS_FAULT_INJECTION */
245 /* #undef LWS_WITH_SYS_METRICS */
246 /* #undef LWS_WITH_SYS_NTPCLIENT */
247 #define LWS_WITH_SYS_STATE
248 /* #undef LWS_WITH_THREADPOOL */
249 #define LWS_WITH_TLS
250 /* #undef LWS_WITH_TLS_JIT_TRUST */
251 #define LWS_WITH_TLS_SESSIONS
252 #define LWS_WITH_UDP
253 /* #undef LWS_WITH_ULOOP */
254 #define LWS_WITH_UNIX_SOCK
255 /* #undef LWS_WITH_ZIP_FOPS */
256 /* #undef USE_OLD_CYASSL */
257 /* #undef USE_WOLFSSL */
258 /* #undef LWS_WITH_EVENT_LIBS */
259 #define LWS_WITH_EVLIB_PLUGINS
260 /* #undef LWS_WITH_LIBUV_INTERNAL */
261 /* #undef LWS_WITH_PLUGINS_API */
262 #define LWS_HAVE_RTA_PREF
263