.. _file_include_public_anj_compat_time.h: File time.h =========== |exhale_lsh| :ref:`Parent directory ` (``include_public/anj/compat``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Platform compatibility hooks for obtaining current time. .. contents:: Contents :local: :backlinks: none Definition (``include_public/anj/compat/time.h``) ------------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_include_public_anj_compat_time.h.rst Detailed Description -------------------- This header declares a minimal API that platform integrators (or end users) can implement to provide current time to Anjay Lite: - :ref:`exhale_function_compat_2time_8h_1a8ba36b47a85f61437601bb5ee1b48884` — monotonic time point (from an arbitrary epoch, typically boot) - :ref:`exhale_function_compat_2time_8h_1a313e6a02d1d9c2829486a8c8af00990d` — real/calendar time since Unix epoch The concrete implementation is platform-specific and may live in the application, BSP, or OS abstraction layer. The returned values use the same types and semantics as defined in :ref:`file_include_public_anj_time.h`. Includes -------- - ``anj/init.h`` (:ref:`file_include_public_anj_init.h`) - ``anj/time.h`` (:ref:`file_include_public_anj_time.h`) - ``stdint.h`` Functions --------- - :ref:`exhale_function_compat_2time_8h_1a8ba36b47a85f61437601bb5ee1b48884` - :ref:`exhale_function_compat_2time_8h_1a313e6a02d1d9c2829486a8c8af00990d`