diff options
Diffstat (limited to 'dbutil.h')
-rw-r--r-- | dbutil.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -106,4 +106,9 @@ int m_str_to_uint(const char* str, unsigned int *val); /* Returns 0 if a and b have the same contents */ int constant_time_memcmp(const void* a, const void *b, size_t n); +/* Returns a time in seconds that doesn't go backwards - does not correspond to +a real-world clock */ +time_t monotonic_now(); + + #endif /* _DBUTIL_H_ */ |