From 32375b7e9e02dfeb078c80f236c3b2892f8f3014 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 19 Feb 2011 08:32:53 +0000 Subject: introduce listen on specific interface Signed-off-by: Andy Green --- lib/libwebsockets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libwebsockets.h') 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, -- cgit v1.2.3