mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
![]() This gets rid of all the platform-dependent #ifdef stuff and migrates it into the new lws-plat-xxx.c files. These are then included in a one-time test in libwebsockets.c according basically to Windows or not. The idea is from now on, all Windows-specific code should go in lws-plat-win.c, where any kind of Windows perversion like DWORD is fine. Any new functions going in there should be named lws_plat_... and be defined in all the lws-plat-xxx.c file (currently just win32 and unix platforms are supported). Signed-off-by: Andy Green <andy.green@linaro.org> |
||
---|---|---|
.. | ||
.gitignore | ||
base64-decode.c | ||
client-handshake.c | ||
client-parser.c | ||
client.c | ||
daemonize.c | ||
extension-deflate-frame.c | ||
extension-deflate-frame.h | ||
extension-deflate-stream.c | ||
extension-deflate-stream.h | ||
extension.c | ||
getifaddrs.c | ||
getifaddrs.h | ||
handshake.c | ||
lextable.h | ||
libwebsockets.c | ||
libwebsockets.h | ||
lws-plat-unix.c | ||
lws-plat-win.c | ||
minilex.c | ||
output.c | ||
parsers.c | ||
private-libwebsockets.h | ||
server-handshake.c | ||
server.c | ||
sha-1.c |