1tld_default_table(3) libidn tld_default_table(3)
2
3
4
6 tld_default_table - API function
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 default tables.
21
23 Get the TLD table for a named TLD, using the internal defaults, possi‐
24 bly overridden by the (optional) supplied tables.
25
26 Return value: Return structure corresponding to TLD tld_str , first
27 looking through overrides then thru built-in list, or NULL if no such
28 structure found.
29
31 Report bugs to <help-libidn@gnu.org>.
32 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
33 GNU Libidn home page: https://www.gnu.org/software/libidn/
34
35
37 Copyright © 2002-2022 Simon Josefsson.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright no‐
40 tice 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. As an alternative you
50 may obtain the manual from:
51
52 https://www.gnu.org/software/libidn/manual/
53
54libidn 1.41 tld_default_table(3)