From 3c3935dc6d5ba6e4ed33bad1e969aa9888bd3a8a Mon Sep 17 00:00:00 2001 From: Nicolas Dato Date: Sun, 5 Nov 2023 15:07:12 -0300 Subject: Adding some initial code. utils.c for some auxiliary functions, and itc.c for intra-tuberia-communication --- src/utils.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/utils.h (limited to 'src/utils.h') 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 + +struct timespec *timespec_add_ms(struct timespec *ts, int timeout_ms); +struct timespec *gettimespec(struct timespec *ts); + +#endif + -- cgit v1.2.3