mibenum.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of LibParserUtils.
00003  * Licensed under the MIT License,
00004  *                http://www.opensource.org/licenses/mit-license.php
00005  * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
00006  */
00007 
00008 #ifndef parserutils_charset_mibenum_h_
00009 #define parserutils_charset_mibenum_h_
00010 
00011 #ifdef __cplusplus
00012 extern "C"
00013 {
00014 #endif
00015 
00016 #include <inttypes.h>
00017 #include <stdbool.h>
00018 
00019 #include <parserutils/errors.h>
00020 #include <parserutils/functypes.h>
00021 
00022 /* Convert an encoding alias to a MIB enum value */
00023 uint16_t parserutils_charset_mibenum_from_name(const char *alias, size_t len);
00024 /* Convert a MIB enum value into an encoding alias */
00025 const char *parserutils_charset_mibenum_to_name(uint16_t mibenum);
00026 /* Determine if a MIB enum value represents a Unicode variant */
00027 bool parserutils_charset_mibenum_is_unicode(uint16_t mibenum);
00028 
00029 #ifdef __cplusplus
00030 }
00031 #endif
00032 
00033 #endif

Generated on Wed Jul 29 11:59:20 2015 for Libparserutils by  doxygen 1.5.6