Go to the documentation of this file.
18 #ifndef SOCK_ASYNC_CTX_H
19 #define SOCK_ASYNC_CTX_H
35 #ifdef MODULE_SOCK_DTLS
41 #ifdef MODULE_SOCK_TCP
45 #ifdef MODULE_SOCK_UDP
sock_event_t event
event storage
void(* sock_ip_cb_t)(sock_ip_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_ip_t.
void * sock
generic pointer to a Sock API object
event_t super
event structure that gets extended
Asynchronous context for Asynchronous sock with event API.
event_queue_t * queue
event queue to post socket events to
void(* sock_tcp_cb_t)(sock_tcp_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_tcp_t.
Event definition for context scope.
sock_event_cb_t cb
callback
void(* sock_dtls_cb_t)(sock_dtls_t *sock, sock_async_flags_t flags, void *arg)
Event callback for sock_dtls_t.
void(* sock_udp_cb_t)(sock_udp_t *sock, sock_async_flags_t type, void *arg)
Event callback for sock_udp_t.
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.
void * cb_arg
callback argument
sock_async_flags_t
Flag types to signify asynchronous sock events.
Generalized callback type.
sock_async_flags_t type
types of the event