summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-10-19 18:36:28 +0800
committerAndy Green <andy.green@linaro.org>2012-10-19 18:36:28 +0800
commit15e31f373d8f435c81c241760379fd7f8f08e4df (patch)
tree715d77982e6881c19f875ea5aadfd80ae7d61f88
parentdc93b7f2e78e055430766c19934dc92fbce0707c (diff)
add missing docs for new context user pointer
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--lib/libwebsockets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c
index ee393a8..ca41b04 100644
--- a/lib/libwebsockets.c
+++ b/lib/libwebsockets.c
@@ -2477,6 +2477,8 @@ OpenSSL_verify_callback(int preverify_ok, X509_STORE_CTX *x509_ctx)
* @gid: group id to change to after setting listen socket, or -1.
* @uid: user id to change to after setting listen socket, or -1.
* @options: 0, or LWS_SERVER_OPTION_DEFEAT_CLIENT_MASK
+ * @user: optional user pointer that can be recovered via the context
+ * pointer using libwebsocket_context_user
*
* This function creates the listening socket and takes care
* of all initialization in one step.