summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2012-04-12 11:15:23 +0800
committerAndy Green <andy.green@linaro.org>2012-04-12 13:32:03 +0800
commitdc36192435059246cfb5bc492761c60a663d9ae6 (patch)
tree1fc20d0df8f464a19d93cafe626484c417a3114a
parent39347de0e0bdcccd8835db40b594483189091b38 (diff)
doc add explanation missing from per context provate data
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--lib/libwebsockets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h
index 77afd84..8b98d90 100644
--- a/lib/libwebsockets.h
+++ b/lib/libwebsockets.h
@@ -546,6 +546,9 @@ struct libwebsocket_protocols {
* @per_session_data_size: Libwebsockets will auto-malloc this much
* memory for the use of the extension, a pointer
* to it comes in the @user callback parameter
+ * @per_context_private_data: Optional storage for this externsion that
+ * is per-context, so it can track stuff across
+ * all sessions, etc, if it wants
*/
struct libwebsocket_extension {