chiark / gitweb /
journal: add ability to list values a specified field can take in all entries of...
[elogind.git] / src / shared / util.h
index 61b88a8b2e6ad0279dea5ecef46609b72115605a..50911ebb34ffc003d75eb02116d736a9b9e1c73f 100644 (file)
@@ -558,3 +558,8 @@ _malloc_ static inline void *memdup_multiply(const void *p, size_t a, size_t b)
 
         return memdup(p, a * b);
 }
+
+bool filename_is_safe(const char *p);
+bool string_is_safe(const char *p);
+
+int parse_timestamp(const char *t, usec_t *usec);