chiark / gitweb /
bus: properly shift cgroup data returned from kdbus by the container's root before...
[elogind.git] / src / shared / time-util.h
index 0a3a98b1879f2b4b4427034f7916e1275167faaa..913821a6bddeaec60be7e1d80bc528f12d90d7ff 100644 (file)
@@ -58,6 +58,8 @@ typedef struct dual_timestamp {
 #define FORMAT_TIMESTAMP_RELATIVE_MAX 256
 #define FORMAT_TIMESPAN_MAX 64
 
+#define DUAL_TIMESTAMP_NULL ((struct dual_timestamp) { 0, 0 })
+
 usec_t now(clockid_t clock);
 
 dual_timestamp* dual_timestamp_get(dual_timestamp *ts);