summaryrefslogtreecommitdiffabout
path: root/include/napkin/util.h
Side-by-side diff
Diffstat (limited to 'include/napkin/util.h') (more/less context) (show whitespace changes)
-rw-r--r--include/napkin/util.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/napkin/util.h b/include/napkin/util.h
new file mode 100644
index 0000000..bf7946d
--- a/dev/null
+++ b/include/napkin/util.h
@@ -0,0 +1,14 @@
+#ifndef __NAPKIN_UTIL_H
+#define __NAPKIN_UTIL_H
+
+#include <time.h>
+#include <string>
+
+namespace napkin {
+ using std::string;
+
+ string strftime(const char *fmt,time_t t);
+
+}
+
+#endif /* __NAPKIN_UTIL_H */