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 157acfc906 windows: clean type warnings
There are some minor public api type improvements rather than cast everywhere
inside lws and user code to work around them... these changed from int to
size_t

 - lws_buflist_use_segment() return
 - lws_tokenize_t .len and .token_len
 - lws_tokenize_cstr() length
 - lws_get_peer_simple() namelen
 - lws_get_peer_simple_fd() namelen, int fd -> lws_sockfd_type fd
 - lws_write_numeric_address() len
 - lws_sa46_write_numeric_address() len

These changes are typically a NOP for user code
2020-01-11 14:04:50 +00:00
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core windows: clean type warnings 2020-01-11 14:04:50 +00:00
core-net windows: clean type warnings 2020-01-11 14:04:50 +00:00
event-libs cleaning 2020-01-05 22:17:58 +00:00
jose lws_get_random: change length to size_t for coverity 2020-01-11 07:58:37 +00:00
misc windows: clean type warnings 2020-01-11 14:04:50 +00:00
plat windows: clean type warnings 2020-01-11 14:04:50 +00:00
roles windows: clean type warnings 2020-01-11 14:04:50 +00:00
system cleaning 2020-01-05 22:17:58 +00:00
tls windows: clean type warnings 2020-01-11 14:04: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