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

wbxml_tables.c File Reference

WBXML Tables. More...

#include <string.h>
#include "wbxml.h"

Include dependency graph for wbxml_tables.c:

Include dependency graph

Go to the source code of this file.

Functions

const WBXMLLangEntrywbxml_tables_get_main (void)
 Get Main Table.

const WBXMLLangEntrywbxml_tables_search_table (const WBXMLLangEntry *main_table, const unsigned char *public_id, const unsigned char *system_id, const unsigned char *root)
unsigned int wbxml_tables_get_wbxml_publicid (const WBXMLLangEntry *main_table, WBXMLLanguage lang_id)
 Get the WBXML Public ID corresponding to given WBXML Language.

const WBXMLTagEntrywbxml_tables_get_tag_from_xml (const WBXMLLangEntry *lang_table, const unsigned char *xml_name)
const WBXMLAttrEntrywbxml_tables_get_attr_from_xml (const WBXMLLangEntry *lang_table, unsigned char *xml_name, unsigned char *xml_value, unsigned char **value_left)
const WBXMLExtValueEntrywbxml_tables_get_ext_from_xml (const WBXMLLangEntry *lang_table, unsigned char *xml_value)
unsigned char wbxml_tables_contains_attr_value_from_xml (const WBXMLLangEntry *lang_table, unsigned char *xml_value)
const char * wbxml_tables_get_xmlns (const WBXMLNameSpaceEntry *ns_table, unsigned char code_page)

Variables

const WBXMLLangEntry sv_table_entry []
 If undefined, only the WML 1.3 tables are used for all WML versions (WML 1.0 / WML 1.1 / WML 1.2 / WML 1.3). It saves space, and, well, every handset must supports WML 1.3 right now. If defined, each version has its own exact tables.


Detailed Description

WBXML Tables.

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

Definition in file wbxml_tables.c.


Function Documentation

unsigned char wbxml_tables_contains_attr_value_from_xml const WBXMLLangEntry   lang_table,
unsigned char *    xml_value
 

Definition at line 2523 of file wbxml_tables.c.

References WBXMLLangEntry_s::attrValueTable, FALSE, NULL, TRUE, WB_BOOL, WB_ULONG, WB_UTINY, WBXML_STRSTR, and WBXMLAttrValueEntry_s::xmlName.

const WBXMLAttrEntry* wbxml_tables_get_attr_from_xml const WBXMLLangEntry   lang_table,
unsigned char *    xml_name,
unsigned char *    xml_value,
unsigned char **    value_left
 

Definition at line 2424 of file wbxml_tables.c.

References WBXMLLangEntry_s::attrTable, FALSE, NULL, TRUE, WB_BOOL, WB_ULONG, WB_UTINY, WBXML_STRCMP, WBXML_STRLEN, WBXML_STRNCMP, WBXMLAttrEntry_s::xmlName, and WBXMLAttrEntry_s::xmlValue.

const WBXMLExtValueEntry* wbxml_tables_get_ext_from_xml const WBXMLLangEntry   lang_table,
unsigned char *    xml_value
 

Definition at line 2505 of file wbxml_tables.c.

References WBXMLLangEntry_s::extValueTable, NULL, WB_ULONG, WB_UTINY, WBXML_STRCMP, and WBXMLExtValueEntry_s::xmlName.

const WBXMLTagEntry* wbxml_tables_get_tag_from_xml const WBXMLLangEntry   lang_table,
const unsigned char *    xml_name
 

Definition at line 2406 of file wbxml_tables.c.

References NULL, WBXMLLangEntry_s::tagTable, WB_ULONG, WB_UTINY, WBXML_STRCMP, and WBXMLTagEntry_s::xmlName.

const char* wbxml_tables_get_xmlns const WBXMLNameSpaceEntry   ns_table,
unsigned char    code_page
 

Definition at line 2544 of file wbxml_tables.c.

References NULL, WB_TINY, WB_ULONG, WB_UTINY, WBXMLNameSpaceEntry_s::wbxmlCodePage, and WBXMLNameSpaceEntry_s::xmlNameSpace.

const WBXMLLangEntry* wbxml_tables_search_table const WBXMLLangEntry   main_table,
const unsigned char *    public_id,
const unsigned char *    system_id,
const unsigned char *    root
 

Definition at line 2338 of file wbxml_tables.c.

References NULL, WBXMLLangEntry_s::publicID, WB_ULONG, WB_UTINY, WBXML_STRCASECMP, WBXML_STRCMP, WBXMLPublicIDEntry_s::xmlDTD, WBXMLPublicIDEntry_s::xmlPublicID, and WBXMLPublicIDEntry_s::xmlRootElt.


Variable Documentation

const WBXMLLangEntry sv_table_entry[]
 

If undefined, only the WML 1.3 tables are used for all WML versions (WML 1.0 / WML 1.1 / WML 1.2 / WML 1.3). It saves space, and, well, every handset must supports WML 1.3 right now. If defined, each version has its own exact tables.

Definition at line 2260 of file wbxml_tables.c.

Referenced by wbxml_tables_get_main().


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