anjay
stats.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 #ifndef ANJAY_INCLUDE_ANJAY_STATS_H
10 #define ANJAY_INCLUDE_ANJAY_STATS_H
11 
12 #include <anjay/core.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
23 uint64_t anjay_get_tx_bytes(anjay_t *anjay);
24 
30 uint64_t anjay_get_rx_bytes(anjay_t *anjay);
31 
39 
48 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif
52 
53 #endif /* ANJAY_INCLUDE_ANJAY_STATS_H */
struct anjay_struct anjay_t
Definition: core.h:45
uint64_t anjay_get_rx_bytes(anjay_t *anjay)
uint64_t anjay_get_num_outgoing_retransmissions(anjay_t *anjay)
uint64_t anjay_get_num_incoming_retransmissions(anjay_t *anjay)
uint64_t anjay_get_tx_bytes(anjay_t *anjay)