diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/utils.h b/src/utils.h index acb5f71..b019454 100644 --- a/src/utils.h +++ b/src/utils.h @@ -46,6 +46,7 @@ #ifndef UTILS_H #define UTILS_H 1 +#include <stdlib.h> #include <stdint.h> #include "pconfig.h" @@ -58,9 +59,7 @@ 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 +void log_sendrecv_hexstr(const char * prefix, void *buf, size_t siz); int pt_random(void); |