summaryrefslogtreecommitdiff
path: root/dtime_now.h
diff options
context:
space:
mode:
Diffstat (limited to 'dtime_now.h')
-rw-r--r--dtime_now.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/dtime_now.h b/dtime_now.h
new file mode 100644
index 0000000..411534b
--- /dev/null
+++ b/dtime_now.h
@@ -0,0 +1,18 @@
+
+
+extern double dtime_realtime (void);
+
+extern double dtime_monotonic (void);
+
+
+void timestamp_now (char *result, int result_size, int show_ms);
+
+void timestamp_user_format (char *result, int result_size, char *user_format);
+
+void timestamp_filename (char *result, int result_size);
+
+
+// FIXME: remove temp workaround.
+// Needs many scattered updates.
+
+#define dtime_now dtime_realtime