lws_plat_fd add wsi to fops and helpers
authorAndy Green <andy.green@linaro.org>
Fri, 11 Dec 2015 05:12:58 +0000 (13:12 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 13 Dec 2015 22:43:35 +0000 (06:43 +0800)
commit891628b33c3bf2e4dc113edc51868a867a47b7eb
tree492361b799e001a8b6f9b3810e2d623191c995c7
parentd2ac22c27abf34d3cccb3a6fe1e2c6d92123f436
lws_plat_fd add wsi to fops and helpers

Having the lws_context alone doesn't let us track state or act different
by wsi, which is the most interesting usecase.  Eg not only simply track
file position / decompression state per wsi but also act differently
according to wsi authentication state / associated cookies.

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c
lib/libwebsockets.h
lib/lws-plat-mbed3.c
lib/lws-plat-unix.c
lib/lws-plat-win.c
lib/output.c
lib/server.c
test-server/test-server-http.c
test-server/test-server.c