Query: ldns_dname_interval
OS: centos
Section: 3
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ldns(3) Library Functions Manual ldns(3)NAMEldns_dname_compare, ldns_dname_intervalSYNOPSIS#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> int ldns_dname_compare(const ldns_rdf *dname1, const ldns_rdf *dname2); int ldns_dname_interval(const ldns_rdf *prev, const ldns_rdf *middle, const ldns_rdf *next);DESCRIPTIONldns_dname_compare() Compares the two dname rdf's according to the algorithm for ordering in RFC4034 Section 6. dname1: First dname rdf to compare dname2: Second dname rdf to compare Returns -1 if dname1 comes before dname2, 1 if dname1 comes after dname2, and 0 if they are equal. ldns_dname_interval() check if middle lays in the interval defined by prev and next prev <= middle < next. This is usefull for nsec check- ing prev: the previous dname middle: the dname to check next: the next dname return 0 on error or unknown, -1 when middle is in the interval, +1 when notAUTHORThe ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.REPORTING BUGSPlease report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.htmlCOPYRIGHTCopyright (c) 2004 - 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.SEE ALSOldns_dname_is_subdomain. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.REMARKSThis manpage was automaticly generated from the ldns source code by use of Doxygen and some perl. 30 May 2006 ldns(3)
Related Man Pages |
---|
ldns_dname_left_chop(3) - centos |
ldns_dname_interval(3) - debian |
ldns_dname_compare(3) - centos |
ldns_dname_new_frm_data(3) - centos |
ldns_dname_new(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Too many arguments? |
How to compare two text files in column wise? |