Skip to content
Snippets Groups Projects
Commit 7a506ba5 authored by Andy Green's avatar Andy Green
Browse files

fix info struct api docs for iface vs interface

parent 63ff120b
Branches
No related tags found
No related merge requests found
...@@ -740,7 +740,7 @@ struct libwebsocket_extension { ...@@ -740,7 +740,7 @@ struct libwebsocket_extension {
* @port: Port to listen on... you can use 0 to suppress listening on * @port: Port to listen on... you can use 0 to suppress listening on
* any port, that's what you want if you are not running a * any port, that's what you want if you are not running a
* websocket server at all but just using it as a client * websocket server at all but just using it as a client
* @interface: NULL to bind the listen socket to all interfaces, or the * @iface: NULL to bind the listen socket to all interfaces, or the
* interface name, eg, "eth2" * interface name, eg, "eth2"
* @protocols: Array of structures listing supported protocols and a protocol- * @protocols: Array of structures listing supported protocols and a protocol-
* specific callback for each one. The list is ended with an * specific callback for each one. The list is ended with an
......
...@@ -971,6 +971,7 @@ all sessions, etc, if it wants ...@@ -971,6 +971,7 @@ all sessions, etc, if it wants
<h2>struct lws_context_creation_info - </h2> <h2>struct lws_context_creation_info - </h2>
<b>struct lws_context_creation_info</b> {<br> <b>struct lws_context_creation_info</b> {<br>
&nbsp; &nbsp; <i>int</i> <b>port</b>;<br> &nbsp; &nbsp; <i>int</i> <b>port</b>;<br>
&nbsp; &nbsp; <i>const char *</i> <b>iface</b>;<br>
&nbsp; &nbsp; <i>struct libwebsocket_protocols *</i> <b>protocols</b>;<br> &nbsp; &nbsp; <i>struct libwebsocket_protocols *</i> <b>protocols</b>;<br>
&nbsp; &nbsp; <i>struct libwebsocket_extension *</i> <b>extensions</b>;<br> &nbsp; &nbsp; <i>struct libwebsocket_extension *</i> <b>extensions</b>;<br>
&nbsp; &nbsp; <i>const char *</i> <b>ssl_cert_filepath</b>;<br> &nbsp; &nbsp; <i>const char *</i> <b>ssl_cert_filepath</b>;<br>
...@@ -990,6 +991,9 @@ all sessions, etc, if it wants ...@@ -990,6 +991,9 @@ all sessions, etc, if it wants
<dd>Port to listen on... you can use 0 to suppress listening on <dd>Port to listen on... you can use 0 to suppress listening on
any port, that's what you want if you are not running a any port, that's what you want if you are not running a
websocket server at all but just using it as a client websocket server at all but just using it as a client
<dt><b>iface</b>
<dd>NULL to bind the listen socket to all interfaces, or the
interface name, eg, "eth2"
<dt><b>protocols</b> <dt><b>protocols</b>
<dd>Array of structures listing supported protocols and a protocol- <dd>Array of structures listing supported protocols and a protocol-
specific callback for each one. The list is ended with an specific callback for each one. The list is ended with an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment