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

wbxml_tables.h File Reference

WBXML Tables. More...

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

Included by dependency graph

Go to the source code of this file.

Compounds

struct  WBXMLAttrEntry_s
 WBXML Application Token structure: Attribute token. More...

struct  WBXMLAttrValueEntry_s
 WBXML Application Token structure: Attribute Value token. More...

struct  WBXMLExtValueEntry_s
 WBXML Application Token structure: Extension Value token. More...

struct  WBXMLLangEntry_s
 Language structure. More...

struct  WBXMLNameSpaceEntry_s
 Name Space. More...

struct  WBXMLPublicIDEntry_s
 WBXML Public ID structure. More...

struct  WBXMLTagEntry_s
 WBXML Application Token structure: Tag token. More...


Defines

#define WBXML_PUBLIC_ID_UNKNOWN   0x01
#define WBXML_PUBLIC_ID_WML10   0x02
#define WBXML_PUBLIC_ID_WTA10   0x03
#define WBXML_PUBLIC_ID_WML11   0x04
#define WBXML_PUBLIC_ID_SI10   0x05
#define WBXML_PUBLIC_ID_SL10   0x06
#define WBXML_PUBLIC_ID_CO10   0x07
#define WBXML_PUBLIC_ID_CHANNEL11   0x08
#define WBXML_PUBLIC_ID_WML12   0x09
#define WBXML_PUBLIC_ID_WML13   0x0A
#define WBXML_PUBLIC_ID_PROV10   0x0B
#define WBXML_PUBLIC_ID_WTAWML12   0x0C
#define WBXML_PUBLIC_ID_CHANNEL12   WBXML_PUBLIC_ID_UNKNOWN
#define WBXML_PUBLIC_ID_EMN10   0x0D
#define WBXML_PUBLIC_ID_DRMREL10   0x0E
#define XML_PUBLIC_ID_WML10   "-//WAPFORUM//DTD WML 1.0//EN"
#define XML_PUBLIC_ID_WTA10   "-//WAPFORUM//DTD WTA 1.0//EN"
#define XML_PUBLIC_ID_WML11   "-//WAPFORUM//DTD WML 1.1//EN"
#define XML_PUBLIC_ID_SI10   "-//WAPFORUM//DTD SI 1.0//EN"
#define XML_PUBLIC_ID_SL10   "-//WAPFORUM//DTD SL 1.0//EN"
#define XML_PUBLIC_ID_CO10   "-//WAPFORUM//DTD CO 1.0//EN"
#define XML_PUBLIC_ID_CHANNEL11   "-//WAPFORUM//DTD CHANNEL 1.1//EN"
#define XML_PUBLIC_ID_WML12   "-//WAPFORUM//DTD WML 1.2//EN"
#define XML_PUBLIC_ID_WML13   "-//WAPFORUM//DTD WML 1.3//EN"
#define XML_PUBLIC_ID_PROV10   "-//WAPFORUM//DTD PROV 1.0//EN"
#define XML_PUBLIC_ID_WTAWML12   "-//WAPFORUM//DTD WTA-WML 1.2//EN"
#define XML_PUBLIC_ID_CHANNEL12   "-//WAPFORUM//DTD CHANNEL 1.2//EN"
#define XML_PUBLIC_ID_EMN10   "-//WAPFORUM//DTD EMN 1.0//EN"
#define XML_PUBLIC_ID_DRMREL10   "-//OMA//DTD DRMREL 1.0//EN"
#define WBXML_PUBLIC_ID_OTA_SETTINGS   WBXML_PUBLIC_ID_UNKNOWN
#define XML_PUBLIC_ID_OTA_SETTINGS   NULL
#define WBXML_PUBLIC_ID_SYNCML_SYNCML10   WBXML_PUBLIC_ID_UNKNOWN
#define WBXML_PUBLIC_ID_SYNCML_DEVINF10   WBXML_PUBLIC_ID_UNKNOWN
#define WBXML_PUBLIC_ID_SYNCML_METINF10   WBXML_PUBLIC_ID_UNKNOWN
#define XML_PUBLIC_ID_SYNCML_SYNCML10   "-//SYNCML//DTD SyncML 1.0//EN"
#define XML_PUBLIC_ID_SYNCML_DEVINF10   "-//SYNCML//DTD DevInf 1.0//EN"
#define XML_PUBLIC_ID_SYNCML_METINF10   "-//SYNCML//DTD MetInf 1.0//EN"
#define WBXML_PUBLIC_ID_SYNCML_SYNCML11   0x0F21
#define WBXML_PUBLIC_ID_SYNCML_DEVINF11   0x0F2D
#define WBXML_PUBLIC_ID_SYNCML_METINF11   WBXML_PUBLIC_ID_UNKNOWN
#define XML_PUBLIC_ID_SYNCML_SYNCML11   "-//SYNCML//DTD SyncML 1.1//EN"
#define XML_PUBLIC_ID_SYNCML_DEVINF11   "-//SYNCML//DTD DevInf 1.1//EN"
#define XML_PUBLIC_ID_SYNCML_METINF11   "-//SYNCML//DTD MetInf 1.1//EN"
#define WBXML_PUBLIC_ID_WV_CSP11   0x10
#define WBXML_PUBLIC_ID_WV_CSP12   WBXML_PUBLIC_ID_UNKNOWN
#define XML_PUBLIC_ID_WV_CSP11   "-//OMA//DTD WV-CSP 1.1//EN"
#define XML_PUBLIC_ID_WV_CSP12   "-//OMA//DTD WV-CSP 1.2//EN"

