1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green 52a6ab357e context info: add default_loglevel
Allow this kind of pattern for context creation info preparation

        struct lws_context_creation_info info;

        lws_context_info_defaults(&info, policy);
        info.default_loglevel = LLL_USER | LLL_ERR | LLL_WARN;
        lws_cmdline_option_handle_builtin(argc, argv, &info);

Calling lws_context_info_defaults() zeros down and prepares boilerplate in
the info struct, setting the default_loglevel asserts your application
default for the loglevel and then lws_cmdline_option_handle_builtin() will
set either that default loglevel, or override it from the commandline with
-d 1039 etc
2023-12-14 05:53:21 +00:00
..
core context info: add default_loglevel 2023-12-14 05:53:21 +00:00
core-net http: mounts: LWSMPRO_NO_MOUNT 2023-12-12 05:57:38 +00:00
cose coverity: 2021-12-1 uplevel fixes 2022-03-15 10:28:09 +00:00
drivers lws_display: SSD1675B 2022-04-10 06:56:12 +01:00
event-libs libuv: fix idle being stopped when there is still pending stuff 2023-11-23 09:45:12 +00:00
jose base64: improve sanity checking 2022-03-25 08:18:30 +00:00
misc License: Fix typo in MIT text in fsmount.c 2023-11-27 09:44:13 +00:00
plat windows: evade unused var warnings when logs disabled 2023-11-23 09:45:12 +00:00
roles http: mounts: LWSMPRO_NO_MOUNT 2023-12-12 05:57:38 +00:00
secure-streams http: mounts: LWSMPRO_NO_MOUNT 2023-12-12 05:57:38 +00:00
system coverity: reorder NULL check 2022-05-04 08:42:32 +01:00
tls cmake: ssl lib paths 2023-11-23 09:45:12 +00:00
CMakeLists.txt cmake: mbedtls: mbedtls_ssl_conf_alpn_protocols check 2023-11-02 09:55:50 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries