1tld_default_table(3) libidn tld_default_table(3)
2
3
4
6 tld_default_table - get table for a TLD name
7
9 #include <tld.h>
10
11 const Tld_table * tld_default_table(const char * tld, const Tld_table
12 ** overrides);
13
15 const char * tld
16 TLD name (e.g. "com") as zero terminated ASCII byte string.
17
18 const Tld_table ** overrides
19 Additional zero terminated array of Tld_table info-struc‐
20 tures for TLDs, or NULL to only use library deault tables.
21
23 Get the TLD table for a named TLD, using the internal defaults, possi‐
24 bly overrided by the (optional) supplied tables.
25
27 Return structure corresponding to TLD tld_str, first looking through
28 overrides then thru built-in list, or NULL if no such structure found.
29
31 Report bugs to <bug-libidn@gnu.org>.
32
34 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
35 Permission is granted to make and distribute verbatim copies of this
36 manual provided the copyright notice and this permission notice are
37 preserved on all copies.
38
40 The full documentation for libidn is maintained as a Texinfo manual.
41 If the info and libidn programs are properly installed at your site,
42 the command
43
44 info libidn
45
46 should give you access to the complete manual.
47
48
49
50libidn 0.6.8 tld_default_table(3)