tld_default_table.3   [plain text]


.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "tld_default_table" 3 "0.6.14" "libidn" "libidn"
.SH NAME
tld_default_table \- get table for a TLD name
.SH SYNOPSIS
.B #include <tld.h>
.sp
.BI "const Tld_table * tld_default_table(const char * " tld ", const Tld_table ** " overrides ");"
.SH ARGUMENTS
.IP "const char * tld" 12
TLD name (e.g. "com") as zero terminated ASCII byte string.
.IP "const Tld_table ** overrides" 12
Additional zero terminated array of \fBTld_table\fP
info-structures for TLDs, or \fBNULL\fP to only use library deault
tables.
.SH "DESCRIPTION"
Get the TLD table for a named TLD, using the internal defaults,
possibly overrided by the (optional) supplied tables.
.SH "RETURN VALUE"
Return structure corresponding to TLD \fItld_str\fP, first
looking through \fIoverrides\fP then thru built\-in list, or \fBNULL\fP if
no such structure found.
.SH "REPORTING BUGS"
Report bugs to <bug-libidn@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B libidn
is maintained as a Texinfo manual.  If the
.B info
and
.B libidn
programs are properly installed at your site, the command
.IP
.B info libidn
.PP
should give you access to the complete manual.