aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 0f8e07d..513da66 100644
--- a/utils.h
+++ b/utils.h
@@ -3,6 +3,8 @@
#include <stdlib.h>
+#define TIMESTAMP_STRLEN 32
+
struct cmd_options {
/* server: private key
* client: server public key
@@ -31,4 +33,6 @@ char * prettify_bytes_with_units(char * const out, size_t out_size, unsigned lon
int hostname_to_address(char const * const host, char const * const port, struct addrinfo ** const result);
+void strftime_local(double time_in_secs, char * const out, size_t out_size);
+
#endif