1tld_check_4t(3)                     libidn                     tld_check_4t(3)
2
3
4

NAME

6       tld_check_4t - API function
7

SYNOPSIS

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

ARGUMENTS

15       const uint32_t * in
16                   Array of unicode code points to process. Does not  need  to
17                   be zero terminated.
18
19       size_t inlen
20                   Number of unicode code points.
21
22       size_t * errpos
23                   Position of offending character is returned here.
24
25       const Tld_table * tld
26                   A  Tld_table  data  structure representing the restrictions
27                   for which the input should be tested.
28

DESCRIPTION

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

REPORTING BUGS

39       Report bugs to <bug-libidn@gnu.org>.
40       General guidelines for reporting bugs: http://www.gnu.org/gethelp/
41       GNU Libidn home page: http://www.gnu.org/software/libidn/
42
43
45       Copyright © 2002-2016 Simon Josefsson.
46       Copying and distribution of this file, with  or  without  modification,
47       are  permitted  in  any  medium  without royalty provided the copyright
48       notice and this notice are preserved.
49

SEE ALSO

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