1gnutls_idna_reverse_map(3)          gnutls          gnutls_idna_reverse_map(3)
2
3
4

NAME

6       gnutls_idna_reverse_map - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int   gnutls_idna_reverse_map(const   char   *  input,  unsigned  ilen,
12       gnutls_datum_t * out, unsigned flags);
13

ARGUMENTS

15       const char * input
16                   contain the ACE (IDNA) formatted domain name
17
18       unsigned ilen
19                   the length of the provided string
20
21       gnutls_datum_t * out
22                   the result in an null-terminated allocated UTF-8 string
23
24       unsigned flags
25                   should be zero
26

DESCRIPTION

28       This function will convert an ACE  (ASCII-encoded)  domain  name  to  a
29       UTF-8 domain name.
30
31       If  GnuTLS  is  compiled  without IDNA support, then this function will
32       return GNUTLS_E_UNIMPLEMENTED_FEATURE.
33
34       Note also, that this function will return an empty string if  an  empty
35       string is provided as input.
36

RETURNS

38       A negative error code on error, or 0 on success.
39

SINCE

41       3.5.8
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: https://www.gnutls.org
46
47
49       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
50       Copying  and  distribution  of this file, with or without modification,
51       are permitted in any medium  without  royalty  provided  the  copyright
52       notice and this notice are preserved.
53

SEE ALSO

55       The  full  documentation  for gnutls is maintained as a Texinfo manual.
56       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
57       visit
58
59       https://www.gnutls.org/manual/
60
61gnutls                              3.6.11          gnutls_idna_reverse_map(3)
Impressum