Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Fork
libwebsockets
Commits
7a506ba5
Commit
7a506ba5
authored
12 years ago
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
fix info struct api docs for iface vs interface
Signed-off-by:
Andy Green
<
andy.green@linaro.org
>
parent
63ff120b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/libwebsockets.h
+1
-1
1 addition, 1 deletion
lib/libwebsockets.h
libwebsockets-api-doc.html
+4
-0
4 additions, 0 deletions
libwebsockets-api-doc.html
with
5 additions
and
1 deletion
lib/libwebsockets.h
+
1
−
1
View file @
7a506ba5
...
@@ -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
* @i
nter
face:
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
...
...
This diff is collapsed.
Click to expand it.
libwebsockets-api-doc.html
+
4
−
0
View file @
7a506ba5
...
@@ -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>
<i>
int
</i>
<b>
port
</b>
;
<br>
<i>
int
</i>
<b>
port
</b>
;
<br>
<i>
const char *
</i>
<b>
iface
</b>
;
<br>
<i>
struct libwebsocket_protocols *
</i>
<b>
protocols
</b>
;
<br>
<i>
struct libwebsocket_protocols *
</i>
<b>
protocols
</b>
;
<br>
<i>
struct libwebsocket_extension *
</i>
<b>
extensions
</b>
;
<br>
<i>
struct libwebsocket_extension *
</i>
<b>
extensions
</b>
;
<br>
<i>
const char *
</i>
<b>
ssl_cert_filepath
</b>
;
<br>
<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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment