tld_get_table.3   [plain text]


.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "tld_get_table" 3 "0.6.14" "libidn" "libidn"
.SH NAME
tld_get_table \- get table for a TLD name in table
.SH SYNOPSIS
.B #include <tld.h>
.sp
.BI "const Tld_table * tld_get_table(const char * " tld ", const Tld_table ** " tables ");"
.SH ARGUMENTS
.IP "const char * tld" 12
TLD name (e.g. "com") as zero terminated ASCII byte string.
.IP "const Tld_table ** tables" 12
Zero terminated array of \fBTld_table\fP info-structures for
TLDs.
.SH "DESCRIPTION"
Get the TLD table for a named TLD by searching through the given
TLD table array.
.SH "RETURN VALUE"
Return structure corresponding to TLD \fItld\fP by going
thru \fItables\fP, or return \fBNULL\fP if no such structure is 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.