clean out remaining mentions of deprecated broadcast
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
d09d7d45f8
commit
98feb4be18
2 changed files with 0 additions and 32 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue