commit | e2cf992571a5e8cac5baed5bbd7b8f4d32432340 | [log] [tgz] |
---|---|---|
author | David Galeano <davidgaleano@turbulenz.biz> | Wed Jan 09 18:06:55 2013 +0800 |
committer | Andy Green <andy.green@linaro.org> | Wed Jan 09 18:17:42 2013 +0800 |
tree | 3604a6062bda4608231b3ac4698ab8eb693e96a8 | |
parent | d58c6ab78d8a44d9615aabe281ccbdd2399cd902 [diff] [blame] |
Added support for extensions that only manipulate application data.
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 51a6b44..ee20327 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c
@@ -3201,6 +3201,12 @@ return wsi->final; } +unsigned char +libwebsocket_get_reserved_bits(struct libwebsocket *wsi) +{ + return wsi->rsv; +} + void * libwebsocket_ensure_user_space(struct libwebsocket *wsi) {