From 15e31f373d8f435c81c241760379fd7f8f08e4df Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 19 Oct 2012 18:36:28 +0800 Subject: [PATCH] add missing docs for new context user pointer Signed-off-by: Andy Green --- lib/libwebsockets.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index ee393a82..ca41b04c 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.