1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/test-server
Andy Green 158e804cb7 refactor out WIN32 tests from code
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>
2014-04-02 14:25:10 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh introduce uri args 2013-11-13 07:45:17 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
test-client.c Move #define for random() into the test applications where needed 2014-03-29 08:05:07 +01:00
test-echo.c Remove dummy headers for Windows 2014-03-29 07:43:38 +01:00
test-fraggle.c refactor out WIN32 tests from code 2014-04-02 14:25:10 +08:00
test-ping.c Remove dummy headers for Windows 2014-03-29 07:43:38 +01:00
test-server.c Use Sleep() instead of usleep() on Windows 2014-03-29 07:52:01 +01:00
test.html ie10 lws url workaround 2013-12-10 21:20:03 +08:00