Home
last modified time | relevance | path

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

/external/libwebsockets/lib/event-libs/glib/
Dglib.c29 #define wsi_to_subclass(_w) ((_w)->w_read.glib.source) macro
30 #define wsi_to_gsource(_w) ((GSource *)wsi_to_subclass(_w))
245 assert(!wsi_to_subclass(wsi)); in elops_accept_glib()
247 wsi_to_subclass(wsi) = (struct lws_io_watcher_glib_subclass *) in elops_accept_glib()
249 sizeof(*wsi_to_subclass(wsi))); in elops_accept_glib()
250 if (!wsi_to_subclass(wsi)) in elops_accept_glib()
254 wsi_to_subclass(wsi)->wsi = wsi; in elops_accept_glib()
261 wsi_to_subclass(wsi)->tag = g_source_add_unix_fd(wsi_to_gsource(wsi), in elops_accept_glib()
355 g_source_modify_unix_fd(wsi_to_gsource(wsi), wsi_to_subclass(wsi)->tag, in elops_io_glib()
383 if (wsi_to_subclass(wsi)->tag) { in elops_destroy_wsi_glib()
[all …]