Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

wbxml_errors.h File Reference

WBXML Error Codes Handling. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Typedefs

typedef enum WBXMLError_e WBXMLError
 The WBXML Parser Errors enumeration.


Enumerations

enum  WBXMLError_e {
  WBXML_OK = 0, WBXML_NOT_ENCODED, WBXML_ERROR_ATTR_TABLE_UNDEFINED, WBXML_ERROR_BAD_DATETIME,
  WBXML_ERROR_BAD_PARAMETER, WBXML_ERROR_INTERNAL, WBXML_ERROR_LANG_TABLE_UNDEFINED, WBXML_ERROR_NOT_ENOUGH_MEMORY,
  WBXML_ERROR_NOT_IMPLEMENTED, WBXML_ERROR_TAG_TABLE_UNDEFINED, WBXML_ERROR_B64_ENC, WBXML_ERROR_ATTR_VALUE_TABLE_UNDEFINED,
  WBXML_ERROR_BAD_LITERAL_INDEX, WBXML_ERROR_BAD_NULL_TERMINATED_STRING_IN_STRING_TABLE, WBXML_ERROR_BAD_OPAQUE_LENGTH, WBXML_ERROR_EMPTY_WBXML,
  WBXML_ERROR_END_OF_BUFFER, WBXML_ERROR_ENTITY_CODE_OVERFLOW, WBXML_ERROR_EXT_VALUE_TABLE_UNDEFINED, WBXML_ERROR_INVALID_STRTBL_INDEX,
  WBXML_ERROR_LITERAL_NOT_NULL_TERMINATED_IN_STRING_TABLE, WBXML_ERROR_NOT_NULL_TERMINATED_INLINE_STRING, WBXML_ERROR_NULL_PARSER, WBXML_ERROR_NULL_STRING_TABLE,
  WBXML_ERROR_STRING_EXPECTED, WBXML_ERROR_STRTBL_LENGTH, WBXML_ERROR_UNKNOWN_ATTR, WBXML_ERROR_UNKNOWN_ATTR_VALUE,
  WBXML_ERROR_UNKNOWN_EXTENSION_TOKEN, WBXML_ERROR_UNKNOWN_EXTENSION_VALUE, WBXML_ERROR_UNKNOWN_PUBLIC_ID, WBXML_ERROR_UNKNOWN_TAG,
  WBXML_ERROR_UNVALID_MBUINT32, WBXML_ERROR_ENCODER_APPEND_DATA, WBXML_ERROR_STRTBL_DISABLED, WBXML_ERROR_UNKNOWN_XML_LANGUAGE,
  WBXML_ERROR_XML_NODE_NOT_ALLOWED, WBXML_ERROR_XML_NULL_ATTR_NAME, WBXML_ERROR_XML_PARSING_FAILED, WBXML_ERROR_NO_XMLPARSER
}
 The WBXML Parser Errors enumeration. More...


Functions

const WB_UTINY * wbxml_errors_string (WBXMLError error_code)
 Return a String describing an Error Code.


Detailed Description

WBXML Error Codes Handling.

Author:
Aymerick Jéhanne <libwbxml@jehanne.org>
Date:
02/11/18

Definition in file wbxml_errors.h.


Function Documentation

const WB_UTINY* wbxml_errors_string WBXMLError    error_code
 

Return a String describing an Error Code.

Parameters:
error_code WBXML error code
Returns:
The error description

Definition at line 112 of file wbxml_errors.c.

References WBXMLErrorCodeItem_s::code, error_table, ERROR_TABLE_SIZE, WBXMLErrorCodeItem_s::string, WB_ULONG, WB_UTINY, and WBXMLError.

Referenced by main(), wbxml_conv_wbxml2xml(), wbxml_conv_xml2wbxml(), and wbxml_tree_from_wbxml().


Generated on Mon Nov 24 20:09:45 2003 for WBXML Library by doxygen1.3-rc1