Libparserutils
aliases.h
Go to the documentation of this file.
1/*
2 * This file is part of LibParserUtils.
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
6 */
7
8#ifndef parserutils_charset_aliases_h_
9#define parserutils_charset_aliases_h_
10
11#include <inttypes.h>
12
14
16 /* Do not change the ordering here without changing make-aliases.pl */
17 uint16_t mib_enum;
18 uint16_t name_len;
19 const char *name;
21
22/* Canonicalise an alias name */
24 const char *alias, size_t len);
25
26#endif
parserutils_charset_aliases_canon * parserutils__charset_alias_canonicalise(const char *alias, size_t len)
Retrieve the canonical form of an alias name.
Definition: aliases.c:79
size_t len
Definition: codec_8859.c:23