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-2013 Simon Josefsson.
42       Copying  and  distribution  of this file, with or without modification,
43       are permitted in any medium  without  royalty  provided  the  copyright
44       notice 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.
54
55
56
57libidn                               1.28                     tld_check_4tz(3)
Impressum