Home
last modified time | relevance | path

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

/external/libwebsockets/lib/event-libs/glib/
Dglib.c30 #define wsi_to_gsource(_w) ((GSource *)wsi_to_subclass(_w)) macro
261 wsi_to_subclass(wsi)->tag = g_source_add_unix_fd(wsi_to_gsource(wsi), in elops_accept_glib()
265 g_source_set_callback(wsi_to_gsource(wsi), in elops_accept_glib()
268 g_source_attach(wsi_to_gsource(wsi), pt_to_g_main_context(pt)); in elops_accept_glib()
355 g_source_modify_unix_fd(wsi_to_gsource(wsi), wsi_to_subclass(wsi)->tag, in elops_io_glib()
380 if (!wsi_to_gsource(wsi)) in elops_destroy_wsi_glib()
384 g_source_remove_unix_fd(wsi_to_gsource(wsi), in elops_destroy_wsi_glib()
389 g_source_destroy(wsi_to_gsource(wsi)); in elops_destroy_wsi_glib()