diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-03-28 07:50:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-03-28 07:50:47 -0400 |
commit | 6317aa2cc03a3b7a6f9fd4a4bdd99447f7914493 (patch) | |
tree | 9be2e06a8f24eca26924fcfaa33edfc474782332 /src/common/util.h | |
parent | fa6eaab83e05a11b60735f7bf4064b05e7085230 (diff) | |
parent | d416e208e4e94c2b4ccd4e11013151c72180faff (diff) | |
download | tor-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.h | 3 |
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); |