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
98feb4be
Commit
98feb4be
authored
12 years ago
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
clean out remaining mentions of deprecated broadcast
Signed-off-by:
Andy Green
<
andy.green@linaro.org
>
parent
d09d7d45
No related branches found
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
+0
-21
0 additions, 21 deletions
lib/libwebsockets.h
libwebsockets-api-doc.html
+0
-11
0 additions, 11 deletions
libwebsockets-api-doc.html
with
0 additions
and
32 deletions
lib/libwebsockets.h
+
0
−
21
View file @
98feb4be
...
...
@@ -660,13 +660,6 @@ typedef int (extension_callback_function)(struct libwebsocket_context * context,
* allocation is passed into the callback in the 'user' parameter
* @owning_server: the server init call fills in this opaque pointer when
* registering this protocol with the server.
* @broadcast_socket_port: the server init call fills this in with the
* localhost port number used to forward broadcasts for this
* protocol
* @broadcast_socket_user_fd: the server init call fills this in ... the main()
* process context can write to this socket to perform broadcasts
* (use the libwebsockets_broadcast() api to do this instead,
* it works from any process context)
* @protocol_index: which protocol we are starting from zero
*
* This structure represents one protocol supported by the server. An
...
...
@@ -685,8 +678,6 @@ struct libwebsocket_protocols {
*/
struct
libwebsocket_context
*
owning_server
;
int
broadcast_socket_port
;
int
broadcast_socket_user_fd
;
int
protocol_index
;
};
...
...
@@ -787,18 +778,6 @@ LWS_EXTERN int
libwebsockets_serve_http_file_fragment
(
struct
libwebsocket_context
*
context
,
struct
libwebsocket
*
wsi
);
/* notice - you need the pre- and post- padding allocation for buf below */
LWS_EXTERN
int
libwebsockets_broadcast
(
const
struct
libwebsocket_protocols
*
protocol
,
unsigned
char
*
buf
,
size_t
len
);
/* notice - you need the pre- and post- padding allocation for buf below */
LWS_EXTERN
int
libwebsockets_broadcast_foreign
(
struct
libwebsocket_protocols
*
protocol
,
unsigned
char
*
buf
,
size_t
len
);
LWS_EXTERN
const
struct
libwebsocket_protocols
*
libwebsockets_get_protocol
(
struct
libwebsocket
*
wsi
);
...
...
This diff is collapsed.
Click to expand it.
libwebsockets-api-doc.html
+
0
−
11
View file @
98feb4be
...
...
@@ -909,8 +909,6 @@ set the lws_tokens token pointer to it.
<i>
callback_function *
</i>
<b>
callback
</b>
;
<br>
<i>
size_t
</i>
<b>
per_session_data_size
</b>
;
<br>
<i>
struct libwebsocket_context *
</i>
<b>
owning_server
</b>
;
<br>
<i>
int
</i>
<b>
broadcast_socket_port
</b>
;
<br>
<i>
int
</i>
<b>
broadcast_socket_user_fd
</b>
;
<br>
<i>
int
</i>
<b>
protocol_index
</b>
;
<br>
};
<br>
<h3>
Members
</h3>
...
...
@@ -930,15 +928,6 @@ allocation is passed into the callback in the 'user' parameter
<dt><b>
owning_server
</b>
<dd>
the server init call fills in this opaque pointer when
registering this protocol with the server.
<dt><b>
broadcast_socket_port
</b>
<dd>
the server init call fills this in with the
localhost port number used to forward broadcasts for this
protocol
<dt><b>
broadcast_socket_user_fd
</b>
<dd>
the server init call fills this in ... the
<b>
main
</b>
process context can write to this socket to perform broadcasts
(use the
<b>
libwebsockets_broadcast
</b>
api to do this instead,
it works from any process context)
<dt><b>
protocol_index
</b>
<dd>
which protocol we are starting from zero
</dl>
...
...
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