1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_zone_new,        ldns_zone_deep_free,        ldns_zone_new_frm_fp,
7       ldns_zone_new_frm_fp_l
8
9

SYNOPSIS

11       #include <stdint.h>
12       #include <stdbool.h>
13
14       #include <ldns/ldns.h>
15
16        ldns_zone_new();
17
18       void ldns_zone_deep_free(ldns_zone *zone);
19
20       ldns_status  ldns_zone_new_frm_fp(ldns_zone  **z,  FILE  *fp,  ldns_rdf
21       *origin, uint32_t ttl, ldns_rr_class c);
22
23       ldns_status  ldns_zone_new_frm_fp_l(ldns_zone  **z,  FILE *fp, ldns_rdf
24       *origin, uint32_t ttl, ldns_rr_class c, int *line_nr);
25

DESCRIPTION

27       ldns_zone_new()
28
29       ldns_zone_deep_free() Frees the allocated memory for the zone, the  soa
30              rr in it, and the rr_list structure in it, including the rr's in
31              that. etc.
32              zone: the zone to free
33
34       ldns_zone_new_frm_fp() Create a new zone from a file
35              z: the new zone
36              *fp: the filepointer to use
37              *origin: the zones' origin
38              ttl: default ttl to use
39              c: default class to use (IN)
40
41              Returns ldns_status mesg with an error or LDNS_STATUS_OK
42
43       ldns_zone_new_frm_fp_l() Create a new zone from a file, keep  track  of
44              the line numbering
45              z: the new zone
46              *fp: the filepointer to use
47              *origin: the zones' origin
48              ttl: default ttl to use
49              c: default class to use (IN)
50              line_nr: used for error msg, to get to the line number
51
52              Returns ldns_status mesg with an error or LDNS_STATUS_OK
53

AUTHOR

55       The  ldns  team  at  NLnet Labs. Which consists out of Jelte Jansen and
56       Miek Gieben.
57
58

REPORTING BUGS

60       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  bugzilla  at
61       http://www.nlnetlabs.nl/bugs/index.html
62
63
65       Copyright (c) 2004 - 2006 NLnet Labs.
66
67       Licensed under the BSD License. There is NO warranty; not even for MER‐
68       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
69
70

SEE ALSO

72       ldns_zone.  And perldoc Net::DNS, RFC1034,  RFC1035,  RFC4033,  RFC4034
73       and RFC4035.
74

REMARKS

76       This manpage was automaticly generated from the ldns source code by use
77       of Doxygen and some perl.
78
79
80
81                                  30 May 2006                          ldns(3)
Impressum