Typedefs

typedef WBXMLPublicIDEntry_s WBXMLPublicIDEntry
 WBXML Public ID structure.

typedef WBXMLTagEntry_s WBXMLTagEntry
 WBXML Application Token structure: Tag token.

typedef WBXMLNameSpaceEntry_s WBXMLNameSpaceEntry
 Name Space.

typedef WBXMLAttrEntry_s WBXMLAttrEntry
 WBXML Application Token structure: Attribute token.

typedef WBXMLAttrValueEntry_s WBXMLAttrValueEntry
 WBXML Application Token structure: Attribute Value token.

typedef WBXMLExtValueEntry_s WBXMLExtValueEntry
 WBXML Application Token structure: Extension Value token.

typedef WBXMLLangEntry_s WBXMLLangEntry
 Language structure.


Functions

const WBXMLLangEntrywbxml_tables_get_main (void)
 Get Main Table.

const WBXMLLangEntrywbxml_tables_search_table (const WBXMLLangEntry *main_table, const WB_UTINY *public_id, const WB_UTINY *system_id, const WB_UTINY *root)
 Search for a Language Table.

WB_ULONG 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 WB_UTINY *xml_name)
 Search for a Tag Entry in Language Table, given the XML Name of the Tag.

const WBXMLAttrEntrywbxml_tables_get_attr_from_xml (const WBXMLLangEntry *lang_table, WB_UTINY *xml_name, WB_UTINY *xml_value, WB_UTINY **value_left)
 Search for an Attribute Entry in Language Table, given the XML Name and Value of the Attribute.

const WBXMLExtValueEntrywbxml_tables_get_ext_from_xml (const WBXMLLangEntry *lang_table, WB_UTINY *xml_value)
 Search for an Extension Token Entry in Language Table, given the XML Value of the Extension.

WB_BOOL wbxml_tables_contains_attr_value_from_xml (const WBXMLLangEntry *lang_table, WB_UTINY *xml_value)
 Check if an XML Attribute Value contains at least one Attribute Value defined in Language Attribute Values Table.

const WB_TINY * wbxml_tables_get_xmlns (const WBXMLNameSpaceEntry *ns_table, WB_UTINY code_page)
 Get an XML NameSpace, given a WBXML Code Page.


Detailed Description

WBXML Tables.

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

Definition in file wbxml_tables.h.


Function Documentation

const WBXMLLangEntry* wbxml_tables_get_main void   
 

Get Main Table.

Returns:
The main WBXML languages Table

Definition at line 2332 of file wbxml_tables.c.

References sv_table_entry.

Referenced by wbxml_parser_create(), wbxml_parser_parse(), wbxml_tree_clb_xml_doctype_decl(), and wbxml_tree_clb_xml_start_element().

WB_ULONG wbxml_tables_get_wbxml_publicid const WBXMLLangEntry   main_table,
WBXMLLanguage    lang_id
 

Get the WBXML Public ID corresponding to given WBXML Language.

Parameters:
main_table The Main Languages Table to search in
lang_id The Language ID
Returns:
The WBXML Public ID (can be WBXML_PUBLIC_ID_UNKNOWN if Language doesn't have one, or if Language not found)

Definition at line 2385 of file wbxml_tables.c.

References WBXMLLangEntry_s::langID, NULL, WBXMLLangEntry_s::publicID, WB_ULONG, WBXML_PUBLIC_ID_UNKNOWN, WBXMLLanguage, and WBXMLPublicIDEntry_s::wbxmlPublicID.

Referenced by wbxml_parser_parse().


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