Anjay Lite
Loading...
Searching...
No Matches
anj_non_ip.h
Go to the documentation of this file.
1/*
2 * Copyright 2023-2026 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
23#ifndef ANJ_NON_IP_H
24# define ANJ_NON_IP_H
25
26# ifdef __cplusplus
27extern "C" {
28# endif
29
30# ifdef ANJ_NET_WITH_NON_IP_BINDING
32
33anj_net_get_system_socket_t anj_non_ip_get_system_socket;
34anj_net_close_t anj_non_ip_close;
35anj_net_connect_t anj_non_ip_connect;
36anj_net_create_ctx_t anj_non_ip_create_ctx;
37anj_net_send_t anj_non_ip_send;
38anj_net_recv_t anj_non_ip_recv;
39anj_net_cleanup_ctx_t anj_non_ip_cleanup_ctx;
40
41anj_net_get_bytes_received_t anj_non_ip_get_bytes_received;
42anj_net_get_bytes_sent_t anj_non_ip_get_bytes_sent;
43anj_net_get_inner_mtu_t anj_non_ip_get_inner_mtu;
44anj_net_get_state_t anj_non_ip_get_state;
45
46# endif // ANJ_NET_WITH_NON_IP_BINDING
47
48# ifdef __cplusplus
49}
50# endif
51
52#endif // ANJ_NON_IP_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:403
int anj_net_close_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:390
int anj_net_create_ctx_t(anj_net_ctx_t **ctx, const anj_net_config_t *config)
Definition anj_net_api.h:288
int anj_net_get_inner_mtu_t(anj_net_ctx_t *ctx, int32_t *out_value)
Definition anj_net_api.h:418
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:371
int anj_net_cleanup_ctx_t(anj_net_ctx_t **ctx)
Definition anj_net_api.h:303
int anj_net_connect_t(anj_net_ctx_t *ctx, const char *hostname, const char *port)
Definition anj_net_api.h:324
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:347
Global configuration validation header for Anjay Lite.