1tld_get_table(3) libidn tld_get_table(3)
2
3
4
6 tld_get_table - API function
7
9 #include <tld.h>
10
11 const Tld_table * tld_get_table(const char * tld, const Tld_table **
12 tables);
13
15 const char * tld
16 TLD name (e.g. "com") as zero terminated ASCII byte string.
17
18 const Tld_table ** tables
19 Zero terminated array of Tld_table info-structures for
20 TLDs.
21
23 Get the TLD table for a named TLD by searching through the given TLD
24 table array.
25
26 Return value: Return structure corresponding to TLD tld by going thru
27 tables , or return NULL if no such structure is found.
28
30 Get the TLD table for a named TLD by searching through the given TLD
31 table array.
32
33 Return value: Return structure corresponding to TLD tld by going thru
34 tables , or return NULL if no such structure is found.
35
37 Report bugs to <help-libidn@gnu.org>.
38 General guidelines for reporting bugs: http://www.gnu.org/gethelp/
39 GNU Libidn home page: http://www.gnu.org/software/libidn/
40
41
43 Copyright © 2002-2021 Simon Josefsson.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright no‐
46 tice and this notice are preserved.
47
49 The full documentation for libidn is maintained as a Texinfo manual.
50 If the info and libidn programs are properly installed at your site,
51 the command
52
53 info libidn
54
55 should give you access to the complete manual. As an alternative you
56 may obtain the manual from:
57
58 http://www.gnu.org/software/libidn/manual/
59
60libidn 1.38 tld_get_table(3)