1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_getaddrinfo
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 uint16_t ldns_getaddrinfo(ldns_resolver *res, ldns_rdf *node,
21 ldns_rr_class c, ldns_rr_list **list);
22
24 ldns_getaddrinfo() This function is a wrapper function for
25 ldns_get_rr_list_name_by_addr and ldns_get_rr_list_addr_by_name.
26 It's name is from the getaddrinfo() library call. It tries to
27 mimic that call, but without the lowlevel stuff.
28 res: The resolver. If this value is NULL then a resolver will be
29 created by ldns_getaddrinfo.
30 node: the name or ip address to look up
31 c: the class to look in
32 list: put the found RR's in this list
33 Returns the number of RR found.
34
36 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
37 Rozendaal and Miek Gieben.
38
39
41 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
42 http://www.nlnetlabs.nl/bugs/index.html
43
44 Be sure to select ldns as the product.
45
46
48 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
49 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
50 PARTICULAR PURPOSE.
51
53 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
54
56 This manpage was automaticly generated from the ldns source code by use
57 of Doxygen and some perl.
58
59
60
61 ldns(25 Apr 2005)