aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
new file mode 100644
index 0000000..464e7dc
--- /dev/null
+++ b/common/util.h
@@ -0,0 +1,13 @@
+#ifndef _UTIL_H_
+#define _UTIL_H_
+
+#include <features.h>
+#include <time.h>
+
+#ifndef UNUSED
+#define UNUSED __attribute__ ((__unused__))
+#endif
+
+void convert_iso8601(const char *time_string, int ts_len, struct tm *tm_data);
+
+#endif