#define _UTIL_H__
#include <stdint.h>
+#include <time.h>
#define DBG(level, fmt, ...) do { \
if (debug >= level) \
extern char mdns_hostname[HOSTNAME_LEN];
extern char mdns_hostname_local[HOSTNAME_LEN + 6];
-void *memdup(const void *d, int l);
-
extern void get_hostname(void);
extern uint32_t rand_time_delta(uint32_t t);
+extern time_t monotonic_time(void);
#endif