Program Listing for File time.h

Return to documentation for file (include_public/anj/compat/time.h)

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

#include <anj/init.h>

#ifndef ANJ_COMPAT_TIME_H
#    define ANJ_COMPAT_TIME_H

#    include <anj/time.h>
#    include <stdint.h>

#    ifdef __cplusplus
extern "C" {
#    endif

anj_time_monotonic_t anj_time_monotonic_now(void);

anj_time_real_t anj_time_real_now(void);

#    ifdef __cplusplus
}
#    endif

#endif // ANJ_COMPAT_TIME_H