pushmtm/Plugins/PushContentHandler/si_dict.c
changeset 0 84ad3b177aa3
equal deleted inserted replaced
-1:000000000000 0:84ad3b177aa3
       
     1 /*
       
     2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /*
       
    20 ** WARNING
       
    21 **
       
    22 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED
       
    23 **               FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM
       
    24 **
       
    25 ** This file generated on Fri Sep 26 19:53:43 2003
       
    26 **                        (coordinated universal time)
       
    27 **
       
    28 ** Command line: dict_creator si.dict si_dict.c si_dict.h
       
    29 */
       
    30 
       
    31 /*
       
    32  * Dictionary = SI
       
    33  * Public id = 5
       
    34  * Doc Type = -//WAPFORUM//DTD SI 1.0//EN
       
    35  */
       
    36 
       
    37 #include "si_dict.h"
       
    38 
       
    39 
       
    40 static const NW_Ucs2 NW_SI_ElementTag_si[] = {'s','i','\0'};
       
    41 static const NW_Ucs2 NW_SI_ElementTag_indication[] = {'i','n','d','i','c','a','t','i','o','n','\0'};
       
    42 static const NW_Ucs2 NW_SI_ElementTag_info[] = {'i','n','f','o','\0'};
       
    43 static const NW_Ucs2 NW_SI_ElementTag_item[] = {'i','t','e','m','\0'};
       
    44 
       
    45 /*
       
    46 ** WARNING
       
    47 **
       
    48 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED
       
    49 **               FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM
       
    50 **
       
    51 ** This file generated on Fri Sep 26 19:53:43 2003
       
    52 **                        (coordinated universal time)
       
    53 **
       
    54 ** Command line: dict_creator si.dict si_dict.c si_dict.h
       
    55 */
       
    56 
       
    57 /*
       
    58  * tag entries - sorted by token
       
    59  */
       
    60 static const
       
    61 NW_WBXML_DictEntry_t NW_SI_tag_token_0[4] = {
       
    62 	{0x05, (NW_String_UCS2Buff_t *) NW_SI_ElementTag_si},
       
    63 	{0x06, (NW_String_UCS2Buff_t *) NW_SI_ElementTag_indication},
       
    64 	{0x07, (NW_String_UCS2Buff_t *) NW_SI_ElementTag_info},
       
    65 	{0x08, (NW_String_UCS2Buff_t *) NW_SI_ElementTag_item}
       
    66 };
       
    67 
       
    68 /*
       
    69 ** WARNING
       
    70 **
       
    71 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED
       
    72 **               FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM
       
    73 **
       
    74 ** This file generated on Fri Sep 26 19:53:43 2003
       
    75 **                        (coordinated universal time)
       
    76 **
       
    77 ** Command line: dict_creator si.dict si_dict.c si_dict.h
       
    78 */
       
    79 
       
    80 /*
       
    81  * tag entries - sorted by name
       
    82  */
       
    83 static const
       
    84 NW_Byte NW_SI_tag_name_0[4] = {
       
    85 	1,
       
    86 	2,
       
    87 	3,
       
    88 	0,
       
    89 };
       
    90 
       
    91 static const NW_Ucs2 NW_SI_AttributeTag_action_signal_none[] = {'a','c','t','i','o','n','=','s','i','g','n','a','l','-','n','o','n','e','\0'};
       
    92 static const NW_Ucs2 NW_SI_AttributeTag_action_signal_low[] = {'a','c','t','i','o','n','=','s','i','g','n','a','l','-','l','o','w','\0'};
       
    93 static const NW_Ucs2 NW_SI_AttributeTag_action_signal_medium[] = {'a','c','t','i','o','n','=','s','i','g','n','a','l','-','m','e','d','i','u','m','\0'};
       
    94 static const NW_Ucs2 NW_SI_AttributeTag_action_signal_high[] = {'a','c','t','i','o','n','=','s','i','g','n','a','l','-','h','i','g','h','\0'};
       
    95 static const NW_Ucs2 NW_SI_AttributeTag_action_delete[] = {'a','c','t','i','o','n','=','d','e','l','e','t','e','\0'};
       
    96 static const NW_Ucs2 NW_SI_AttributeTag_created[] = {'c','r','e','a','t','e','d','\0'};
       
    97 static const NW_Ucs2 NW_SI_AttributeTag_href[] = {'h','r','e','f','\0'};
       
    98 static const NW_Ucs2 NW_SI_AttributeTag_href_http___[] = {'h','r','e','f','=','h','t','t','p',':','/','/','\0'};
       
    99 static const NW_Ucs2 NW_SI_AttributeTag_href_http___www_[] = {'h','r','e','f','=','h','t','t','p',':','/','/','w','w','w','.','\0'};
       
   100 static const NW_Ucs2 NW_SI_AttributeTag_href_https___[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','\0'};
       
   101 static const NW_Ucs2 NW_SI_AttributeTag_href_https___www_[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','w','w','w','.','\0'};
       
   102 static const NW_Ucs2 NW_SI_AttributeTag_si_expires[] = {'s','i','-','e','x','p','i','r','e','s','\0'};
       
   103 static const NW_Ucs2 NW_SI_AttributeTag_si_id[] = {'s','i','-','i','d','\0'};
       
   104 static const NW_Ucs2 NW_SI_AttributeTag_class[] = {'c','l','a','s','s','\0'};
       
   105 static const NW_Ucs2 NW_SI_AttributeTag_action[] = {'a','c','t','i','o','n','\0'};
       
   106 static const NW_Ucs2 NW_SI_AttributeTag__com_[] = {'.','c','o','m','/','\0'};
       
   107 static const NW_Ucs2 NW_SI_AttributeTag__edu_[] = {'.','e','d','u','/','\0'};
       
   108 static const NW_Ucs2 NW_SI_AttributeTag__net_[] = {'.','n','e','t','/','\0'};
       
   109 static const NW_Ucs2 NW_SI_AttributeTag__org_[] = {'.','o','r','g','/','\0'};
       
   110 
       
   111 /*
       
   112 ** WARNING
       
   113 **
       
   114 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED
       
   115 **               FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM
       
   116 **
       
   117 ** This file generated on Fri Sep 26 19:53:43 2003
       
   118 **                        (coordinated universal time)
       
   119 **
       
   120 ** Command line: dict_creator si.dict si_dict.c si_dict.h
       
   121 */
       
   122 
       
   123 /*
       
   124  * attribute entries - sorted by token
       
   125  */
       
   126 static const
       
   127 NW_WBXML_DictEntry_t NW_SI_attribute_token_0[19] = {
       
   128 	{0x05, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_action_signal_none},
       
   129 	{0x06, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_action_signal_low},
       
   130 	{0x07, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_action_signal_medium},
       
   131 	{0x08, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_action_signal_high},
       
   132 	{0x09, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_action_delete},
       
   133 	{0x0a, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_created},
       
   134 	{0x0b, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_href},
       
   135 	{0x0c, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_href_http___},
       
   136 	{0x0d, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_href_http___www_},
       
   137 	{0x0e, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_href_https___},
       
   138 	{0x0f, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_href_https___www_},
       
   139 	{0x10, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_si_expires},
       
   140 	{0x11, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_si_id},
       
   141 	{0x12, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_class},
       
   142 	{0x13, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag_action},
       
   143 	{0x85, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag__com_},
       
   144 	{0x86, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag__edu_},
       
   145 	{0x87, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag__net_},
       
   146 	{0x88, (NW_String_UCS2Buff_t *) NW_SI_AttributeTag__org_}
       
   147 };
       
   148 
       
   149 /*
       
   150 ** WARNING
       
   151 **
       
   152 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED
       
   153 **               FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM
       
   154 **
       
   155 ** This file generated on Fri Sep 26 19:53:43 2003
       
   156 **                        (coordinated universal time)
       
   157 **
       
   158 ** Command line: dict_creator si.dict si_dict.c si_dict.h
       
   159 */
       
   160 
       
   161 /*
       
   162  * attribute entries - sorted by name
       
   163  */
       
   164 static const
       
   165 NW_Byte NW_SI_attribute_name_0[19] = {
       
   166 	15,
       
   167 	16,
       
   168 	17,
       
   169 	18,
       
   170 	14,
       
   171 	4,
       
   172 	3,
       
   173 	1,
       
   174 	2,
       
   175 	0,
       
   176 	13,
       
   177 	5,
       
   178 	6,
       
   179 	7,
       
   180 	8,
       
   181 	9,
       
   182 	10,
       
   183 	11,
       
   184 	12,
       
   185 };
       
   186 
       
   187 /*
       
   188  * Tag codepage table
       
   189  */
       
   190 static const
       
   191 NW_WBXML_Codepage_t NW_SI_tag_codepages[1] = {
       
   192 	{4, (NW_WBXML_DictEntry_t*)&NW_SI_tag_token_0[0], (NW_Byte *)&NW_SI_tag_name_0[0]},
       
   193 };
       
   194 
       
   195 /*
       
   196  * Attribute codepage table
       
   197  */
       
   198 static const
       
   199 NW_WBXML_Codepage_t NW_SI_attribute_codepages[1] = {
       
   200 	{19, (NW_WBXML_DictEntry_t*)&NW_SI_attribute_token_0[0], (NW_Byte *)&NW_SI_attribute_name_0[0]},
       
   201 };
       
   202 
       
   203 static const NW_Ucs2 NW_SI_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','S','I',' ','1','.','0','/','/','E','N','\0'};
       
   204 
       
   205 /*
       
   206  * Dictionary
       
   207  */
       
   208 const NW_WBXML_Dictionary_t NW_SI_WBXMLDictionary = {
       
   209 	NW_SI_PublicId,
       
   210 	(NW_Ucs2 *)NW_SI_docType,
       
   211 	1, (NW_WBXML_Codepage_t*)&NW_SI_tag_codepages[0],
       
   212 	1, (NW_WBXML_Codepage_t*)&NW_SI_attribute_codepages[0],
       
   213 };
       
   214 
       
   215 /*
       
   216 ** WARNING
       
   217 **
       
   218 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED
       
   219 **               FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM
       
   220 **
       
   221 ** This file generated on Fri Sep 26 19:53:43 2003
       
   222 **                        (coordinated universal time)
       
   223 **
       
   224 ** Command line: dict_creator si.dict si_dict.c si_dict.h
       
   225 */