1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

api: add feature test macro LWS_FEATURE_PROTOCOLS_HAS_ID_FIELD

This commit is contained in:
Michael Haberler 2014-08-11 14:36:57 +02:00 committed by Andy Green
parent eabed8defe
commit a2d3bf1e4d

View file

@ -145,6 +145,9 @@ LWS_VISIBLE LWS_EXTERN void lwsl_hexdump(void *buf, size_t len);
#define LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_ARG
/* the struct libwebsocket_protocols has the id field present */
#define LWS_FEATURE_PROTOCOLS_HAS_ID_FIELD
enum libwebsocket_context_options {
LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT = 2,