diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-12-05 17:33:51 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-12-05 17:33:51 +0000 |
commit | 8d4fd94fc8332b23f757443841a5c19c104a9bb8 (patch) | |
tree | 4763b4cdbdd13f28efbe07ebfc0486536713c577 /util.h | |
parent | a3b571996ea5cb0227b36a20f3fc0986f7ab1b7d (diff) |
move source files to src/
git-svn-id: file:///home/lennart/svn/public/nss-mdns/trunk@51 0ee8848e-81ea-0310-a63a-f631d1a40d77
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -1,21 +0,0 @@ -#ifndef fooutilhfoo -#define fooutilhfoo - -#include <sys/time.h> -#include <time.h> -#include <inttypes.h> - -typedef uint64_t usec_t; - -usec_t timeval_diff(const struct timeval *a, const struct timeval *b); -int timeval_cmp(const struct timeval *a, const struct timeval *b); -usec_t timeval_age(const struct timeval *tv); -void timeval_add(struct timeval *tv, usec_t v); - -int set_nonblock(int fd); -int set_cloexec(int fd); - -int wait_for_write(int fd, struct timeval *end); -int wait_for_read(int fd, struct timeval *end); - -#endif |