diff options
author | Andy Green <andy@warmcat.com> | 2011-03-22 09:04:01 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2011-03-22 09:04:01 +0000 |
commit | 46c2ea0d6fe1ff408470e7c2da0e8bb5a631d0a4 (patch) | |
tree | 15b8fe43b793d342a8cb43e3f13222fafc8928d0 /libwebsockets-api-doc.html | |
parent | 6eeadae1ab482d527c872f239d74351282c97060 (diff) |
pass ext pointer in ext callback
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'libwebsockets-api-doc.html')
-rw-r--r-- | libwebsockets-api-doc.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html index 80e8504..bc0ce48 100644 --- a/libwebsockets-api-doc.html +++ b/libwebsockets-api-doc.html @@ -728,6 +728,7 @@ internal polling loop, you can just ignore it. <i>int</i> <b>extension_callback</b> (<i>struct libwebsocket_context *</i> <b>context</b>, +<i>struct libwebsocket_extension *</i> <b>ext</b>, <i>struct libwebsocket *</i> <b>wsi</b>, <i>enum libwebsocket_callback_reasons</i> <b>reason</b>, <i>void *</i> <b>user</b>, @@ -737,6 +738,8 @@ internal polling loop, you can just ignore it. <dl> <dt><b>context</b> <dd>Websockets context +<dt><b>ext</b> +<dd>This extension <dt><b>wsi</b> <dd>Opaque websocket instance pointer <dt><b>reason</b> @@ -858,7 +861,7 @@ allows as many protocols as you like to be handled by one server. <h2>struct libwebsocket_extension - An extension we know how to cope with</h2> <b>struct libwebsocket_extension</b> {<br> <i>const char *</i> <b>name</b>;<br> - <i>int (*</i><b>callback</b>) <i>(struct libwebsocket_context *context,struct libwebsocket *wsi,enum libwebsocket_extension_callback_reasons reason,void *user, void *in, size_t len)</i>;<br> + <i>int (*</i><b>callback</b>) <i>(struct libwebsocket_context *context,struct libwebsocket_extension *ext,struct libwebsocket *wsi,enum libwebsocket_extension_callback_reasons reason,void *user, void *in, size_t len)</i>;<br> <i>size_t</i> <b>per_session_data_size</b>;<br> };<br> <h3>Members</h3> |