Lines Matching defs:lws_event_loop_ops
32 struct lws_event_loop_ops { struct
33 const char *name;
35 int (*init_context)(struct lws_context *context,
38 int (*destroy_context1)(struct lws_context *context);
40 int (*destroy_context2)(struct lws_context *context);
42 int (*init_vhost_listen_wsi)(struct lws *wsi);
44 int (*init_pt)(struct lws_context *context, void *_loop, int tsi);
46 int (*wsi_logical_close)(struct lws *wsi);
48 int (*check_client_connect_ok)(struct lws *wsi);
50 void (*close_handle_manually)(struct lws *wsi);
52 int (*sock_accept)(struct lws *wsi);
54 void (*io)(struct lws *wsi, int flags);
56 void (*run_pt)(struct lws_context *context, int tsi);
58 void (*destroy_pt)(struct lws_context *context, int tsi);
60 void (*destroy_wsi)(struct lws *wsi);
62 uint8_t flags;