anjay
Loading...
Searching...
No Matches
nidd.h
Go to the documentation of this file.
1/*
2 * Copyright 2017-2024 AVSystem <avsystem@avsystem.com>
3 * AVSystem Anjay LwM2M SDK
4 * All rights reserved.
5 *
6 * Licensed under the AVSystem-5-clause License.
7 * See the attached LICENSE file for details.
8 */
9
10#ifndef ANJAY_INCLUDE_ANJAY_NIDD_DRIVER_H
11#define ANJAY_INCLUDE_ANJAY_NIDD_DRIVER_H
12
13#include <anjay/core.h>
14
15#include <avsystem/commons/avs_defs.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
42 size_t *out_bytes_received,
43 void *out_message,
44 size_t size,
45 avs_time_monotonic_t deadline);
46
57
69 const void *message,
70 size_t size);
71
85
95
105
121 const void **out);
122
129
143 size_t *out_mtu);
144
158 size_t *out_mtu);
159
181
191
192#ifdef __cplusplus
193}
194#endif
195
196#endif /* ANJAY_INCLUDE_ANJAY_NIDD_DRIVER_H */
int anjay_nidd_driver_disconnect_t(anjay_nidd_driver_t *driver)
Definition nidd.h:104
int anjay_nidd_driver_outgoing_mtu_t(anjay_nidd_driver_t *driver, size_t *out_mtu)
Definition nidd.h:142
int anjay_nidd_driver_connect_t(anjay_nidd_driver_t *driver)
Definition nidd.h:94
int anjay_nidd_driver_can_recv_t(anjay_nidd_driver_t *driver)
Definition nidd.h:56
int anjay_nidd_driver_system_descriptor_t(anjay_nidd_driver_t *driver, const void **out)
Definition nidd.h:120
void anjay_nidd_driver_free_t(anjay_nidd_driver_t *driver)
Definition nidd.h:128
int anjay_nidd_driver_recv_t(anjay_nidd_driver_t *driver, size_t *out_bytes_received, void *out_message, size_t size, avs_time_monotonic_t deadline)
Definition nidd.h:41
int anjay_nidd_driver_send_t(anjay_nidd_driver_t *driver, const void *message, size_t size)
Definition nidd.h:68
void anjay_nidd_driver_cleanup(anjay_nidd_driver_t **driver)
avs_errno_t anjay_nidd_driver_error_t(anjay_nidd_driver_t *driver)
Definition nidd.h:84
int anjay_nidd_driver_incoming_mtu_t(anjay_nidd_driver_t *driver, size_t *out_mtu)
Definition nidd.h:157
Definition nidd.h:169
anjay_nidd_driver_outgoing_mtu_t * outgoing_mtu
Definition nidd.h:176
anjay_nidd_driver_can_recv_t * can_recv
Definition nidd.h:175
anjay_nidd_driver_error_t * get_error
Definition nidd.h:178
anjay_nidd_driver_recv_t * recv
Definition nidd.h:174
anjay_nidd_driver_incoming_mtu_t * incoming_mtu
Definition nidd.h:177
anjay_nidd_driver_connect_t * connect
Definition nidd.h:170
anjay_nidd_driver_send_t * send
Definition nidd.h:173
anjay_nidd_driver_free_t * free
Definition nidd.h:179
anjay_nidd_driver_disconnect_t * disconnect
Definition nidd.h:171
anjay_nidd_driver_system_descriptor_t * system_descriptor
Definition nidd.h:172