#include <inttypes.h>
#include <stdbool.h>
#include <parserutils/errors.h>
#include <parserutils/functypes.h>
Go to the source code of this file.
◆ parserutils_charset_mibenum_from_name()
| uint16_t parserutils_charset_mibenum_from_name |
( |
const char * |
alias, |
|
|
size_t |
len |
|
) |
| |
Retrieve the MIB enum value assigned to an encoding name
- Parameters
-
| alias | The alias to lookup |
| len | The length of the alias string |
- Returns
- The MIB enum value, or 0 if not found
◆ parserutils_charset_mibenum_is_unicode()
| bool parserutils_charset_mibenum_is_unicode |
( |
uint16_t |
mibenum | ) |
|
Detect if a parserutils_charset is Unicode
- Parameters
-
| mibenum | The MIB enum to consider |
- Returns
- true if a Unicode variant, false otherwise
◆ parserutils_charset_mibenum_to_name()
| const char * parserutils_charset_mibenum_to_name |
( |
uint16_t |
mibenum | ) |
|
Retrieve the canonical name of an encoding from the MIB enum
- Parameters
-
| mibenum | The MIB enum value |
- Returns
- Pointer to canonical name, or NULL if not found