aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 8bc1e8f..bf51e89 100644
--- a/misc.h
+++ b/misc.h
@@ -230,6 +230,9 @@ bool delete_file (const char *filename);
/* return true if pathname is absolute */
bool absolute_pathname (const char *pathname);
+/* prepend a random prefix to hostname (need USE_CRYPTO) */
+const char *hostname_randomize(const char *hostname, struct gc_arena *gc);
+
/*
* Get and store a username/password
*/