HTP
0.5
|
Functions | |
uint32_t | htp_utf8_decode (uint32_t *state, uint32_t *codep, uint32_t byte) |
uint32_t | htp_utf8_decode_allow_overlong (uint32_t *state, uint32_t *codep, uint32_t byte) |
uint32_t htp_utf8_decode | ( | uint32_t * | state, |
uint32_t * | codep, | ||
uint32_t | byte | ||
) |
Process one byte of UTF-8 data and return a code point if one is available.
[in] | state | |
[in] | codep | |
[in] | byte |
uint32_t htp_utf8_decode_allow_overlong | ( | uint32_t * | state, |
uint32_t * | codep, | ||
uint32_t | byte | ||
) |
Process one byte of UTF-8 data and return a code point if one is available. Allows overlong characters in input.
[in] | state | |
[in] | codep | |
[in] | byte |