aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
new file mode 100644
index 0000000..a98763a
--- /dev/null
+++ b/src/utils.h
@@ -0,0 +1,10 @@
+#ifndef __LIBTUBERIA_UTILS_H__
+#define __LIBTUBERIA_UTILS_H__
+
+#include <sys/time.h>
+
+struct timespec *timespec_add_ms(struct timespec *ts, int timeout_ms);
+struct timespec *gettimespec(struct timespec *ts);
+
+#endif
+