|
XenevaOS
|
#include <ctype.h>#include <stdbool.h>#include <stddef.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "charset/aliases.h"#include "utils/utils.h"#include "aliases.inc"
Classes | |
| struct | lengthed_string |
Macros | |
| #define | IS_PUNCT_OR_SPACE(x) |
Functions | |
| parserutils_charset_aliases_canon * | parserutils__charset_alias_canonicalise (const char *alias, size_t len) |
| uint16_t | parserutils_charset_mibenum_from_name (const char *alias, size_t len) |
| const char * | parserutils_charset_mibenum_to_name (uint16_t mibenum) |
| bool | parserutils_charset_mibenum_is_unicode (uint16_t mibenum) |
| #define IS_PUNCT_OR_SPACE | ( | x | ) |
| parserutils_charset_aliases_canon * parserutils__charset_alias_canonicalise | ( | const char * | alias, |
| size_t | len | ||
| ) |
Retrieve the canonical form of an alias name
| alias | The alias name |
| len | The length of the alias name |
Retrieve the MIB enum value assigned to an encoding name
| alias | The alias to lookup |
| len | The length of the alias string |
Detect if a parserutils_charset is Unicode
| mibenum | The MIB enum to consider |
| const char * parserutils_charset_mibenum_to_name | ( | uint16_t | mibenum | ) |
Retrieve the canonical name of an encoding from the MIB enum
| mibenum | The MIB enum value |