Next: Initialization, Up: Preparation
The library contains a few independent parts, and each part export the interfaces (data types and functions) in a header file. You must include the appropriate header files in all programs using the library, either directly or through some other header file, like this:
#include <stringprep.h>
The header files and the functions they define are categorized as follows:
The name space of the stringprep part of Libidn is stringprep*
for function names, Stringprep* for data types and
STRINGPREP_* for other symbols. In addition,
_stringprep* is reserved for internal use and should never be
used by applications.
The name space of the punycode part of Libidn is punycode_* for
function names, Punycode* for data types and PUNYCODE_*
for other symbols. In addition, _punycode* is reserved for
internal use and should never be used by applications.
The name space of the IDNA part of Libidn is idna_* for
function names, Idna* for data types and IDNA_* for
other symbols. In addition, _idna* is reserved for internal
use and should never be used by applications.
The name space of the TLD part of Libidn is tld_* for function
names, Tld_* for data types and TLD_* for other symbols.
In addition, _tld* is reserved for internal use and should
never be used by applications.
The name space of the PR29 part of Libidn is pr29_* for
function names, Pr29_* for data types and PR29_* for
other symbols. In addition, _pr29* is reserved for internal
use and should never be used by applications.