31# ifdef ANJ_NET_WITH_TLS
35anj_net_get_system_socket_t anj_tls_get_system_socket;
44anj_net_get_bytes_received_t anj_tls_get_bytes_received;
45anj_net_get_bytes_sent_t anj_tls_bytes_sent;
46anj_net_get_connection_id_resumed_t anj_tls_get_connection_id_resumed;
48anj_net_get_session_resumed_t anj_tls_get_session_resumed;
51anj_net_set_dane_tlsa_array_t anj_tls_set_dane_tls_array;
Platform hooks for network transport integration.
int anj_net_get_state_t(anj_net_ctx_t *ctx, anj_net_socket_state_t *out_value)
Definition anj_net_api.h:430
int anj_net_close_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:417
int anj_net_shutdown_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:401
int anj_net_create_ctx_t(anj_net_ctx_t **ctx, const anj_net_config_t *config)
Definition anj_net_api.h:296
int anj_net_get_inner_mtu_t(anj_net_ctx_t *ctx, int32_t *out_value)
Definition anj_net_api.h:445
int anj_net_recv_t(anj_net_ctx_t *ctx, size_t *bytes_received, uint8_t *buf, size_t length)
Definition anj_net_api.h:379
int anj_net_cleanup_ctx_t(anj_net_ctx_t **ctx)
Definition anj_net_api.h:311
int anj_net_connect_t(anj_net_ctx_t *ctx, const char *hostname, const char *port)
Definition anj_net_api.h:332
int anj_net_send_t(anj_net_ctx_t *ctx, size_t *bytes_sent, const uint8_t *buf, size_t length)
Definition anj_net_api.h:355
Global configuration validation header for Anjay Lite.