Anjay Lite
Loading...
Searching...
No Matches
anj_tcp.h
Go to the documentation of this file.
1/*
2 * Copyright 2023-2025 AVSystem <avsystem@avsystem.com>
3 * AVSystem Anjay Lite LwM2M SDK
4 * All rights reserved.
5 *
6 * Licensed under AVSystem Anjay Lite LwM2M Client SDK - Non-Commercial License.
7 * See the attached LICENSE file for details.
8 */
9
10#include <anj/init.h>
11
24#ifndef ANJ_TCP_H
25# define ANJ_TCP_H
26
27# ifdef __cplusplus
28extern "C" {
29# endif
30
31# ifdef ANJ_NET_WITH_TCP
32
34
42
46
47# endif // ANJ_NET_WITH_TCP
48
49# ifdef __cplusplus
50}
51# endif
52
53#endif // ANJ_TCP_H
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
int anj_net_queue_mode_rx_off_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:478
anj_net_recv_t anj_tcp_recv
Definition anj_tcp.h:39
anj_net_get_state_t anj_tcp_get_state
Definition anj_tcp.h:44
anj_net_connect_t anj_tcp_connect
Definition anj_tcp.h:36
anj_net_create_ctx_t anj_tcp_create_ctx
Definition anj_tcp.h:37
anj_net_get_inner_mtu_t anj_tcp_get_inner_mtu
Definition anj_tcp.h:43
anj_net_queue_mode_rx_off_t anj_tcp_queue_mode_rx_off
Definition anj_tcp.h:45
anj_net_close_t anj_tcp_close
Definition anj_tcp.h:35
anj_net_shutdown_t anj_tcp_shutdown
Definition anj_tcp.h:40
anj_net_send_t anj_tcp_send
Definition anj_tcp.h:38
anj_net_cleanup_ctx_t anj_tcp_cleanup_ctx
Definition anj_tcp.h:41
Global configuration validation header for Anjay Lite.