idn_version_getstring(3)

NAME
idn_version_unicode, idn_version_idnatable, idn_version_libidn, idn_version_getstring - get a version string about idnkit

SYNOPSIS
#include <idn/version.h>
const char *
idn_version_unicode(void);
const char *
idn_version_idnatable(void);
const char *
idn_version_libidn(void);
const char *
idn_version_getstring(void);

DESCRIPTION
The function idn_version_unicode() returns a string of Unicode version that libidnkit (or libidnkitlite) currently supports. For example, the string "6.0.0" is returned if the library supports Unicode 6.0.0.

The function idn_version_idnatable() returns a string of IDNA propterty table that libidnkit (or libidnkitlite) currently supports. Its format is "Reference file (Last modified date)". For example, a string like "rfc6452 (2011-11-14)" is returned.

The function idn_version_libidn() returns a string of libidnkit (or libidnkitlite). For example, the string "2.2" is returned.

The function idn_version_getstring() returns a string which contains version strings returned from idn_version_unicode(), idn_version_idnatable() and idn_version_libidn(). For example, it returns a string as below:

    library version: Unicode version: 6.0.0; IDNA Table version: rfc6452 (2011-11-14); libidn version: 2.2

All the functions return pointers to the static strings.

SEE ALSO
libidnkit(3)