summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-11 16:42:46 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-11 16:43:37 +0200
commitcfbc22abd0525570a6e58968d518ea9a7d0403ba (patch)
tree75654346772c2d74c1b1837d1cf7c4b545d56cdf /src/shared/util.h
parentfb5d873cfd4606383964c707da0ec21ebaa1c04b (diff)
journalctl: implement --since= and --until for filtering by time
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index cbded08617..50911ebb34 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -561,3 +561,5 @@ _malloc_ static inline void *memdup_multiply(const void *p, size_t a, size_t b)
bool filename_is_safe(const char *p);
bool string_is_safe(const char *p);
+
+int parse_timestamp(const char *t, usec_t *usec);