summaryrefslogtreecommitdiffstats
path: root/misc.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-08-22 18:29:20 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-08-22 18:29:20 +0000
commit8e9666d57550398eabd619b34d90ec69d69eb218 (patch)
tree9b4e7f4693a085cafc910534844434aac8ba104e /misc.h
parentb69d5cc8f54d159ee4df3e3bd36b185fa183da40 (diff)
downloadopenvpn-8e9666d57550398eabd619b34d90ec69d69eb218.tar.gz
openvpn-8e9666d57550398eabd619b34d90ec69d69eb218.tar.xz
openvpn-8e9666d57550398eabd619b34d90ec69d69eb218.zip
Added --remote-random-hostname option.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4843 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.h')
-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
*/