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

NAME

6       ldns_get_rr_list_hosts_frm_fp, ldns_get_rr_list_hosts_frm_file
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       ldns_rr_list* ldns_get_rr_list_hosts_frm_fp(FILE *fp);
16
17       ldns_rr_list* ldns_get_rr_list_hosts_frm_file(char *filename);
18

DESCRIPTION

20       ldns_get_rr_list_hosts_frm_fp()  wade  through  fp  (a  /etc/hosts like
21              file) and return a rr_list containing all the defined  hosts  in
22              there
23              fp: the file pointer to use
24              Returns ldns_rr_list * with the names
25
26       ldns_get_rr_list_hosts_frm_file()  wade  through  fp (a /etc/hosts like
27              file) and return a rr_list containing all the defined  hosts  in
28              there
29              filename: the filename to use (NULL for /etc/hosts)
30              Returns ldns_rr_list * with the names
31

AUTHOR

33       The  ldns  team  at  NLnet Labs. Which consists out of Jelte Jansen and
34       Miek Gieben.
35
36

REPORTING BUGS

38       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  bugzilla  at
39       http://www.nlnetlabs.nl/bugs/index.html
40
41
43       Copyright (c) 2004 - 2006 NLnet Labs.
44
45       Licensed under the BSD License. There is NO warranty; not even for MER‐
46       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
47
48

SEE ALSO

50       ldns_rr_list, ldns_rr,  ldns_get_rr_list_hosts_frm_fp_l.   And  perldoc
51       Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034  and RFC4035.
52

REMARKS

54       This manpage was automaticly generated from the ldns source code by use
55       of Doxygen and some perl.
56
57
58
59                                  30 May 2006                          ldns(3)
Impressum