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  charac‐
28       ter for which this is not the case in errpos.
29

RETURN VALUE

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

REPORTING BUGS

36       Report   bugs   to   <bug-libidn@gnu.org>.    GNU   Libidn  home  page:
37       http://www.gnu.org/software/libidn/ General help  using  GNU  software:
38       http://www.gnu.org/gethelp/
39
41       Copyright  © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
42       Josefsson.
43       Copying and distribution of this file, with  or  without  modification,
44       are  permitted  in  any  medium  without royalty provided the copyright
45       notice and this notice are preserved.
46

SEE ALSO

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