Lines Matching refs:pss
30 struct pss { struct
44 struct pss *pss = (struct pss *)lws_container_of(sul, struct pss, sul); in sul_cb() argument
46 pss->pending = 1; in sul_cb()
47 lws_callback_on_writable(pss->wsi); in sul_cb()
49 lws_sul_schedule(lws_get_context(pss->wsi), 0, &pss->sul, sul_cb, in sul_cb()
57 struct pss * pss = (struct pss *)user; in callback_http() local
66 pss->wsi = wsi; in callback_http()
76 sul_cb(&pss->sul); in callback_http()
80 if (!pss) in callback_http()
82 lws_sul_cancel(&pss->sul); in callback_http()
86 if (!pss->pending) in callback_http()
104 { "http", callback_http, sizeof(struct pss), 0, 0, NULL, 0 },