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
27 Return structure corresponding to TLD tld by going thru tables, or
28 return NULL if no such structure is found.
29
31 Report bugs to <bug-libidn@gnu.org>. GNU Libidn home page:
32 http://www.gnu.org/software/libidn/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
37 Josefsson.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.
41
43 The full documentation for libidn is maintained as a Texinfo manual.
44 If the info and libidn programs are properly installed at your site,
45 the command
46
47 info libidn
48
49 should give you access to the complete manual.
50
51
52
53libidn 1.18 tld_get_table(3)