summaryrefslogtreecommitdiff
path: root/src/shared/dns-domain.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-20 17:52:36 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-23 21:31:28 +0100
commit0a49b6b6dce3a756bd8c4d458a34c2d8035ae99d (patch)
tree5d898be726a9560f44184a9d0af43d7de2c09cd7 /src/shared/dns-domain.h
parente429762faaac0c49353d35144a9d45d283e91213 (diff)
dns-domain: add code for verifying validity of DNS-SD service names and types
Diffstat (limited to 'src/shared/dns-domain.h')
-rw-r--r--src/shared/dns-domain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/dns-domain.h b/src/shared/dns-domain.h
index b214897440..22c394443b 100644
--- a/src/shared/dns-domain.h
+++ b/src/shared/dns-domain.h
@@ -69,3 +69,7 @@ int dns_name_root(const char *name);
int dns_name_single_label(const char *name);
int dns_name_to_wire_format(const char *domain, uint8_t *buffer, size_t len);
+
+int dns_srv_type_verify(const char *name);
+
+bool dns_service_name_is_valid(const char *name);