ldns(3) Library Functions Manual ldns(3)

ldns_dname_cat_clone, ldns_dname_cat - concatenate two dnames

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

ldns_rdf* ldns_dname_cat_clone(const ldns_rdf *rd1, const ldns_rdf *rd2);

ldns_status ldns_dname_cat(ldns_rdf *rd1, const ldns_rdf *rd2);

ldns_dname_cat_clone() concatenates two dnames together
rd1: the leftside
rd2: the rightside
Returns a new rdf with leftside/rightside

ldns_dname_cat() concatenates rd2 after rd1 (rd2 is copied, rd1 is modified)
rd1: the leftside
rd2: the rightside
Returns LDNS_STATUS_OK on success

The ldns team at NLnet Labs.

Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html

Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

This manpage was automatically generated from the ldns source code.

30 May 2006