diff options
author | Nicolas Dato <nicolas.dato@gmail.com> | 2023-11-05 15:07:12 -0300 |
---|---|---|
committer | Nicolas Dato <nicolas.dato@gmail.com> | 2023-11-05 15:07:12 -0300 |
commit | 3c3935dc6d5ba6e4ed33bad1e969aa9888bd3a8a (patch) | |
tree | ef6e9118e42c23ed7fb0b363ab47c6f1cc81b11b /src/utils.h | |
parent | 0ad04cccbecd82d2683b54338b8dd088492b7215 (diff) | |
download | libtuberia-3c3935dc6d5ba6e4ed33bad1e969aa9888bd3a8a.tar.gz |
Adding some initial code. utils.c for some auxiliary functions, and itc.c for intra-tuberia-communication
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 10 |
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 + |