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

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

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

REMARKS

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