/* Header : wbxml.h Author : Richard A. O'Keefe Updated: 06/27/01 Purpose: WBXML dictionary types. */ #include #include "qh.h" struct WBXML_dictionary { /* all text in a dictionary is UTF-8 encoded */ /* Public identifiers for which this dictionary is useful. */ unsigned char * * pubs; /* tags[codepage][byte & 63] identifies a generic identifier */ unsigned char * * tags[256]; /* atts[codepage][byte] identifies an attribute name (and possibly part of its value IF byte < 128. atts[codepage][byte] identifiers (part of) an attribute value IF byte >= 128. */ unsigned char * * atts[256]; }; #ifdef TESTING extern struct WBXML_dictionary dict1; extern struct WBXML_dictionary dict2; #endif extern struct WBXML_dictionary wapdict; #ifdef HTML extern struct WBXML_dictionary htmldict; #endif extern int wbxml(FILE *, struct ROKXML_handlers const *);