diff options
author | james | 2009-08-22 18:29:20 +0000 |
---|---|---|
committer | james | 2009-08-22 18:29:20 +0000 |
commit | 8e9666d57550398eabd619b34d90ec69d69eb218 (patch) | |
tree | 9b4e7f4693a085cafc910534844434aac8ba104e /misc.h | |
parent | b69d5cc8f54d159ee4df3e3bd36b185fa183da40 (diff) | |
download | openvpn-8e9666d57550398eabd619b34d90ec69d69eb218.zip openvpn-8e9666d57550398eabd619b34d90ec69d69eb218.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |