summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-03-28 07:50:47 -0400
committerNick Mathewson <nickm@torproject.org>2018-03-28 07:50:47 -0400
commit6317aa2cc03a3b7a6f9fd4a4bdd99447f7914493 (patch)
tree9be2e06a8f24eca26924fcfaa33edfc474782332 /src/common/util.h
parentfa6eaab83e05a11b60735f7bf4064b05e7085230 (diff)
parentd416e208e4e94c2b4ccd4e11013151c72180faff (diff)
downloadtor-6317aa2cc03a3b7a6f9fd4a4bdd99447f7914493.tar.gz
tor-6317aa2cc03a3b7a6f9fd4a4bdd99447f7914493.zip
Merge branch 'maint-0.3.3'
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 653c154aba..aeed8e8230 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -229,7 +229,8 @@ const char *find_str_at_start_of_line(const char *haystack,
const char *needle);
int string_is_C_identifier(const char *string);
int string_is_key_value(int severity, const char *string);
-int string_is_valid_hostname(const char *string);
+int string_is_valid_dest(const char *string);
+int string_is_valid_nonrfc_hostname(const char *string);
int string_is_valid_ipv4_address(const char *string);
int string_is_valid_ipv6_address(const char *string);