1tld_check_4tz(3)                    libidn                    tld_check_4tz(3)
2
3
4

NAME

6       tld_check_4tz - API function
7

SYNOPSIS

9       #include <tld.h>
10
11       int tld_check_4tz(const uint32_t * in, size_t * errpos, const Tld_table
12       * tld);
13

ARGUMENTS

15       const uint32_t * in
16                   Zero terminated array of unicode code points to process.
17
18       size_t * errpos
19                   Position of offending character is returned here.
20
21       const Tld_table * tld
22                   A Tld_table data structure  representing  the  restrictions
23                   for which the input should be tested.
24

DESCRIPTION

26       Test each of the code points in  in for whether or not they are allowed
27       by the data structure in  tld , return the position of the first  char‐
28       acter for which this is not the case in  errpos .
29
30       Return  value:  Returns the Tld_rc value TLD_SUCCESS if all code points
31       are valid or when  tld is null, TLD_INVALID if a character is  not  al‐
32       lowed, or additional error codes on general failure conditions.
33

REPORTING BUGS

35       Report bugs to <help-libidn@gnu.org>.
36       General guidelines for reporting bugs: http://www.gnu.org/gethelp/
37       GNU Libidn home page: http://www.gnu.org/software/libidn/
38
39
41       Copyright © 2002-2021 Simon Josefsson.
42       Copying  and  distribution  of this file, with or without modification,
43       are permitted in any medium without royalty provided the copyright  no‐
44       tice and this notice are preserved.
45

SEE ALSO

47       The  full  documentation  for libidn is maintained as a Texinfo manual.
48       If the info and libidn programs are properly installed  at  your  site,
49       the command
50
51              info libidn
52
53       should  give  you access to the complete manual.  As an alternative you
54       may obtain the manual from:
55
56              http://www.gnu.org/software/libidn/manual/
57
58libidn                               1.38                     tld_check_4tz(3)
Impressum