Lines Matching defs:wsi
28 rops_handle_POLLIN_raw_file(struct lws_context_per_thread *pt, struct lws *wsi,
34 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) {
35 lwsl_wsi_info(wsi, "failed at set pollfd");
38 n = lws_callback_as_writeable(wsi);
44 if (user_callback_handle_rxflow(wsi->a.protocol->callback,
45 wsi, LWS_CALLBACK_RAW_RX_FILE,
46 wsi->user_space, NULL, 0)) {
47 lwsl_wsi_debug(wsi, "raw rx callback closed it");
60 rops_adoption_bind_raw_file(struct lws *wsi, int type, const char *vh_prot_name)
67 lws_role_transition(wsi, 0, LRS_ESTABLISHED, &role_ops_raw_file);
70 if (wsi->a.vhost->default_protocol_index >=
71 wsi->a.vhost->count_protocols)
74 wsi->a.protocol = &wsi->a.vhost->protocols[
75 wsi->a.vhost->default_protocol_index];