aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 7a2b551..e0355d1 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,12 +1,16 @@
#ifndef UTILS_H
#define UTILS_H 1
+#include <stdint.h>
+
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
void pt_log(int level, const char *fmt, ...);
double time_as_double(void);
+int host_to_addr(const char *hostname, uint32_t *result);
+
#if 0
void print_hexstr(unsigned char *buf, size_t siz);
#endif