17#ifndef COAP_LAYERS_INTERNAL_H_
18#define COAP_LAYERS_INTERNAL_H_
53 uint8_t *data,
size_t datalen);
78 const uint8_t *data,
size_t datalen);
Pulls together all the internal only header files.
void(* coap_layer_close_t)(coap_session_t *session)
Function close interface for layer closing.
ssize_t(* coap_layer_read_t)(coap_session_t *session, uint8_t *data, size_t datalen)
Function read interface for layer data receiving.
ssize_t(* coap_layer_write_t)(coap_session_t *session, const uint8_t *data, size_t datalen)
Function write interface for layer data sending.
coap_layer_func_t coap_layers_coap[COAP_PROTO_LAST][COAP_LAYER_LAST]
void(* coap_layer_establish_t)(coap_session_t *session)
Function establish interface for layer establish handling.
coap_layer_write_t l_write
coap_layer_establish_t l_establish
coap_layer_close_t l_close
Abstraction of virtual session that can be attached to coap_context_t (client) or coap_endpoint_t (se...