This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef WBXMLParser_s | WBXMLParser |
Functions | |
WBXMLParser * | wbxml_parser_create (void) |
Create a WBXML Parser. | |
void | wbxml_parser_destroy (WBXMLParser *parser) |
Destroy a WBXML Parser. | |
WBXMLError | wbxml_parser_parse (WBXMLParser *parser, WB_UTINY *wbxml, WB_ULONG wbxml_len) |
Parse a WBXML document, using User Defined callbacks Return WBXML_OK if no error, an error code otherwise. | |
void | wbxml_parser_set_user_data (WBXMLParser *parser, void *user_data) |
Set User Data for a WBXML Parser. | |
void | wbxml_parser_set_content_handler (WBXMLParser *parser, WBXMLContentHandler *content_handler) |
Set Content Handler for a WBXML Parser. | |
void | wbxml_parser_set_main_table (WBXMLParser *parser, const WBXMLLangEntry *main_table) |
Set Main WBXML Languages Table. | |
WB_BOOL | wbxml_parser_set_language (WBXMLParser *parser, WBXMLLanguage lang) |
Force to parse the Document of a given Language. | |
WB_ULONG | wbxml_parser_get_wbxml_public_id (WBXMLParser *parser) |
Get WBXML Public ID. | |
const WB_UTINY * | wbxml_parser_get_xml_public_id (WBXMLParser *parser) |
Get XML Public ID. | |
WBXMLVersion | wbxml_parser_get_wbxml_version (WBXMLParser *parser) |
Get WBXML Version. | |
WB_LONG | wbxml_parser_get_current_byte_index (WBXMLParser *parser) |
Return current parsing position in WBXML. |
Definition in file wbxml_parser.h.
|
Create a WBXML Parser.
Definition at line 176 of file wbxml_parser.c. References WBXMLParser_s::attrCodePage, WBXMLParser_s::charset, WBXMLParser_s::content_hdl, WBXMLParser_s::current_tag, WBXMLParser_s::lang_forced, WBXMLParser_s::langTable, WBXMLParser_s::mainTable, NULL, WBXMLParser_s::pos, WBXMLParser_s::public_id, WBXMLParser_s::public_id_index, WBXMLParser_s::strstbl, WBXMLParser_s::tagCodePage, WBXMLParser_s::user_data, WBXMLParser_s::version, WBXMLParser_s::wbxml, WBXML_LANG_UNKNOWN, wbxml_malloc(), WBXML_PUBLIC_ID_UNKNOWN, wbxml_tables_get_main(), and WBXML_VERSION_UNKNOWN. Referenced by wbxml_tree_from_wbxml(). |
|
Destroy a WBXML Parser.
Definition at line 210 of file wbxml_parser.c. References NULL, WBXMLParser_s::strstbl, WBXMLParser_s::wbxml, wbxml_buffer_destroy(), and wbxml_free(). Referenced by wbxml_tree_from_wbxml(). |
|
Return current parsing position in WBXML.
Definition at line 347 of file wbxml_parser.c. References NULL, WBXMLParser_s::pos, and WB_LONG. Referenced by wbxml_tree_from_wbxml(). |
|
Get WBXML Public ID.
Definition at line 320 of file wbxml_parser.c. References WBXMLParser_s::langTable, NULL, WBXMLLangEntry_s::publicID, WB_ULONG, WBXML_PUBLIC_ID_UNKNOWN, and WBXMLPublicIDEntry_s::wbxmlPublicID. |
|
Get WBXML Version.
Definition at line 338 of file wbxml_parser.c. References NULL, WBXMLParser_s::version, WBXML_VERSION_UNKNOWN, and WBXMLVersion. |
|
Get XML Public ID.
Definition at line 329 of file wbxml_parser.c. References WBXMLParser_s::langTable, NULL, WBXMLLangEntry_s::publicID, WB_UTINY, and WBXMLPublicIDEntry_s::xmlPublicID. |
|
Set Content Handler for a WBXML Parser.
Definition at line 295 of file wbxml_parser.c. References WBXMLParser_s::content_hdl, and NULL. Referenced by wbxml_tree_from_wbxml(). |
|
Force to parse the Document of a given Language.
Definition at line 309 of file wbxml_parser.c. References FALSE, WBXMLParser_s::lang_forced, NULL, TRUE, WB_BOOL, and WBXMLLanguage. Referenced by wbxml_tree_from_wbxml(). |
|
Set Main WBXML Languages Table.
Definition at line 302 of file wbxml_parser.c. References WBXMLParser_s::mainTable, and NULL. |
|
Set User Data for a WBXML Parser.
Definition at line 288 of file wbxml_parser.c. References NULL, and WBXMLParser_s::user_data. Referenced by wbxml_tree_from_wbxml(). |