summaryrefslogtreecommitdiff
path: root/src/shared/dns-domain.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-18 20:18:28 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-18 23:31:15 +0100
commit0cf40f5527501f80044c1a2612781dd552d46591 (patch)
tree733e1eef66b2b7160defbe1e863b4d6c8c77ad9c /src/shared/dns-domain.h
parent6228dc518f13f189a68144ab46bf055469615e3b (diff)
resolved add dns_name_apply_idna() to convert a domain name into its IDNA equivalent
Diffstat (limited to 'src/shared/dns-domain.h')
-rw-r--r--src/shared/dns-domain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/dns-domain.h b/src/shared/dns-domain.h
index 5f9542ef98..40c9ee5f27 100644
--- a/src/shared/dns-domain.h
+++ b/src/shared/dns-domain.h
@@ -108,3 +108,5 @@ int dns_name_skip(const char *a, unsigned n_labels, const char **ret);
int dns_name_equal_skip(const char *a, unsigned n_labels, const char *b);
int dns_name_common_suffix(const char *a, const char *b, const char **ret);
+
+int dns_name_apply_idna(const char *name, char **ret);