Definitions for sock extension for asynchronous access. More...
Definitions for sock extension for asynchronous access.
Definition in file types.h.
#include "sock_types.h"
Go to the source code of this file.
Typedefs | |
typedef struct sock_dtls | sock_dtls_t |
forward declare for async | |
typedef void(* | sock_dtls_cb_t) (sock_dtls_t *sock, sock_async_flags_t flags, void *arg) |
Event callback for sock_dtls_t. More... | |
typedef struct sock_ip | sock_ip_t |
forward declare for async | |
typedef void(* | sock_ip_cb_t) (sock_ip_t *sock, sock_async_flags_t flags, void *arg) |
Event callback for sock_ip_t. More... | |
typedef struct sock_tcp | sock_tcp_t |
forward declare for async | |
typedef struct sock_tcp_queue | sock_tcp_queue_t |
forward declare for async | |
typedef void(* | sock_tcp_cb_t) (sock_tcp_t *sock, sock_async_flags_t flags, void *arg) |
Event callback for sock_tcp_t. More... | |
typedef void(* | sock_tcp_queue_cb_t) (sock_tcp_queue_t *queue, sock_async_flags_t flags, void *arg) |
Event callback for sock_tcp_queue_t. More... | |
typedef struct sock_udp | sock_udp_t |
forward declare for async | |
typedef void(* | sock_udp_cb_t) (sock_udp_t *sock, sock_async_flags_t type, void *arg) |
Event callback for sock_udp_t. More... | |
Enumerations | |
enum | sock_async_flags_t { SOCK_ASYNC_CONN_RDY = 0x0001, SOCK_ASYNC_CONN_FIN = 0x0002, SOCK_ASYNC_CONN_RECV = 0x0004, SOCK_ASYNC_MSG_RECV = 0x0010, SOCK_ASYNC_MSG_SENT = 0x0020, SOCK_ASYNC_PATH_PROP = 0x0040 } |
Flag types to signify asynchronous sock events. More... | |