diff options
author | Andy Green <andy@warmcat.com> | 2011-02-14 08:03:48 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2011-02-14 08:03:48 +0000 |
commit | 4b6fbe125e5f7fc9982737fdc87b9fabe7577ced (patch) | |
tree | bacf6a03e9aba9e953f4bce68df7a16bddb3f8be /lib/private-libwebsockets.h | |
parent | de6ab3286191a3456e80ee676155422ac8feb4ef (diff) |
unify server and client close
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'lib/private-libwebsockets.h')
-rw-r--r-- | lib/private-libwebsockets.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 9376025..a097d53 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -225,9 +225,6 @@ struct libwebsocket { extern int libwebsocket_client_rx_sm(struct libwebsocket *wsi, unsigned char c); -extern void -libwebsocket_close_and_free_session(struct libwebsocket *wsi); - extern int libwebsocket_parse(struct libwebsocket *wsi, unsigned char c); @@ -236,7 +233,8 @@ libwebsocket_interpret_incoming_packet(struct libwebsocket *wsi, unsigned char *buf, size_t len); extern int -libwebsocket_read(struct libwebsocket *wsi, unsigned char * buf, size_t len); +libwebsocket_read(struct libwebsocket_context *this, struct libwebsocket *wsi, + unsigned char * buf, size_t len); extern int lws_b64_encode_string(const char *in, int in_len, char *out, int out_size); |