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

NAME

6       tld_check_4t - verify that characters are permitted
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 charac‐
32       ter for which this is not the case in errpos.
33

RETURN VALUE

35       Returns the Tld_rc value TLD_SUCCESS if all code points  are  valid  or
36       when  tld  is null, TLD_INVALID if a character is not allowed, or addi‐
37       tional error codes on general failure conditions.
38

REPORTING BUGS

40       Report bugs to <bug-libidn@gnu.org>.
41
43       Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
44       Permission is granted to make and distribute verbatim  copies  of  this
45       manual  provided  the  copyright  notice and this permission notice are
46       preserved on all copies.
47

SEE ALSO

49       The full documentation for libidn is maintained as  a  Texinfo  manual.
50       If  the  info  and libidn programs are properly installed at your site,
51       the command
52
53              info libidn
54
55       should give you access to the complete manual.
56
57
58
59libidn                               0.6.8                     tld_check_4t(3)
Impressum