|
libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
| struct | lws_async_ipc_cb_args |
| struct | lws_async_ipc_info |
Typedefs | |
| typedef int(* | lws_async_ipc_cb_t) (const struct lws_async_ipc_cb_args *args) |
Enumerations | |
| enum | lws_async_ipc_state_t { LWS_ASYNC_IPC_STATE_CONNECTED , LWS_ASYNC_IPC_STATE_RX , LWS_ASYNC_IPC_STATE_TIMEOUT , LWS_ASYNC_IPC_STATE_ERROR , LWS_ASYNC_IPC_STATE_DESTROYED } |
Functions | |
| LWS_VISIBLE LWS_EXTERN struct lws_async_ipc * | lws_async_ipc_create (const struct lws_async_ipc_info *info) |
| LWS_VISIBLE LWS_EXTERN void | lws_async_ipc_destroy (struct lws_async_ipc **ipc) |
| LWS_VISIBLE LWS_EXTERN int | lws_async_ipc_queue_payload (struct lws_async_ipc *ipc, const void *payload, size_t len) |
| struct lws_async_ipc_cb_args |
Definition at line 38 of file lws-async-ipc.h.
Collaboration diagram for lws_async_ipc_cb_args:| Data Fields | ||
|---|---|---|
| struct lws_async_ipc * | ipc | |
| lws_async_ipc_state_t | state | |
| const void * | data | |
| size_t | len | |
| void * | opaque | |
| struct lws_async_ipc_info |
Definition at line 48 of file lws-async-ipc.h.
Collaboration diagram for lws_async_ipc_info:| Data Fields | ||
|---|---|---|
| struct lws_context * | cx | |
| const char * | uds_path | |
| lws_async_ipc_cb_t | cb | |
| void * | opaque | |
| typedef int(* lws_async_ipc_cb_t) (const struct lws_async_ipc_cb_args *args) |
Definition at line 46 of file lws-async-ipc.h.
| Enumerator | |
|---|---|
| LWS_ASYNC_IPC_STATE_CONNECTED | |
| LWS_ASYNC_IPC_STATE_RX | |
| LWS_ASYNC_IPC_STATE_TIMEOUT | |
| LWS_ASYNC_IPC_STATE_ERROR | |
| LWS_ASYNC_IPC_STATE_DESTROYED | |
Definition at line 30 of file lws-async-ipc.h.
| LWS_VISIBLE LWS_EXTERN struct lws_async_ipc * lws_async_ipc_create | ( | const struct lws_async_ipc_info * | info | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_async_ipc_destroy | ( | struct lws_async_ipc ** | ipc | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_async_ipc_queue_payload | ( | struct lws_async_ipc * | ipc, |
| const void * | payload, | ||
| size_t | len ) |