|
NetSurf
|
#include <limits.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef unsigned long | punycode_uint |
Enumerations | |
| enum | punycode_status { punycode_success = 0 , punycode_bad_input = 1 , punycode_big_output = 2 , punycode_overflow = 3 } |
Functions | |
| enum punycode_status | punycode_encode (size_t, const punycode_uint[], const unsigned char[], size_t *, char[]) |
| enum punycode_status | punycode_decode (size_t, const char[], size_t *, punycode_uint[], unsigned char[]) |
| typedef unsigned long punycode_uint |
Definition at line 41 of file punycode.h.
| enum punycode_status |
| Enumerator | |
|---|---|
| punycode_success | |
| punycode_bad_input | |
| punycode_big_output | |
| punycode_overflow | |
Definition at line 24 of file punycode.h.
| enum punycode_status punycode_decode | ( | size_t | input_length, |
| const char | input[], | ||
| size_t * | output_length, | ||
| punycode_uint | output[], | ||
| unsigned char | case_flags[] | ||
| ) |
Definition at line 194 of file punycode.c.
References adapt(), base, basic, decode_digit(), delim, flagged, initial_bias, initial_n, maxint, punycode_bad_input, punycode_big_output, punycode_overflow, punycode_success, tmax, and tmin.
Referenced by idna__ace_to_ucs4().
| enum punycode_status punycode_encode | ( | size_t | input_length_orig, |
| const | punycode_uint[], | ||
| const unsigned char | case_flags[], | ||
| size_t * | output_length, | ||
| char | output[] | ||
| ) |
Definition at line 95 of file punycode.c.
References adapt(), base, basic, delimiter, encode_basic(), encode_digit(), initial_bias, initial_n, maxint, punycode_big_output, punycode_overflow, punycode_success, tmax, and tmin.
Referenced by idna__ucs4_to_ace().