Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/plat/windows/
Dwindows-spawn.c266 wsi = lsp->stdwsi[LWS_STDOUT]; in windows_pipe_poll_hack()
268 if (wsi && lsp->pipe_fds[LWS_STDOUT][0] != NULL) { in windows_pipe_poll_hack()
269 if (!PeekNamedPipe(lsp->pipe_fds[LWS_STDOUT][0], &c, 1, &br, in windows_pipe_poll_hack()
273 CloseHandle(lsp->stdwsi[LWS_STDOUT]->desc.filefd); in windows_pipe_poll_hack()
274 lsp->pipe_fds[LWS_STDOUT][0] = NULL; 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()
455 lsp->stdwsi[LWS_STDOUT]->desc.sockfd, in lws_spawn_piped()
492 si.hStdOutput = lsp->pipe_fds[LWS_STDOUT][1]; in lws_spawn_piped()
/third_party/libwebsockets/test-apps/
Dtest-sshd.c164 s |= LWS_STDOUT; in ssh_ops_tx_waiting()
179 if (stdch == LWS_STDOUT) { in ssh_ops_tx()
469 priv->wsi_stdout = args->stdwsi[LWS_STDOUT]; in ssh_ops_child_process_io()
480 case LWS_STDOUT: in ssh_ops_child_process_io()
/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()
665 case LWS_STDOUT: 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()
/third_party/libwebsockets/include/libwebsockets/
Dlws-cgi.h37 LWS_STDOUT = 1, enumerator
/third_party/libwebsockets/plugins/
Dprotocol_lws_sshd_demo.c156 return LWS_STDOUT; in ssh_ops_tx_waiting()
167 if (stdch != LWS_STDOUT) in ssh_ops_tx()
/third_party/libwebsockets/lib/roles/cgi/
Dops-cgi.c35 if (wsi->lsp_channel >= LWS_STDOUT && 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()
/third_party/libwebsockets/plugins/ssh-base/
Dtelnet.c208 m = (int)pss->vhd->ops->tx(pss->priv, LWS_STDOUT, pu, in lws_callback_raw_telnet()
Dsshd.c2424 if (n == (LWS_STDOUT | LWS_STDERR)) { in lws_callback_raw_sshd()
2427 n = LWS_STDOUT; in lws_callback_raw_sshd()
2436 if (n == LWS_STDOUT) in lws_callback_raw_sshd()
/third_party/libwebsockets/lib/plat/unix/
Dunix-spawn.c435 if (lws_change_pollfd(lsp->stdwsi[LWS_STDOUT], LWS_POLLOUT, LWS_POLLIN)) in lws_spawn_piped()
442 lsp->stdwsi[LWS_STDOUT]->desc.sockfd, in lws_spawn_piped()