from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209586

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149882

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ldns

Section: C Library Functions (3)
Updated: 30 May 2006
Index Return to Main Contents
 

NAME

ldns_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);

 

DESCRIPTION

ldns_dnssec_name_new()
Create a new data structure for a dnssec name .br Returns the allocated structure

ldns_dnssec_name_new_frm_rr()
Create a new data structure for a dnssec name for the given RR

.br 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

.br name: the structure to free

ldns_dnssec_name_name()
Returns the domain name of the given dnssec_name structure

.br name: the dnssec name to get the domain name from .br Returns the domain name

ldns_dnssec_name_set_name()
Sets the domain name of the given dnssec_name structure

.br name: the dnssec name to set the domain name of .br 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

.br name: the dnssec name to set the domain name of .br 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 ordering.

.br a: The first dnssec_name to compare .br b: The second dnssec_name to compare .br Returns-1 if the domain name of a comes before that of b in canonical ordering, 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

.br name: The ldns_dnssec_name to add the RR to .br rr: The RR to add .br 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

.br name: the name to find the RRset in .br type: the type of the RRset to find .br 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

.br out: the file descriptor to print to .br name: the name structure to print the contents of

 

AUTHOR

The ldns team at NLnet Labs.

 

REPORTING BUGS

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

 

COPYRIGHT

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.

 

SEE ALSO

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

REMARKS

This manpage was automatically generated from the ldns source code.


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
REPORTING BUGS
COPYRIGHT
SEE ALSO
REMARKS





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.8 ms