2015-06-24 17:48:52 +02:00
|
|
|
/* lws_config.h Generated from lws_config.h.in */
|
2013-02-06 15:25:26 +09:00
|
|
|
|
2015-04-22 10:52:13 -07:00
|
|
|
#ifndef NDEBUG
|
|
|
|
#ifndef _DEBUG
|
|
|
|
#define _DEBUG
|
|
|
|
#endif
|
2013-02-22 09:28:13 +08:00
|
|
|
#endif
|
|
|
|
|
2015-08-09 22:56:32 +02:00
|
|
|
/* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL.
|
2013-02-06 15:26:58 +09:00
|
|
|
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
|
2015-08-08 18:54:49 +02:00
|
|
|
#cmakedefine USE_WOLFSSL
|
2013-02-06 15:25:26 +09:00
|
|
|
|
2015-08-09 22:56:32 +02:00
|
|
|
/* Also define to 1 (in addition to USE_WOLFSSL) when using the
|
|
|
|
(older) CyaSSL library */
|
|
|
|
#cmakedefine USE_OLD_CYASSL
|
|
|
|
|
2013-02-06 15:26:58 +09:00
|
|
|
/* The Libwebsocket version */
|
|
|
|
#cmakedefine LWS_LIBRARY_VERSION "${LWS_LIBRARY_VERSION}"
|
|
|
|
|
2015-12-14 17:25:29 +00:00
|
|
|
#define LWS_LIBRARY_VERSION_MAJOR ${LWS_LIBRARY_VERSION_MAJOR}
|
|
|
|
#define LWS_LIBRARY_VERSION_MINOR ${LWS_LIBRARY_VERSION_MINOR}
|
|
|
|
#define LWS_LIBRARY_VERSION_PATCH ${LWS_LIBRARY_VERSION_PATCH}
|
|
|
|
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */
|
2015-12-19 01:26:53 +00:00
|
|
|
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH
|
2015-12-14 17:25:29 +00:00
|
|
|
|
2013-02-06 15:26:58 +09:00
|
|
|
/* The current git commit hash that we're building from */
|
|
|
|
#cmakedefine LWS_BUILD_HASH "${LWS_BUILD_HASH}"
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
/* Build with OpenSSL support */
|
2013-02-06 15:26:58 +09:00
|
|
|
#cmakedefine LWS_OPENSSL_SUPPORT
|
|
|
|
|
2014-03-15 10:39:29 +08:00
|
|
|
/* The client should load and trust CA root certs it finds in the OS */
|
|
|
|
#cmakedefine LWS_SSL_CLIENT_USE_OS_CA_CERTS
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
/* Sets the path where the client certs should be installed. */
|
|
|
|
#cmakedefine LWS_OPENSSL_CLIENT_CERTS "${LWS_OPENSSL_CLIENT_CERTS}"
|
|
|
|
|
|
|
|
/* Turn off websocket extensions */
|
|
|
|
#cmakedefine LWS_NO_EXTENSIONS
|
|
|
|
|
2014-03-23 13:25:07 +08:00
|
|
|
/* Enable libev io loop */
|
|
|
|
#cmakedefine LWS_USE_LIBEV
|
|
|
|
|
2016-02-01 08:40:35 +08:00
|
|
|
/* Enable libuv io loop */
|
|
|
|
#cmakedefine LWS_USE_LIBUV
|
|
|
|
|
2014-03-24 16:09:25 +08:00
|
|
|
/* Build with support for ipv6 */
|
2014-03-24 16:09:25 +08:00
|
|
|
#cmakedefine LWS_USE_IPV6
|
2014-03-24 16:09:25 +08:00
|
|
|
|
2014-04-03 14:33:48 +08:00
|
|
|
/* Build with support for HTTP2 */
|
|
|
|
#cmakedefine LWS_USE_HTTP2
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
/* Turn on latency measuring code */
|
|
|
|
#cmakedefine LWS_LATENCY
|
|
|
|
|
|
|
|
/* Don't build the daemonizeation api */
|
|
|
|
#cmakedefine LWS_NO_DAEMONIZE
|
|
|
|
|
2013-02-06 15:29:59 +09:00
|
|
|
/* Build without server support */
|
|
|
|
#cmakedefine LWS_NO_SERVER
|
|
|
|
|
|
|
|
/* Build without client support */
|
|
|
|
#cmakedefine LWS_NO_CLIENT
|
|
|
|
|
2013-02-06 15:27:27 +09:00
|
|
|
/* If we should compile with MinGW support */
|
|
|
|
#cmakedefine LWS_MINGW_SUPPORT
|
|
|
|
|
|
|
|
/* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
|
|
|
|
#cmakedefine LWS_BUILTIN_GETIFADDRS
|
|
|
|
|
2015-10-15 11:20:40 +08:00
|
|
|
/* use SHA1() not internal libwebsockets_SHA1 */
|
|
|
|
#cmakedefine LWS_SHA1_USE_OPENSSL_NAME
|
2015-10-20 13:10:33 +03:00
|
|
|
|
2016-01-15 16:21:51 +08:00
|
|
|
/* SSL server using ECDH certificate */
|
|
|
|
#cmakedefine LWS_SSL_SERVER_WITH_ECDH_CERT
|
|
|
|
|
2016-01-19 03:34:24 +08:00
|
|
|
/* Maximum supported service threads */
|
|
|
|
#define LWS_MAX_SMP ${LWS_MAX_SMP}
|
|
|
|
|
2015-10-20 13:10:33 +03:00
|
|
|
${LWS_SIZEOFPTR_CODE}
|