File time.h
↰ Parent directory (include_public/anj/compat)
Platform compatibility hooks for obtaining current time.
Definition (include_public/anj/compat/time.h)
Detailed Description
This header declares a minimal API that platform integrators (or end users) can implement to provide current time to Anjay Lite:
Function anj_time_monotonic_now — monotonic time point (from an arbitrary epoch, typically boot)
Function anj_time_real_now — 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 File time.h.
Includes
anj/init.h(File init.h)anj/time.h(File time.h)stdint.h