chiark / gitweb /
shared: dns-name - add dns_name_between()
authorTom Gundersen <teg@jklm.no>
Mon, 20 Jul 2015 00:02:45 +0000 (02:02 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:07:02 +0000 (10:07 +0100)
commit9fc688865394518a68539070e10d8c9eb1f0dd6e
tree110e217212c04a52570a443b6a6228f6ea8d95b0
parentf08ce65bef386c42d6a1c0171dac612512772c70
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