|
libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
| struct | lws_event_loop_ops |
Enumerations | |
| enum | lws_event_lib_ops_flags { LELOF_ISPOLL = (1 >> 0) , LELOF_DESTROY_FINAL = (1 >> 1) } |
| enum | { LWS_EV_READ = (1 << 0) , LWS_EV_WRITE = (1 << 1) , LWS_EV_START = (1 << 2) , LWS_EV_STOP = (1 << 3) } |
| struct lws_event_loop_ops |
Definition at line 39 of file lws-eventlib-exports.h.
Collaboration diagram for lws_event_loop_ops:| Data Fields | ||
|---|---|---|
| const char * | name | |
| int(*)(struct lws_context *context, const struct lws_context_creation_info *info) | init_context | |
| int(*)(struct lws_context *context) | destroy_context1 | |
| int(*)(struct lws_context *context) | destroy_context2 | |
| int(*)(struct lws *wsi) | init_vhost_listen_wsi | |
| int(*)(struct lws_context *context, void *_loop, int tsi) | init_pt | |
| int(*)(struct lws *wsi) | wsi_logical_close | |
| int(*)(struct lws *wsi) | check_client_connect_ok | |
| void(*)(struct lws *wsi) | close_handle_manually | |
| int(*)(struct lws *wsi) | sock_accept | |
| void(*)(struct lws *wsi, unsigned int flags) | io | |
| void(*)(struct lws_context *context, int tsi) | run_pt | |
| void(*)(struct lws_context *context, int tsi) | destroy_pt | |
| void(*)(struct lws *wsi) | destroy_wsi | |
| int(*)(struct lws_context *context, int tsi) | foreign_thread | |
| int(*)(struct lws_context *context, int tsi) | fake_POLLIN_override | |
| uint8_t | flags | |
| uint16_t | evlib_size_ctx | |
| uint16_t | evlib_size_pt | |
| uint16_t | evlib_size_vh | |
| uint16_t | evlib_size_wsi | |
| Enumerator | |
|---|---|
| LELOF_ISPOLL | |
| LELOF_DESTROY_FINAL | |
Definition at line 27 of file lws-eventlib-exports.h.
| anonymous enum |
| Enumerator | |
|---|---|
| LWS_EV_READ | |
| LWS_EV_WRITE | |
| LWS_EV_START | |
| LWS_EV_STOP | |
Definition at line 32 of file lws-eventlib-exports.h.
| LWS_VISIBLE LWS_EXTERN void * lws_evlib_wsi_to_evlib_pt | ( | struct lws * | wsi | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void * lws_evlib_tsi_to_evlib_pt | ( | struct lws_context * | ctx, |
| int | tsi ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void * lws_realloc | ( | void * | ptr, |
| size_t | size, | ||
| const char * | reason ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_vhost_destroy1 | ( | struct lws_vhost * | vh | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_close_free_wsi | ( | struct lws * | wsi, |
| enum lws_close_status | reason, | ||
| const char * | caller ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_vhost_foreach_listen_wsi | ( | struct lws_context * | cx, |
| void * | arg, | ||
| lws_dll2_foreach_cb_t | cb ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_service_do_ripe_rxflow | ( | struct lws_context_per_thread * | pt | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN struct lws * wsi_from_fd | ( | const struct lws_context * | context, |
| int | fd ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int _lws_plat_service_forced_tsi | ( | struct lws_context * | context, |
| int | tsi ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_context_destroy2 | ( | struct lws_context * | context | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_destroy_event_pipe | ( | struct lws * | wsi | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void __lws_close_free_wsi_final | ( | struct lws * | wsi | ) |