projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix IPv6 read
[project/mdnsd.git]
/
util.h
diff --git
a/util.h
b/util.h
index
aaa2bd1
..
efee5dc
100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-15,6
+15,7
@@
#define _UTIL_H__
#include <stdint.h>
#define _UTIL_H__
#include <stdint.h>
+#include <time.h>
#define DBG(level, fmt, ...) do { \
if (debug >= level) \
#define DBG(level, fmt, ...) do { \
if (debug >= level) \
@@
-29,9
+30,8
@@
extern uint8_t mdns_buf[MDNS_BUF_LEN];
extern char mdns_hostname[HOSTNAME_LEN];
extern char mdns_hostname_local[HOSTNAME_LEN + 6];
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 void get_hostname(void);
extern uint32_t rand_time_delta(uint32_t t);
+extern time_t monotonic_time(void);
#endif
#endif