summaryrefslogtreecommitdiffstats
path: root/src/timevalarith.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timevalarith.h')
-rw-r--r--src/timevalarith.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/timevalarith.h b/src/timevalarith.h
new file mode 100644
index 0000000..c0c015b
--- /dev/null
+++ b/src/timevalarith.h
@@ -0,0 +1,11 @@
+#ifndef footimevalarithhfoo
+#define footimevalarithhfoo
+
+#include <sys/types.h>
+#include <inttypes.h>
+
+struct timeval timeval_max(struct timeval a, struct timeval b);
+struct timeval timeval_add(struct timeval a, uint32_t d);
+struct timeval timeval_sub(struct timeval a, uint32_t s);
+
+#endif