Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"en-US,en;q\u003d0.5", "gen_ut":1638113747, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"8cd84ce20ea9f31467156269cf0f4547", "oid":{ "oid": "44dd63a03dbea8dd22ed00824ae1450e9bffa4ae", "alias": [ "refs/heads/main"]},"blobname": "include/libwebsockets.h", "blob": "/*\n * libwebsockets - small server side websockets and web server implementation\n *\n * Copyright (C) 2010 - 2019 Andy Green \u003candy@warmcat.com\u003e\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \u0022Software\u0022), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \u0022AS IS\u0022, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\n/** @file */\n\n#ifndef LIBWEBSOCKET_H_3060898B846849FF9F88F5DB59B5950C\n#define LIBWEBSOCKET_H_3060898B846849FF9F88F5DB59B5950C\n\n#ifdef __cplusplus\n#include \u003ccstddef\u003e\n#include \u003ccstdarg\u003e\n\nextern \u0022C\u0022 {\n#else\n#include \u003cstdarg.h\u003e\n#endif\n\n#include \u0022lws_config.h\u0022\n\n#if defined(LWS_HAVE_SYS_TYPES_H) \u0026\u0026 !defined(LWS_PLAT_BAREMETAL)\n#include \u003csys/types.h\u003e\n#endif\n\n#include \u003cstddef.h\u003e\n#include \u003cstring.h\u003e\n#include \u003cstdlib.h\u003e\n\n\n#if defined(LWS_SUPPRESS_DEPRECATED_API_WARNINGS)\n#define OPENSSL_USE_DEPRECATED\n#endif\n\n/* place for one-shot opaque forward references */\n\ntypedef struct lws_context * lws_ctx_t;\nstruct lws_dsh;\n\n/*\n * CARE: everything using cmake defines needs to be below here\n */\n\n#define LWS_US_PER_SEC ((lws_usec_t)1000000)\n#define LWS_MS_PER_SEC ((lws_usec_t)1000)\n#define LWS_US_PER_MS ((lws_usec_t)1000)\n#define LWS_NS_PER_US ((lws_usec_t)1000)\n\n#define LWS_KI (1024)\n#define LWS_MI (LWS_KI * 1024)\n#define LWS_GI (LWS_MI * 1024)\n#define LWS_TI ((uint64_t)LWS_GI * 1024)\n#define LWS_PI ((uint64_t)LWS_TI * 1024)\n\n#define LWS_US_TO_MS(x) ((x + (LWS_US_PER_MS / 2)) / LWS_US_PER_MS)\n\n#define LWS_FOURCC(a, b, c, d) ((a \u003c\u003c 24) | (b \u003c\u003c 16) | (c \u003c\u003c 8) | d)\n\n#if defined(LWS_HAS_INTPTR_T)\n#include \u003cstdint.h\u003e\n#define lws_intptr_t intptr_t\n#else\ntypedef unsigned long long lws_intptr_t;\n#endif\n\n#if defined(WIN32) || defined(_WIN32)\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n\n#include \u003cwinsock2.h\u003e\n#include \u003cws2tcpip.h\u003e\n#include \u003cstddef.h\u003e\n#include \u003cbasetsd.h\u003e\n#include \u003cio.h\u003e\n#ifndef _WIN32_WCE\n#include \u003cfcntl.h\u003e\n#else\n#define _O_RDONLY\t0x0000\n#define O_RDONLY\t_O_RDONLY\n#endif\n\ntypedef int uid_t;\ntypedef int gid_t;\ntypedef unsigned short sa_family_t;\n#if !defined(LWS_HAVE_SUSECONDS_T)\ntypedef unsigned int useconds_t;\ntypedef int suseconds_t;\n#endif\n\n#define LWS_INLINE __inline\n#define LWS_VISIBLE\n#define LWS_WARN_UNUSED_RESULT\n#define LWS_WARN_DEPRECATED\n#define LWS_FORMAT(string_index)\n\n#if !defined(LWS_EXTERN) \u0026\u0026 defined(LWS_BUILDING_SHARED)\n#ifdef LWS_DLL\n#ifdef LWS_INTERNAL\n#define LWS_EXTERN extern __declspec(dllexport)\n#else\n#define LWS_EXTERN extern __declspec(dllimport)\n#endif\n#endif\n#endif\n\n#if !defined(LWS_INTERNAL) \u0026\u0026 !defined(LWS_EXTERN)\n#define LWS_EXTERN\n#define LWS_VISIBLE\n#endif\n\n#if !defined(LWS_EXTERN)\n#define LWS_EXTERN\n#endif\n\n#define LWS_INVALID_FILE INVALID_HANDLE_VALUE\n#define LWS_SOCK_INVALID (INVALID_SOCKET)\n#define LWS_O_RDONLY _O_RDONLY\n#define LWS_O_WRONLY _O_WRONLY\n#define LWS_O_CREAT _O_CREAT\n#define LWS_O_TRUNC _O_TRUNC\n\n#ifndef __func__\n#define __func__ __FUNCTION__\n#endif\n\n#else /* NOT WIN32 */\n#include \u003cunistd.h\u003e\n\n#if defined(LWS_HAVE_SYS_CAPABILITY_H) \u0026\u0026 defined(LWS_HAVE_LIBCAP)\n#include \u003csys/capability.h\u003e\n#endif\n\n#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__QNX__) || defined(__OpenBSD__)\n#include \u003csys/socket.h\u003e\n#include \u003cnetinet/in.h\u003e\n#endif\n\n#define LWS_INLINE inline\n#define LWS_O_RDONLY O_RDONLY\n#define LWS_O_WRONLY O_WRONLY\n#define LWS_O_CREAT O_CREAT\n#define LWS_O_TRUNC O_TRUNC\n\n#if !defined(LWS_PLAT_OPTEE) \u0026\u0026 !defined(OPTEE_TA) \u0026\u0026 !defined(LWS_PLAT_FREERTOS) \u0026\u0026 !defined(LWS_PLAT_BAREMETAL)\n#include \u003cpoll.h\u003e\n#include \u003cnetdb.h\u003e\n#define LWS_INVALID_FILE -1\n#define LWS_SOCK_INVALID (-1)\n#else\n#define getdtablesize() (30)\n#if defined(LWS_PLAT_FREERTOS)\n#define LWS_INVALID_FILE NULL\n#define LWS_SOCK_INVALID (-1)\n#else\n#define LWS_INVALID_FILE NULL\n#define LWS_SOCK_INVALID (-1)\n#endif\n#endif\n\n#if defined(__FreeBSD__)\n#include \u003csys/signal.h\u003e\n#endif\n#if defined(__GNUC__)\n\n/* warn_unused_result attribute only supported by GCC 3.4 or later */\n#if __GNUC__ \u003e\u003d 4 || (__GNUC__ \u003d\u003d 3 \u0026\u0026 __GNUC_MINOR__ \u003e\u003d 4)\n#define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result))\n#else\n#define LWS_WARN_UNUSED_RESULT\n#endif\n\n#if defined(LWS_BUILDING_SHARED)\n/* this is only set when we're building lws itself shared */\n#define LWS_VISIBLE __attribute__((visibility(\u0022default\u0022)))\n#define LWS_EXTERN extern\n\n#else /* not shared */\n#if defined(WIN32) || defined(_WIN32) || defined(__MINGW32__)\n#define LWS_VISIBLE\n#define LWS_EXTERN extern\n#else\n/*\n * If we explicitly say hidden here, symbols exist as T but\n * cannot be imported at link-time.\n */\n#define LWS_VISIBLE\n#define LWS_EXTERN\n#endif\n\n#endif /* not shared */\n\n#define LWS_WARN_DEPRECATED __attribute__ ((deprecated))\n#undef printf\n#define LWS_FORMAT(string_index) __attribute__ ((format(printf, string_index, string_index+1)))\n#else /* not GNUC */\n\n#define LWS_VISIBLE\n#define LWS_WARN_UNUSED_RESULT\n#define LWS_WARN_DEPRECATED\n#define LWS_FORMAT(string_index)\n#if !defined(LWS_EXTERN)\n#define LWS_EXTERN extern\n#endif\n#endif\n\n\n#if defined(__ANDROID__)\n#include \u003cnetinet/in.h\u003e\n#include \u003cunistd.h\u003e\n#endif\n#endif\n\n#ifdef _WIN32\n#define random rand\n#else\n#if !defined(LWS_PLAT_OPTEE)\n#include \u003csys/time.h\u003e\n#include \u003cunistd.h\u003e\n#endif\n#endif\n\n#if defined(LWS_WITH_LIBUV_INTERNAL)\n#include \u003cuv.h\u003e\n\n#ifdef LWS_HAVE_UV_VERSION_H\n#include \u003cuv-version.h\u003e\n#endif\n\n#ifdef LWS_HAVE_NEW_UV_VERSION_H\n#include \u003cuv/version.h\u003e\n#endif\n#endif\n\n#if defined(LWS_WITH_TLS)\n\n#ifdef USE_WOLFSSL\n#ifdef USE_OLD_CYASSL\n#ifdef _WIN32\n/*\n * Include user-controlled settings for windows from\n * \u003cwolfssl-root\u003e/IDE/WIN/user_settings.h\n */\n#include \u003cIDE/WIN/user_settings.h\u003e\n#include \u003ccyassl/ctaocrypt/settings.h\u003e\n#else\n#include \u003ccyassl/options.h\u003e\n#endif\n#include \u003ccyassl/openssl/ssl.h\u003e\n#include \u003ccyassl/error-ssl.h\u003e\n\n#else\n#ifdef _WIN32\n/*\n * Include user-controlled settings for windows from\n * \u003cwolfssl-root\u003e/IDE/WIN/user_settings.h\n */\n#include \u003cIDE/WIN/user_settings.h\u003e\n#include \u003cwolfssl/wolfcrypt/settings.h\u003e\n#else\n#include \u003cwolfssl/options.h\u003e\n#endif\n#include \u003cwolfssl/openssl/ssl.h\u003e\n#include \u003cwolfssl/error-ssl.h\u003e\n#endif /* not USE_OLD_CYASSL */\n#else\n#if defined(LWS_WITH_MBEDTLS)\n#if defined(LWS_PLAT_FREERTOS)\n/* this filepath is passed to us but without quotes or \u003c\u003e */\n#if !defined(LWS_AMAZON_RTOS)\n/* AMAZON RTOS has its own setting via MTK_MBEDTLS_CONFIG_FILE */\n#undef MBEDTLS_CONFIG_FILE\n#define MBEDTLS_CONFIG_FILE \u003cmbedtls/esp_config.h\u003e\n#endif\n#endif\n#if defined(LWS_WITH_TLS)\n#include \u003cmbedtls/ssl.h\u003e\n#include \u003cmbedtls/entropy.h\u003e\n#include \u003cmbedtls/ctr_drbg.h\u003e\n\n#if !defined(MBEDTLS_PRIVATE)\n#define MBEDTLS_PRIVATE(_q) _q\n#endif\n\n#endif\n#else\n#include \u003copenssl/ssl.h\u003e\n#if !defined(LWS_WITH_MBEDTLS)\n#include \u003copenssl/err.h\u003e\n#endif\n#endif\n#endif /* not USE_WOLFSSL */\n#endif\n\n/*\n * Helpers for pthread mutex in user code... if lws is built for\n * multiple service threads, these resolve to pthread mutex\n * operations. In the case LWS_MAX_SMP is 1 (the default), they\n * are all NOPs and no pthread type or api is referenced.\n */\n\n#if LWS_MAX_SMP \u003e 1\n\n#include \u003cpthread.h\u003e\n\n#define lws_pthread_mutex(name) pthread_mutex_t name;\n\nstatic LWS_INLINE void\nlws_pthread_mutex_init(pthread_mutex_t *lock)\n{\n\tpthread_mutex_init(lock, NULL);\n}\n\nstatic LWS_INLINE void\nlws_pthread_mutex_destroy(pthread_mutex_t *lock)\n{\n\tpthread_mutex_destroy(lock);\n}\n\nstatic LWS_INLINE void\nlws_pthread_mutex_lock(pthread_mutex_t *lock)\n{\n\tpthread_mutex_lock(lock);\n}\n\nstatic LWS_INLINE void\nlws_pthread_mutex_unlock(pthread_mutex_t *lock)\n{\n\tpthread_mutex_unlock(lock);\n}\n\n#else\n#define lws_pthread_mutex(name)\n#define lws_pthread_mutex_init(_a)\n#define lws_pthread_mutex_destroy(_a)\n#define lws_pthread_mutex_lock(_a)\n#define lws_pthread_mutex_unlock(_a)\n#endif\n\n\n#define CONTEXT_PORT_NO_LISTEN -1\n#define CONTEXT_PORT_NO_LISTEN_SERVER -2\n\n#include \u003clibwebsockets/lws-logs.h\u003e\n\n\n#include \u003cstddef.h\u003e\n\n#ifndef lws_container_of\n#define lws_container_of(P,T,M)\t((T *)((char *)(P) - offsetof(T, M)))\n#endif\n#define LWS_ALIGN_TO(x, bou) x +\u003d ((bou) - ((x) % (bou))) % (bou)\n\nstruct lws;\n\n/* api change list for user code to test against */\n\n#define LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_ARG\n\n/* the struct lws_protocols has the id field present */\n#define LWS_FEATURE_PROTOCOLS_HAS_ID_FIELD\n\n/* you can call lws_get_peer_write_allowance */\n#define LWS_FEATURE_PROTOCOLS_HAS_PEER_WRITE_ALLOWANCE\n\n/* extra parameter introduced in 917f43ab821 */\n#define LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_LEN\n\n/* File operations stuff exists */\n#define LWS_FEATURE_FOPS\n\n\n#if defined(_WIN32)\n#if !defined(LWS_WIN32_HANDLE_TYPES)\ntypedef SOCKET lws_sockfd_type;\n#if defined(__MINGW32__)\ntypedef int lws_filefd_type;\n#else\ntypedef HANDLE lws_filefd_type;\n#endif\n#endif\n\n\n#define lws_pollfd pollfd\n#define LWS_POLLHUP\t(POLLHUP)\n#define LWS_POLLIN\t(POLLRDNORM | POLLRDBAND)\n#define LWS_POLLOUT\t(POLLWRNORM)\n\n#else\n\n\n#if defined(LWS_PLAT_FREERTOS)\n#include \u003clibwebsockets/lws-freertos.h\u003e\n#else\ntypedef int lws_sockfd_type;\ntypedef int lws_filefd_type;\n#endif\n\n#if defined(LWS_PLAT_OPTEE)\n#include \u003ctime.h\u003e\nstruct timeval {\n\ttime_t \ttv_sec;\n\tunsigned int tv_usec;\n};\n#if defined(LWS_WITH_NETWORK)\n// #include \u003cpoll.h\u003e\n#define lws_pollfd pollfd\n\nstruct timezone;\n\nint gettimeofday(struct timeval *tv, struct timezone *tz);\n\n /* Internet address. */\n struct in_addr {\n uint32_t s_addr; /* address in network byte order */\n };\n\ntypedef unsigned short sa_family_t;\ntypedef unsigned short in_port_t;\ntypedef uint32_t socklen_t;\n\n#include \u003clibwebsockets/lws-optee.h\u003e\n\n#if !defined(TEE_SE_READER_NAME_MAX)\n struct addrinfo {\n int ai_flags;\n int ai_family;\n int ai_socktype;\n int ai_protocol;\n socklen_t ai_addrlen;\n struct sockaddr *ai_addr;\n char *ai_canonname;\n struct addrinfo *ai_next;\n };\n#endif\n\nssize_t recv(int sockfd, void *buf, size_t len, int flags);\nssize_t send(int sockfd, const void *buf, size_t len, int flags);\nssize_t read(int fd, void *buf, size_t count);\nint getsockopt(int sockfd, int level, int optname,\n void *optval, socklen_t *optlen);\n int setsockopt(int sockfd, int level, int optname,\n const void *optval, socklen_t optlen);\nint connect(int sockfd, const struct sockaddr *addr,\n socklen_t addrlen);\n\nextern int errno;\n\nuint16_t ntohs(uint16_t netshort);\nuint16_t htons(uint16_t hostshort);\n\nint bind(int sockfd, const struct sockaddr *addr,\n socklen_t addrlen);\n\n\n#define MSG_NOSIGNAL 0x4000\n#define\tEAGAIN\t\t11\n#define EINTR\t\t4\n#define EWOULDBLOCK\tEAGAIN\n#define\tEADDRINUSE\t98\t\n#define INADDR_ANY\t0\n#define AF_INET\t\t2\n#define SHUT_WR 1\n#define AF_UNSPEC\t0\n#define PF_UNSPEC\t0\n#define SOCK_STREAM\t1\n#define SOCK_DGRAM\t2\n# define AI_PASSIVE\t0x0001\n#define IPPROTO_UDP\t17\n#define SOL_SOCKET\t1\n#define SO_SNDBUF\t7\n#define\tEISCONN\t\t106\t\n#define\tEALREADY\t114\n#define\tEINPROGRESS\t115\nint shutdown(int sockfd, int how);\nint close(int fd);\nint atoi(const char *nptr);\nlong long atoll(const char *nptr);\n\nint socket(int domain, int type, int protocol);\n int getaddrinfo(const char *node, const char *service,\n const struct addrinfo *hints,\n struct addrinfo **res);\n\n void freeaddrinfo(struct addrinfo *res);\n\n#if !defined(TEE_SE_READER_NAME_MAX)\nstruct lws_pollfd\n{\n int fd; /* File descriptor to poll. */\n short int events; /* Types of events poller cares about. */\n short int revents; /* Types of events that actually occurred. */\n};\n#endif\n\nint poll(struct pollfd *fds, int nfds, int timeout);\n\n#define LWS_POLLHUP (0x18)\n#define LWS_POLLIN (1)\n#define LWS_POLLOUT (4)\n#else\nstruct lws_pollfd;\nstruct sockaddr_in;\n#endif\n#else\n#define lws_pollfd pollfd\n#define LWS_POLLHUP (POLLHUP | POLLERR)\n#define LWS_POLLIN (POLLIN)\n#define LWS_POLLOUT (POLLOUT)\n#endif\n#endif\n\n\n#if (defined(WIN32) || defined(_WIN32)) \u0026\u0026 !defined(__MINGW32__)\n/* ... */\n#define ssize_t SSIZE_T\n#endif\n\n#if defined(WIN32) \u0026\u0026 defined(LWS_HAVE__STAT32I64)\n#include \u003csys/types.h\u003e\n#include \u003csys/stat.h\u003e\n#endif\n\n#if defined(LWS_HAVE_STDINT_H)\n#include \u003cstdint.h\u003e\n#else\n#if defined(WIN32) || defined(_WIN32)\n/* !!! \u003e:-[ */\ntypedef __int64 int64_t;\ntypedef unsigned __int64 uint64_t;\ntypedef __int32 int32_t;\ntypedef unsigned __int32 uint32_t;\ntypedef __int16 int16_t;\ntypedef unsigned __int16 uint16_t;\ntypedef unsigned __int8 uint8_t;\n#else\ntypedef unsigned int uint32_t;\ntypedef unsigned short uint16_t;\ntypedef unsigned char uint8_t;\n#endif\n#endif\n\ntypedef int64_t lws_usec_t;\ntypedef unsigned long long lws_filepos_t;\ntypedef long long lws_fileofs_t;\ntypedef uint32_t lws_fop_flags_t;\n\n#define lws_concat_temp(_t, _l) (_t + sizeof(_t) - _l)\n#define lws_concat_used(_t, _l) (sizeof(_t) - _l)\n\n/** struct lws_pollargs - argument structure for all external poll related calls\n * passed in via 'in' */\nstruct lws_pollargs {\n\tlws_sockfd_type fd;\t/**\u003c applicable socket descriptor */\n\tint events;\t\t/**\u003c the new event mask */\n\tint prev_events;\t/**\u003c the previous event mask */\n};\n\n#if !defined(LWS_SIZEOFPTR)\n#define LWS_SIZEOFPTR ((int)sizeof (void *))\n#endif\n\n#if defined(__x86_64__)\n#define _LWS_PAD_SIZE 16\t/* Intel recommended for best performance */\n#else\n#define _LWS_PAD_SIZE LWS_SIZEOFPTR /* Size of a pointer on the target arch */\n#endif\n#define _LWS_PAD(n) (((n) % _LWS_PAD_SIZE) ? \u005c\n\t\t((n) + (_LWS_PAD_SIZE - ((n) % _LWS_PAD_SIZE))) : (n))\n/* last 2 is for lws-meta */\n#define LWS_PRE _LWS_PAD(4 + 10 + 2)\n/* used prior to 1.7 and retained for backward compatibility */\n#define LWS_SEND_BUFFER_PRE_PADDING LWS_PRE\n#define LWS_SEND_BUFFER_POST_PADDING 0\n\n\n\nstruct lws_extension; /* needed even with ws exts disabled for create context */\nstruct lws_token_limits;\nstruct lws_protocols;\nstruct lws_context;\nstruct lws_tokens;\nstruct lws_vhost;\nstruct lws;\n\n#include \u003clibwebsockets/lws-dll2.h\u003e\n#include \u003clibwebsockets/lws-map.h\u003e\n\n#include \u003clibwebsockets/lws-fault-injection.h\u003e\n#include \u003clibwebsockets/lws-timeout-timer.h\u003e\n#include \u003clibwebsockets/lws-cache-ttl.h\u003e\n#if defined(LWS_WITH_SYS_SMD)\n#include \u003clibwebsockets/lws-smd.h\u003e\n#endif\n#include \u003clibwebsockets/lws-state.h\u003e\n#include \u003clibwebsockets/lws-retry.h\u003e\n#if defined(LWS_WITH_NETWORK)\n#include \u003clibwebsockets/lws-adopt.h\u003e\n#include \u003clibwebsockets/lws-network-helper.h\u003e\n#include \u003clibwebsockets/lws-metrics.h\u003e\n#endif\n\n#include \u003clibwebsockets/lws-system.h\u003e\n#if defined(LWS_WITH_NETWORK)\n#include \u003clibwebsockets/lws-ws-close.h\u003e\n#include \u003clibwebsockets/lws-callbacks.h\u003e\n#include \u003clibwebsockets/lws-ws-state.h\u003e\n#include \u003clibwebsockets/lws-ws-ext.h\u003e\n#include \u003clibwebsockets/lws-protocols-plugins.h\u003e\n#endif\n#include \u003clibwebsockets/lws-context-vhost.h\u003e\n\n#if defined(LWS_WITH_NETWORK)\n#if defined(LWS_WITH_CONMON)\n#include \u003clibwebsockets/lws-conmon.h\u003e\n#endif\n\n#if defined(LWS_ROLE_MQTT)\n#include \u003clibwebsockets/lws-mqtt.h\u003e\n#endif\n#include \u003clibwebsockets/lws-client.h\u003e\n#include \u003clibwebsockets/lws-http.h\u003e\n#include \u003clibwebsockets/lws-spa.h\u003e\n#endif\n#include \u003clibwebsockets/lws-purify.h\u003e\n#include \u003clibwebsockets/lws-misc.h\u003e\n#include \u003clibwebsockets/lws-dsh.h\u003e\n#if defined(LWS_WITH_NETWORK)\n#include \u003clibwebsockets/lws-service.h\u003e\n#include \u003clibwebsockets/lws-write.h\u003e\n#include \u003clibwebsockets/lws-writeable.h\u003e\n#endif\n#include \u003clibwebsockets/lws-ring.h\u003e\n#include \u003clibwebsockets/lws-sha1-base64.h\u003e\n#include \u003clibwebsockets/lws-x509.h\u003e\n#if defined(LWS_WITH_NETWORK)\n#include \u003clibwebsockets/lws-cgi.h\u003e\n#endif\n#if defined(LWS_WITH_FILE_OPS)\n#include \u003clibwebsockets/lws-vfs.h\u003e\n#endif\n#include \u003clibwebsockets/lws-gencrypto.h\u003e\n\n#include \u003clibwebsockets/lws-lejp.h\u003e\n#include \u003clibwebsockets/lws-lecp.h\u003e\n#include \u003clibwebsockets/lws-cose.h\u003e\n#include \u003clibwebsockets/lws-struct.h\u003e\n#include \u003clibwebsockets/lws-threadpool.h\u003e\n#include \u003clibwebsockets/lws-tokenize.h\u003e\n#include \u003clibwebsockets/lws-lwsac.h\u003e\n#include \u003clibwebsockets/lws-fts.h\u003e\n#include \u003clibwebsockets/lws-diskcache.h\u003e\n#include \u003clibwebsockets/lws-secure-streams.h\u003e\n#include \u003clibwebsockets/lws-secure-streams-serialization.h\u003e\n#include \u003clibwebsockets/lws-secure-streams-policy.h\u003e\n#include \u003clibwebsockets/lws-secure-streams-client.h\u003e\n#include \u003clibwebsockets/lws-secure-streams-transport-proxy.h\u003e\n#include \u003clibwebsockets/lws-jrpc.h\u003e\n\n#include \u003clibwebsockets/lws-async-dns.h\u003e\n\n#if defined(LWS_WITH_TLS)\n\n#include \u003clibwebsockets/lws-tls-sessions.h\u003e\n\n#if defined(LWS_WITH_MBEDTLS)\n#include \u003cmbedtls/md5.h\u003e\n#include \u003cmbedtls/sha1.h\u003e\n#include \u003cmbedtls/sha256.h\u003e\n#include \u003cmbedtls/sha512.h\u003e\n#endif\n\n#include \u003clibwebsockets/lws-genhash.h\u003e\n#include \u003clibwebsockets/lws-genrsa.h\u003e\n#include \u003clibwebsockets/lws-genaes.h\u003e\n#include \u003clibwebsockets/lws-genec.h\u003e\n\n#include \u003clibwebsockets/lws-jwk.h\u003e\n#include \u003clibwebsockets/lws-jose.h\u003e\n#include \u003clibwebsockets/lws-jws.h\u003e\n#include \u003clibwebsockets/lws-jwe.h\u003e\n\n#endif\n\n#if defined(LWS_WITH_NETWORK)\n#include \u003clibwebsockets/lws-eventlib-exports.h\u003e\n#endif\n#include \u003clibwebsockets/lws-i2c.h\u003e\n#include \u003clibwebsockets/lws-spi.h\u003e\n#include \u003clibwebsockets/lws-gpio.h\u003e\n#include \u003clibwebsockets/lws-bb-i2c.h\u003e\n#include \u003clibwebsockets/lws-bb-spi.h\u003e\n#include \u003clibwebsockets/lws-button.h\u003e\n#include \u003clibwebsockets/lws-led.h\u003e\n#include \u003clibwebsockets/lws-pwm.h\u003e\n#include \u003clibwebsockets/lws-display.h\u003e\n#include \u003clibwebsockets/lws-ssd1306-i2c.h\u003e\n#include \u003clibwebsockets/lws-ili9341-spi.h\u003e\n#include \u003clibwebsockets/lws-settings.h\u003e\n#if defined(LWS_WITH_NETWORK)\n#include \u003clibwebsockets/lws-netdev.h\u003e\n#endif\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","s":{"c":1637672015,"u": 1040}} ],"g": 1611,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}