diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-23 22:53:30 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-23 22:53:30 +0100 |
commit | 1f233d4c24a6c95d34cf0fe5d9c31b5440102479 (patch) | |
tree | 06a8eb4a76bc956f2b210f5c208ae51c7a9efa59 /src/shared/dns-domain.h | |
parent | e429762faaac0c49353d35144a9d45d283e91213 (diff) | |
parent | 45ec7efb6c2560c80dfa752bc9d3733749dc52cb (diff) |
Merge pull request #2007 from poettering/resolve-srv
resolved: add support for resolving plain SRV and DNS-SD services
Diffstat (limited to 'src/shared/dns-domain.h')
-rw-r--r-- | src/shared/dns-domain.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shared/dns-domain.h b/src/shared/dns-domain.h index b214897440..c6d7623e09 100644 --- a/src/shared/dns-domain.h +++ b/src/shared/dns-domain.h @@ -69,3 +69,10 @@ 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); + +int dns_service_join(const char *name, const char *type, const char *domain, char **ret); +int dns_service_split(const char *joined, char **name, char **type, char **domain); |