1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_get_rr_list_hosts_frm_fp, ldns_get_rr_list_hosts_frm_file
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ldns_rr_list* ldns_get_rr_list_hosts_frm_fp(FILE *fp);
21
22 ldns_rr_list* ldns_get_rr_list_hosts_frm_file(char *filename);
23
25 ldns_get_rr_list_hosts_frm_fp() wade through fp (a /etc/hosts like
26 file) and return a rr_list containing all the defined hosts in
27 there
28 fp: the file pointer to use
29 Returns ldns_rr_list * with the names
30
31 ldns_get_rr_list_hosts_frm_file() wade through fp (a /etc/hosts like
32 file) and return a rr_list containing all the defined hosts in
33 there
34 filename: the filename to use (NULL for /etc/hosts)
35 Returns ldns_rr_list * with the names
36
38 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
39 Rozendaal and Miek Gieben.
40
41
43 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
44 http://www.nlnetlabs.nl/bugs/index.html
45
46 Be sure to select ldns as the product.
47
48
50 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
51 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
52 PARTICULAR PURPOSE.
53
54
56 ldns_get_rr_list_hosts_frm_fp_l. And perldoc Net::DNS, RFC1043,
57 RFC1035, RFC4033, RFC4034 and RFC4035.
58
60 This manpage was automaticly generated from the ldns source code by use
61 of Doxygen and some perl.
62
63
64
65 ldns(25 Apr 2005)