summaryrefslogtreecommitdiff
path: root/libwebsockets-api-doc.html
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2012-04-12 13:26:49 +0800
committerAndy Green <andy.green@linaro.org>2012-04-12 13:32:19 +0800
commitaa6fc44b0aba44a4ce455bb5752c3bacc20c4991 (patch)
treeb3a396458c6f63b8e3c56584bc794c4ec24e19cd /libwebsockets-api-doc.html
parentdc36192435059246cfb5bc492761c60a663d9ae6 (diff)
mingw add win32helper to lib and fix extpoll
Based on work from Radu Sorici <soriciradu@gmail.com> Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'libwebsockets-api-doc.html')
-rw-r--r--libwebsockets-api-doc.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html
index 98e1e66..afffe0d 100644
--- a/libwebsockets-api-doc.html
+++ b/libwebsockets-api-doc.html
@@ -863,6 +863,7 @@ allows as many protocols as you like to be handled by one server.
&nbsp; &nbsp; <i>const char *</i> <b>name</b>;<br>
&nbsp; &nbsp; <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>
&nbsp; &nbsp; <i>size_t</i> <b>per_session_data_size</b>;<br>
+&nbsp; &nbsp; <i>void *</i> <b>per_context_private_data</b>;<br>
};<br>
<h3>Members</h3>
<dl>
@@ -874,5 +875,9 @@ allows as many protocols as you like to be handled by one server.
<dd>Libwebsockets will auto-malloc this much
memory for the use of the extension, a pointer
to it comes in the <tt><b>user</b></tt> callback parameter
+<dt><b>per_context_private_data</b>
+<dd>Optional storage for this externsion that
+is per-context, so it can track stuff across
+all sessions, etc, if it wants
</dl>
<hr>