]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: dns-name - add dns_name_between()
authorTom Gundersen <teg@jklm.no>
Mon, 20 Jul 2015 00:02:45 +0000 (02:02 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 27 Jul 2015 22:07:32 +0000 (00:07 +0200)
commitae72b22c40569de7dba810073ea9da299491ef60
tree91b07210c5c0a539be3797b3b679865e2eeba14b
parent5dfd7011ba4821010825bf1259006bfb9918201c
shared: dns-name - add dns_name_between()

Given three DNS names this function indicates if the second argument lies
strictly between the first and the third according to the canonical DNS
name order. Note that the order is circular, so the last name is
considered to be before the first.
src/shared/dns-domain.c
src/shared/dns-domain.h
src/test/test-dns-domain.c