Libparserutils
Data Structures | Typedefs | Functions
aliases.h File Reference
#include <inttypes.h>
#include <parserutils/charset/mibenum.h>

Go to the source code of this file.

Data Structures

struct  parserutils_charset_aliases_canon
 

Typedefs

typedef struct parserutils_charset_aliases_canon parserutils_charset_aliases_canon
 

Functions

parserutils_charset_aliases_canonparserutils__charset_alias_canonicalise (const char *alias, size_t len)
 Retrieve the canonical form of an alias name. More...
 

Typedef Documentation

Function Documentation

parserutils_charset_aliases_canon* parserutils__charset_alias_canonicalise ( const char *  alias,
size_t  len 
)

Retrieve the canonical form of an alias name.

Parameters
aliasThe alias name
lenThe length of the alias name
Returns
Pointer to canonical form or NULL if not found

Definition at line 79 of file aliases.c.

References len, parserutils_charset_alias_match(), lengthed_string::s, and lengthed_string::slen.

Referenced by parserutils_charset_codec_create(), and parserutils_charset_mibenum_from_name().