diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-23 21:21:13 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-23 21:31:29 +0100 |
commit | 0e8eedbb490b8928d4fa4e33f565a3cda5013018 (patch) | |
tree | 0b5a15e7944c1d726af9fb59845b1634253347fa /src/firstboot | |
parent | a5ef363808b100856783784654de9b6bf2110173 (diff) |
dns-domain: add calls to join/split SRV/DNS-SD service domains
This adds dns_service_join() and dns_service_split() which may be used
to concatenate a DNS-SD service name, am SRV service type string, and a
domain name into a full resolvable DNS domain name string. If the
service name is specified as NULL, only the type and domain are
appended, to implement classic, non-DNS-SD SRV lookups.
The reverse is dns_service_split() which takes the full name, and split
it into the three components again.
Diffstat (limited to 'src/firstboot')
0 files changed, 0 insertions, 0 deletions