Home
last modified time | relevance | path

Searched refs:stdwsi (Results 1 – 10 of 10) sorted by relevance

/third_party/libwebsockets/lib/plat/windows/
Dwindows-spawn.c127 if (lsp->stdwsi[n]) { in lws_spawn_piped_destroy()
129 wsi = lsp->stdwsi[n]; in lws_spawn_piped_destroy()
130 lsp->stdwsi[n]->desc.filefd = NULL; in lws_spawn_piped_destroy()
131 lsp->stdwsi[n] = NULL; in lws_spawn_piped_destroy()
266 wsi = lsp->stdwsi[LWS_STDOUT]; in windows_pipe_poll_hack()
267 wsi1 = lsp->stdwsi[LWS_STDERR]; in windows_pipe_poll_hack()
273 CloseHandle(lsp->stdwsi[LWS_STDOUT]->desc.filefd); in windows_pipe_poll_hack()
275 lsp->stdwsi[LWS_STDOUT]->desc.filefd = NULL; in windows_pipe_poll_hack()
276 lsp->stdwsi[LWS_STDOUT] = NULL; in windows_pipe_poll_hack()
279 if (lsp->stdwsi[LWS_STDIN]) { in windows_pipe_poll_hack()
[all …]
/third_party/libwebsockets/lib/plat/unix/
Dunix-spawn.c137 if (lsp->stdwsi[n]) { in lws_spawn_piped_destroy()
138 lws_set_timeout(lsp->stdwsi[n], 1, LWS_TO_KILL_ASYNC); in lws_spawn_piped_destroy()
139 lsp->stdwsi[n] = NULL; in lws_spawn_piped_destroy()
378 lsp->stdwsi[n] = lws_create_stdwsi(i->vh->context, i->tsi, in lws_spawn_piped()
380 if (!lsp->stdwsi[n]) { in lws_spawn_piped()
386 &lsp->stdwsi[n]->lc, "nspawn-stdwsi-%d", n); in lws_spawn_piped()
388 lsp->stdwsi[n]->lsp_channel = (uint8_t)n; in lws_spawn_piped()
389 lws_vhost_bind_wsi(i->vh, lsp->stdwsi[n]); in lws_spawn_piped()
390 lsp->stdwsi[n]->a.protocol = pcol; in lws_spawn_piped()
391 lsp->stdwsi[n]->a.opaque_user_data = i->opaque; in lws_spawn_piped()
[all …]
/third_party/libwebsockets/lib/core-net/
Ddummy-callback.c338 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]) in lws_callback_http_dummy()
340 wsi->http.cgi->lsp->stdwsi[LWS_STDOUT], 1); in lws_callback_http_dummy()
666 if (args->stdwsi[LWS_STDOUT]) in lws_callback_http_dummy()
668 lws_rx_flow_control(args->stdwsi[LWS_STDOUT], 0); in lws_callback_http_dummy()
674 n = lws_get_socket_fd(args->stdwsi[LWS_STDERR]); in lws_callback_http_dummy()
713 if (!args->stdwsi[LWS_STDIN]) in lws_callback_http_dummy()
715 n = lws_get_socket_fd(args->stdwsi[LWS_STDIN]); in lws_callback_http_dummy()
766 written = (int)write(args->stdwsi[LWS_STDIN]->desc.filefd, in lws_callback_http_dummy()
808 if (wsi->http.cgi->post_in_expected && args->stdwsi[LWS_STDIN] && in lws_callback_http_dummy()
809 args->stdwsi[LWS_STDIN]->desc.filefd > 0) { in lws_callback_http_dummy()
[all …]
Dclose.c451 wsi->parent->http.cgi->lsp->stdwsi[(int)wsi->lsp_channel] = in __lws_close_free_wsi()
Dprivate-lib-core-net.h909 struct lws *stdwsi[3]; member
/third_party/libwebsockets/lib/roles/cgi/
Dops-cgi.c68 args.stdwsi = &wsi->parent->http.cgi->lsp->stdwsi[0]; in rops_handle_POLLIN_cgi()
Dcgi-server.c675 n = lws_get_socket_fd(wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]); in lws_cgi_write_split_stdout_headers()
826 n = lws_get_socket_fd(wsi->http.cgi->lsp->stdwsi[LWS_STDOUT]); in lws_cgi_write_split_stdout_headers()
917 args.stdwsi = &wsi->http.cgi->lsp->stdwsi[0]; in lws_cgi_kill()
1069 return wsi->http.cgi->lsp->stdwsi[ch]; in lws_cgi_get_stdwsi()
/third_party/libwebsockets/test-apps/
Dtest-sshd.c469 priv->wsi_stdout = args->stdwsi[LWS_STDOUT]; in ssh_ops_child_process_io()
470 priv->wsi_stderr = args->stdwsi[LWS_STDERR]; in ssh_ops_child_process_io()
500 m = lws_get_socket_fd(args->stdwsi[args->ch]); in ssh_ops_child_process_io()
530 n = lws_get_socket_fd(args->stdwsi[args->ch]); in ssh_ops_child_process_io()
538 lws_rx_flow_control(args->stdwsi[args->ch], 0); in ssh_ops_child_process_io()
/third_party/libwebsockets/include/libwebsockets/
Dlws-cgi.h54 struct lws **stdwsi; /**< get fd with lws_get_socket_fd() */ member
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c151 args.stdwsi = &wsi->http.cgi->lsp->stdwsi[0]; in lws_read_h1()