1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/system
Andy Green c1a3defb88 lws_system generic blobs
Remove the auth lws_system stuff and redo it using generic blobs
with separate namespaces.  Support pointing to already-in-memory
blobs without using heap as well as multi-fragment appened blobs
eg, parsed out of JSON chunk by chunk and chained in heap.

Support auth the new way, along with client cert + key in DER
namespaces.
2019-12-08 14:28:43 +00:00
..
async-dns async dns: format string for pointer arithmetic 2019-11-28 05:17:23 +00:00
dhcpclient lws_system: dhcpclient 2019-10-12 12:41:14 +01:00
ntpclient lws_system generic blobs 2019-12-08 14:28:43 +00:00
README.md lws_state and system state 2019-09-22 09:35:07 -07:00
system.c lws_system generic blobs 2019-12-08 14:28:43 +00:00

LWS System Helpers

Lws now has a little collection of helper utilities for common network-based functions necessary for normal device operation, eg, async DNS, ntpclient (necessary for tls validation), and DHCP client.

Conventions

If any system helper is enabled for build, lws creates an additional vhost "system" at Context Creation time. Wsi that are created for the system features are bound to this. In the context object, this is available as .vhost_system.