Skip to content

Commit 7c2e8d7

Browse files
committed
Merge pull request #199 from xiaofeng11/v3
update libwebsockets
2 parents f482349 + b254bee commit 7c2e8d7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+10095
-4126
lines changed

websockets/include/android/libwebsockets.h

+1,006-392
Large diffs are not rendered by default.
+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
/* #undef USE_WOLFSSL */
12+
13+
/* Also define to 1 (in addition to USE_WOLFSSL) when using the
14+
(older) CyaSSL library */
15+
/* #undef USE_OLD_CYASSL */
16+
17+
/* The Libwebsocket version */
18+
#define LWS_LIBRARY_VERSION "1.6.0"
19+
20+
#define LWS_LIBRARY_VERSION_MAJOR 1
21+
#define LWS_LIBRARY_VERSION_MINOR 6
22+
#define LWS_LIBRARY_VERSION_PATCH 0
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+
#define LWS_BUILD_HASH "6241f1f"
28+
29+
/* Build with OpenSSL support */
30+
/* #undef LWS_OPENSSL_SUPPORT */
31+
32+
/* The client should load and trust CA root certs it finds in the OS */
33+
#define LWS_SSL_CLIENT_USE_OS_CA_CERTS
34+
35+
/* Sets the path where the client certs should be installed. */
36+
#define LWS_OPENSSL_CLIENT_CERTS "../share"
37+
38+
/* Turn off websocket extensions */
39+
/* #undef LWS_NO_EXTENSIONS */
40+
41+
/* Enable libev io loop */
42+
/* #undef LWS_USE_LIBEV */
43+
44+
/* Build with support for ipv6 */
45+
/* #undef LWS_USE_IPV6 */
46+
47+
/* Build with support for HTTP2 */
48+
/* #undef LWS_USE_HTTP2 */
49+
50+
/* Turn on latency measuring code */
51+
/* #undef LWS_LATENCY */
52+
53+
/* Don't build the daemonizeation api */
54+
#define LWS_NO_DAEMONIZE
55+
56+
/* Build without server support */
57+
#define LWS_NO_SERVER
58+
59+
/* Build without client support */
60+
/* #undef LWS_NO_CLIENT */
61+
62+
/* If we should compile with MinGW support */
63+
/* #undef LWS_MINGW_SUPPORT */
64+
65+
/* Use the BSD getifaddrs that comes with libwebsocket, for uclibc support */
66+
#define LWS_BUILTIN_GETIFADDRS
67+
68+
/* use SHA1() not internal libwebsockets_SHA1 */
69+
/* #undef LWS_SHA1_USE_OPENSSL_NAME */
70+
71+
/* SSL server using ECDH certificate */
72+
/* #undef LWS_SSL_SERVER_WITH_ECDH_CERT */
73+
74+

0 commit comments

Comments
 (0)