1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_get_rr_list_hosts_frm_fp_l
7
8
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_l(FILE *fp, int *line_nr);
16
18 ldns_get_rr_list_hosts_frm_fp_l() wade through fp (a /etc/hosts like
19 file) and return a rr_list containing all the defined hosts in
20 there
21 fp: the file pointer to use
22 line_nr: pointer to an integer containing the current line num‐
23 ber (for debugging purposes)
24 Returns ldns_rr_list * with the names
25
27 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
28 Miek Gieben.
29
30
32 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
33 http://www.nlnetlabs.nl/bugs/index.html
34
35
37 Copyright (c) 2004 - 2006 NLnet Labs.
38
39 Licensed under the BSD License. There is NO warranty; not even for MER‐
40 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
41
42
44 ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
45 and RFC4035.
46
48 This manpage was automaticly generated from the ldns source code by use
49 of Doxygen and some perl.
50
51
52
53 30 May 2006 ldns(3)