public api remove context from user callback API BREAK
authorAndy Green <andy.green@linaro.org>
Wed, 16 Dec 2015 23:54:44 +0000 (07:54 +0800)
committerAndy Green <andy.green@linaro.org>
Wed, 16 Dec 2015 23:54:44 +0000 (07:54 +0800)
commit00c6d1579c7507ab744075c61ac9babb9d9b8618
tree451c2cfef12c43e7bcdb222834a3984c35255e57
parent375a193ff43b330380ea69072955237ece6e5481
public api remove context from user callback API BREAK

Since struct lws (wsi) now has his own context pointer,
we were able to remove the need for passing context
almost everywhere in the apis.

In turn, that means there's no real use for context being
passed to every callback; in the rare cases context is
needed user code can get it with lws_get_ctx(wsi)

Signed-off-by: Andy Green <andy.green@linaro.org>
25 files changed:
changelog
lib/client-parser.c
lib/client.c
lib/context.c
lib/handshake.c
lib/libwebsockets.c
lib/libwebsockets.h
lib/lws-plat-unix.c
lib/lws-plat-win.c
lib/output.c
lib/parsers.c
lib/pollfd.c
lib/private-libwebsockets.h
lib/server-handshake.c
lib/server.c
lib/service.c
lib/ssl.c
test-server/test-client.c
test-server/test-echo.c
test-server/test-fraggle.c
test-server/test-ping.c
test-server/test-server-dumb-increment.c
test-server/test-server-http.c
test-server/test-server-mirror.c
test-server/test-server.h