diff options
author | Andy Green <andy@warmcat.com> | 2011-02-19 08:32:53 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2011-02-19 08:32:53 +0000 |
commit | 32375b7e9e02dfeb078c80f236c3b2892f8f3014 (patch) | |
tree | bff5dbf7647a598e18aabb76b8738b63595ed6fa /lib/libwebsockets.h | |
parent | 8c4041591e03e762d8bfc91564501bf7e7ba5662 (diff) |
introduce listen on specific interface
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'lib/libwebsockets.h')
-rw-r--r-- | lib/libwebsockets.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 927d93d..acb27b1 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -125,7 +125,7 @@ struct libwebsocket_context; /* document the generic callback (it's a fake prototype under this) */ /** * callback() - User server actions - * @this: Websockets context + * @context: Websockets context * @wsi: Opaque websocket instance pointer * @reason: The reason for the call * @user: Pointer to per-session user data allocated by library @@ -289,7 +289,7 @@ struct libwebsocket_protocols { }; extern struct libwebsocket_context * -libwebsocket_create_context(int port, +libwebsocket_create_context(int port, const char * interface, struct libwebsocket_protocols *protocols, const char *ssl_cert_filepath, const char *ssl_private_key_filepath, int gid, int uid, |