|
libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
| struct | lws_protocols |
| struct | lws_plugin_header |
| struct | lws_plugin_protocol |
| struct | lws_plugin |
| struct | lws_plugin_evlib |
| struct | lws_webrtc_ops |
| union | lws_plugin.u |
Macros | |
| #define | LWS_PROTOCOL_LIST_TERM { NULL, NULL, 0, 0, 0, NULL, 0 } |
| #define | LWS_PLUGIN_API_MAGIC 192 |
| #define | LWS_WEBRTC_OPS_ABI_VERSION 9 |
Typedefs | |
| typedef struct lws_plugin_header | lws_plugin_header_t |
| typedef struct lws_plugin_protocol | lws_plugin_protocol_t |
| typedef struct lws_plugin_evlib | lws_plugin_evlib_t |
| typedef int(* | each_plugin_cb_t) (struct lws_plugin *p, void *user) |
| typedef void(* | lws_webrtc_on_media_cb) (struct lws *wsi_ws, int tid, const uint8_t *buf, size_t len, int marker, uint32_t timestamp) |
| typedef int(* | lws_webrtc_session_iter_cb) (struct pss_webrtc *pss, void *user) |
| typedef void(* | lws_dht_store_completion_cb_t) (void *closure, int result) |
Enumerations | |
| enum | lws_webrtc_codec { LWS_WEBRTC_CODEC_H264 , LWS_WEBRTC_CODEC_AV1 } |
Functions | |
| LWS_VISIBLE LWS_EXTERN const struct lws_protocols * | lws_vhost_name_to_protocol (struct lws_vhost *vh, const char *name) |
| LWS_VISIBLE LWS_EXTERN const struct lws_protocols * | lws_get_protocol (struct lws *wsi) |
| LWS_VISIBLE LWS_EXTERN const struct lws_protocols * | lws_protocol_get (struct lws *wsi) LWS_WARN_DEPRECATED |
| LWS_VISIBLE LWS_EXTERN void * | lws_protocol_vh_priv_zalloc (struct lws_vhost *vhost, const struct lws_protocols *prot, int size) |
| LWS_VISIBLE LWS_EXTERN void * | lws_protocol_vh_priv_get (struct lws_vhost *vhost, const struct lws_protocols *prot) |
| LWS_VISIBLE LWS_EXTERN void * | lws_vhd_find_by_pvo (struct lws_context *cx, const char *protname, const char *pvo_name, const char *pvo_value) |
| LWS_VISIBLE LWS_EXTERN void * | lws_adjust_protocol_psds (struct lws *wsi, size_t new_size) |
| LWS_VISIBLE LWS_EXTERN int | lws_finalize_startup (struct lws_context *context, const char *where) |
| LWS_VISIBLE LWS_EXTERN const struct lws_protocol_vhost_options * | lws_pvo_search (const struct lws_protocol_vhost_options *pvo, const char *name) |
| LWS_VISIBLE LWS_EXTERN int | lws_pvo_get_str (void *in, const char *name, const char **result) |
| LWS_VISIBLE LWS_EXTERN const struct lws_protocol_vhost_options * | lws_pmo_search (const struct lws_http_mount *mount, const char *name) |
| LWS_VISIBLE LWS_EXTERN int | lws_pmo_get_str (const struct lws_http_mount *mount, const char *name, const char **result) |
| LWS_VISIBLE LWS_EXTERN int | lws_protocol_init (struct lws_context *context) |
| LWS_VISIBLE LWS_EXTERN int | lws_plugins_init (struct lws_plugin **pplugin, const char *const *d, const char *_class, const char *filter, each_plugin_cb_t each, void *each_user) |
| LWS_VISIBLE LWS_EXTERN int | lws_plugins_destroy (struct lws_plugin **pplugin, each_plugin_cb_t each, void *each_user) |