ldns - Online Linux Manual PageSection : 3
Updated : 30 May 2006

NAMEldns_dnssec_name_new, ldns_dnssec_name_new_frm_rr, ldns_dnssec_name_free, ldns_dnssec_name_name, ldns_dnssec_name_set_name, ldns_dnssec_name_set_nsec, ldns_dnssec_name_cmp, ldns_dnssec_name_add_rr, ldns_dnssec_name_find_rrset, ldns_dnssec_name_print − functions for ldns_dnssec_name

SYNOPSIS#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h> ldns_dnssec_name* ldns_dnssec_name_new(void); ldns_dnssec_name* ldns_dnssec_name_new_frm_rr(ldns_rr *rr); void ldns_dnssec_name_free(ldns_dnssec_name *name); ldns_rdf* ldns_dnssec_name_name(const ldns_dnssec_name *name); void ldns_dnssec_name_set_name(ldns_dnssec_name *name, ldns_rdf *dname); void ldns_dnssec_name_set_nsec(ldns_dnssec_name *name, ldns_rr *nsec); int ldns_dnssec_name_cmp(const void *a, const void *b); ldns_status ldns_dnssec_name_add_rr(ldns_dnssec_name *name, ldns_rr *rr); ldns_dnssec_rrsets* ldns_dnssec_name_find_rrset(const ldns_dnssec_name *name, ldns_rr_type type); void ldns_dnssec_name_print(FILE *out, const ldns_dnssec_name *name);

DESCRIPTIONldns_dnssec_name_new() Create a new data structure for a dnssec name
Returns the allocated structure
ldns_dnssec_name_new_frm_rr() Create a new data structure for a dnssec name for the given ­RR
rr: the ­RR to derive properties from, and to add to the name
ldns_dnssec_name_free() Frees the name structure and its rrs and rrsets. Individual ldns_rr records therein are not freed
name: the structure to free
ldns_dnssec_name_name() Returns the domain name of the given dnssec_name structure
name: the dnssec name to get the domain name from
Returns the domain name
ldns_dnssec_name_set_name() Sets the domain name of the given dnssec_name structure
name: the dnssec name to set the domain name of
dname: the domain name to set it to. This data is *not* copied.
ldns_dnssec_name_set_nsec() Sets the ­NSEC(3) ­RR of the given dnssec_name structure
name: the dnssec name to set the domain name of
nsec: the nsec rr to set it to. This data is *not* copied.
ldns_dnssec_name_cmp() Compares the domain names of the two arguments in their canonical ordening.
a: The first dnssec_name to compare
b: The second dnssec_name to compare
Returns -1 if the domain name of a comes before that of b in canonical ordening, 1 if it is the other way around, and 0 if they are equal
ldns_dnssec_name_add_rr() Inserts the given rr at the right place in the current dnssec_name No checking is done whether the name matches
name: The ldns_dnssec_name to add the ­RR to
rr: The ­RR to add
Returns ­LDNS_STATUS_OK on success, error code otherwise
ldns_dnssec_name_find_rrset() Find the RRset with the given type in within this name structure
name: the name to find the RRset in
type: the type of the RRset to find
Returns the RRset, or ­NULL if not present
ldns_dnssec_name_print() Prints the RRs in the dnssec name structure to the given file descriptor
out: the file descriptor to print to
name: the name structure to print the contents of

AUTHORThe ldns team at NLnet Labs.

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

COPYRIGHTCopyright (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_dnssec_zone. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

REMARKSThis manpage was automatically generated from the ldns source code.
0
Johanes Gumabo
Data Size   :   13,870 byte
man-ldns_dnssec_name_name.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 202,159
Visitor ID   :     :  
Visitor IP   :   18.118.151.112   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.