Home
last modified time | relevance | path

Searched refs:active_extensions (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/roles/ws/ext/
Dextension.c199 m = wsi->ws->active_extensions[n]->callback( in lws_ext_cb_active()
200 lws_get_context(wsi), wsi->ws->active_extensions[n], in lws_ext_cb_active()
204 wsi->ws->active_extensions[n]->name, reason); in lws_ext_cb_active()
233 wsi->ws->active_extensions[n]->name, reason); in lws_ext_cb_all_exts()
344 if (!wsi->ws->active_extensions[n]->callback) in lws_any_extension_handled()
347 handled |= wsi->ws->active_extensions[n]->callback(context, in lws_any_extension_handled()
348 wsi->ws->active_extensions[n], wsi, in lws_any_extension_handled()
367 strcmp(wsi->ws->active_extensions[idx]->name, ext_name)) in lws_set_extension_option()
378 return wsi->ws->active_extensions[idx]->callback(wsi->a.context, in lws_set_extension_option()
379 wsi->ws->active_extensions[idx], wsi, in lws_set_extension_option()
/third_party/libwebsockets/lib/roles/ws/
Dprivate-lib-roles-ws.h95 const struct lws_extension *active_extensions[LWS_MAX_EXTENSIONS_ACTIVE]; member
Dserver-ws.c129 if (wsi->ws->active_extensions[m] == ext) { in lws_extension_server_handshake()
158 wsi->ws->active_extensions[wsi->ws->count_act_ext] = ext; in lws_extension_server_handshake()
Dclient-ws.c512 wsi->ws->active_extensions[wsi->ws->count_act_ext] = ext; in lws_client_ws_upgrade()