idna_to_ascii_lz3
Api function
Usage
#include <idna.h>
int idna_to_ascii_lz(const char * input, char ** output, int flags);
Arguments
const char * input
|
zero terminated input string encoded in the current locale's character set. |
|---|---|
char ** output
|
pointer to newly allocated output string. |
int flags
|
an |
Overview
Convert domain name in the locale's encoding to ASCII string. The domain name may contain several labels, separated by dots. The output buffer must be deallocated by the caller.
Return value: Returns IDNA_SUCCESS on success, or error code.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 8 times.