summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-23 21:21:13 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-23 21:31:29 +0100
commit0e8eedbb490b8928d4fa4e33f565a3cda5013018 (patch)
tree0b5a15e7944c1d726af9fb59845b1634253347fa /src/resolve/resolved-manager.c
parenta5ef363808b100856783784654de9b6bf2110173 (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/resolve/resolved-manager.c')
0 files changed, 0 insertions, 0 deletions