Program Listing for File stats.h

Return to documentation for file (include_public/anjay/stats.h)

/*
 * Copyright 2017-2026 AVSystem <avsystem@avsystem.com>
 * AVSystem Anjay LwM2M SDK
 * All rights reserved.
 *
 * Licensed under AVSystem Anjay LwM2M Client SDK - Non-Commercial License.
 * See the attached LICENSE file for details.
 */
#ifndef ANJAY_INCLUDE_ANJAY_STATS_H
#define ANJAY_INCLUDE_ANJAY_STATS_H

#include <anjay/core.h>

#ifdef __cplusplus
extern "C" {
#endif

uint64_t anjay_get_tx_bytes(anjay_t *anjay);

uint64_t anjay_get_rx_bytes(anjay_t *anjay);

uint64_t anjay_get_num_incoming_retransmissions(anjay_t *anjay);

uint64_t anjay_get_num_outgoing_retransmissions(anjay_t *anjay);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* ANJAY_INCLUDE_ANJAY_STATS_H */