![]() |
libtld 2.0.14
A library to determine the Top-Level Domain name of any Internet URI.
|
Declaration of the static TLDs file. More...
#include <stdint.h>
Go to the source code of this file.
Functions | |
uint32_t | tld_get_static_tlds_buffer_size () |
Get the size of the TLDs static buffer. | |
Variables | |
const uint8_t | tld_static_tlds [] |
The generated tld_data.c source file is a binary copy of the TLD data created at compile time. It is done that way so if the library is not able to find a .tld file, it can use its internal version as a fallback.
The file format and contents is defined in the tld_file.h and tld_file.cpp.
Definition in file tld_data.h.
|
extern |
This function is used to retrieve the size of the TLD buffer saved statically inside the library. This buffer gets used whenever the external tlds.tld file cannot be used for whatever reason. The size is used to create an std::stringstream file with the static data which is read as if the data came from a disk file.
Definition at line 1662 of file tld.cpp.
Referenced by tld_load_tlds().
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.