summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbutil.h b/dbutil.h
index 4c7b123..afc49ff 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -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_ */