Home
last modified time | relevance | path

Searched refs:lws_get_vhost (Results 1 – 25 of 45) sorted by relevance

12

/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c138 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
152 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
174 lws_get_vhost_name(lws_get_vhost(wsi))); in callback_minimal()
178 lws_timed_callback_vh_protocol(lws_get_vhost(wsi), in callback_minimal()
196 lws_timed_callback_vh_protocol(lws_get_vhost(wsi), in callback_minimal()
/external/libwebsockets/minimal-examples/raw/minimal-raw-audio/
Daudio.c109 lws_get_vhost(wsi), lws_get_protocol(wsi)); in callback_raw_test()
114 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_raw_test()
117 if (set_hw_params(lws_get_vhost(wsi), &vhd->pcm_playback, in callback_raw_test()
125 if (set_hw_params(lws_get_vhost(wsi), &vhd->pcm_capture, in callback_raw_test()
/external/libwebsockets/plugins/
Dprotocol_dumb_increment.c46 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_dumb_increment()
54 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_dumb_increment()
97 lws_get_vhost(wsi), lws_get_protocol(wsi)); in callback_dumb_increment()
Dprotocol_lws_server_status.c109 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_lws_server_status()
144 lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_lws_server_status()
147 v = (struct vhd *)lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_lws_server_status()
171 v->vhost = lws_get_vhost(wsi); in callback_lws_server_status()
Dprotocol_lws_sshd_demo.c207 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in ssh_ops_get_server_key()
227 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in ssh_ops_set_server_key()
386 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_lws_sshd_demo()
391 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_lws_sshd_demo()
425 lws_get_vhost(wsi), in callback_lws_sshd_demo()
Dprotocol_lws_raw_test.c99 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_raw_test()
107 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_raw_test()
112 vhd->vhost = lws_get_vhost(wsi); in callback_raw_test()
Dprotocol_esp32_lws_group.c69 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_lws_group()
80 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_lws_group()
85 vhd->vhost = lws_get_vhost(wsi); in callback_lws_group()
Dprotocol_lws_status.c89 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_lws_status()
98 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_lws_status()
103 vhd->vhost = lws_get_vhost(wsi); in callback_lws_status()
Dprotocol_esp32_lws_ota.c176 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_esplws_ota()
185 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_esplws_ota()
190 vhd->vhost = lws_get_vhost(wsi); in callback_esplws_ota()
/external/libwebsockets/plugin-standalone/
Dprotocol_example_standalone.c62 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_dumb_increment()
70 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_dumb_increment()
75 vhd->vhost = lws_get_vhost(wsi); in callback_dumb_increment()
/external/libwebsockets/minimal-examples/raw/minimal-raw-file/
Dminimal-raw-file.c32 lws_get_vhost(wsi), lws_get_protocol(wsi)); in callback_raw_test()
39 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_raw_test()
48 if (!lws_adopt_descriptor_vhost(lws_get_vhost(wsi), in callback_raw_test()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd/
Dprotocol_lws_minimal.c70 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
76 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
81 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server/
Dprotocol_lws_minimal.c70 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
76 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
81 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/
Dprotocol_lws_minimal_pmd_bulk.c105 lws_timed_callback_vh_protocol(lws_get_vhost(wsi), in schedule_callback()
116 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal_pmd_bulk()
124 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal_pmd_bulk()
131 vhd->vhost = lws_get_vhost(wsi); in callback_minimal_pmd_bulk()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
Dprotocol_lws_minimal.c84 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
93 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
98 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c96 lws_timed_callback_vh_protocol(lws_get_vhost(wsi), in schedule_callback()
107 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal_client_echo()
116 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal_client_echo()
123 vhd->vhost = lws_get_vhost(wsi); in callback_minimal_client_echo()
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c208 lws_get_vhost(wsi), lws_get_protocol(wsi)); in callback_audio()
221 avhd = vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_audio()
238 lws_get_vhost_name(lws_get_vhost(wsi)), in callback_audio()
245 if (set_hw_params(lws_get_vhost(wsi), &vhd->pcm_playback, in callback_audio()
253 if (set_hw_params(lws_get_vhost(wsi), &vhd->pcm_capture, in callback_audio()
/external/libwebsockets/plugins/ssh-base/
Dtelnet.c123 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in lws_callback_raw_telnet()
132 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in lws_callback_raw_telnet()
137 vhd->vhost = lws_get_vhost(wsi); in lws_callback_raw_telnet()
/external/libwebsockets/minimal-examples/raw/minimal-raw-serial/
Dminimal-raw-file.c51 lws_get_vhost(wsi), lws_get_protocol(wsi)); in callback_raw_test()
62 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_raw_test()
118 if (!lws_adopt_descriptor_vhost(lws_get_vhost(wsi), in callback_raw_test()
/external/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/
Dprotocol_lws_minimal.c89 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
100 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
105 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c67 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal_server_echo()
76 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal_server_echo()
83 vhd->vhost = lws_get_vhost(wsi); in callback_minimal_server_echo()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
Dprotocol_lws_minimal.c158 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
166 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
171 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/
Dprotocol_lws_minimal.c147 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
157 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
177 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dprotocol_lws_minimal.c147 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_minimal()
158 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_minimal()
178 vhd->vhost = lws_get_vhost(wsi); in callback_minimal()
/external/libwebsockets/lib/abstract/transports/
Draw-skt.c60 lws_protocol_vh_priv_get(lws_get_vhost(wsi), in callback_abs_client_raw_skt()
65 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi), in callback_abs_client_raw_skt()
69 lws_timed_callback_vh_protocol(lws_get_vhost(wsi), in callback_abs_client_raw_skt()
86 lws_timed_callback_vh_protocol(lws_get_vhost(wsi), in callback_abs_client_raw_skt()

12