diff options
author | Andy Green <andy.green@linaro.org> | 2011-02-12 11:57:45 +0000 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-02-12 11:57:45 +0000 |
commit | 9f99034f7ef4dc738bfb039b581c595db7f5b2f4 (patch) | |
tree | 74b2edd0a5378c3c751365b8bf510636c0907697 /libwebsockets-api-doc.html | |
parent | 0d33833764aadee6154cc88c02af0682b825ff22 (diff) |
export-libwebsocket_service_fd-api.patch
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'libwebsockets-api-doc.html')
-rw-r--r-- | libwebsockets-api-doc.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html index 2184f16..9e5f27e 100644 --- a/libwebsockets-api-doc.html +++ b/libwebsockets-api-doc.html @@ -1,3 +1,23 @@ +<h2>libwebsocket_service_fd - Service polled socket with something waiting</h2> +<i>int</i> +<b>libwebsocket_service_fd</b> +(<i>struct libwebsocket_context *</i> <b>this</b>, +<i>struct pollfd *</i> <b>pollfd</b>) +<h3>Arguments</h3> +<dl> +<dt><b>this</b> +<dd>Websocket context +<dt><b>pollfd</b> +<dd>The pollfd entry describing the socket fd and which events +happened. +</dl> +<h3>Description</h3> +<blockquote> +This function closes any active connections and then frees the +context. After calling this, any further use of the context is +undefined. +</blockquote> +<hr> <h2>libwebsocket_context_destroy - Destroy the websocket context</h2> <i>void</i> <b>libwebsocket_context_destroy</b> |