tld_default_table(3)

tld_default_table3

Api function

Usage

#include <tld.h>

const Tld_table * tld_default_table(const char * tld, const Tld_table ** overrides);

Arguments

const char * tld

TLD name (e.g. "com") as zero terminated ASCII byte string.

const Tld_table ** overrides

Additional zero terminated array of Tld_table info-structures for TLDs, or NULL to only use library default tables.

Overview

Get the TLD table for a named TLD, using the internal defaults, possibly overridden by the (optional) supplied tables.

Return value: Return structure corresponding to TLD tld_str , first looking through overrides then thru built-in list, or NULL if no such structure found.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9–11
  7. 12
  8. 13
  9. Arch

Reporting bugs

Report bugs to <[email protected]>.
General guidelines for reporting bugs: https://www.gnu.org/gethelp/
GNU Libidn home page: https://www.gnu.org/software/libidn/

From libidn 1.44-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.