|
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 Tue Sep 30 14:30:25 2003 |
|
26 ** (coordinated universal time) |
|
27 ** |
|
28 ** Command line: dict_creator sl.dict sl_dict.c sl_dict.h |
|
29 */ |
|
30 |
|
31 /* |
|
32 * Dictionary = SL |
|
33 * Public id = 6 |
|
34 * Doc Type = -//WAPFORUM//DTD SL 1.0//EN |
|
35 */ |
|
36 |
|
37 #include "sl_dict.h" |
|
38 |
|
39 |
|
40 static const NW_Ucs2 NW_SL_ElementTag_sl[] = {'s','l','\0'}; |
|
41 |
|
42 /* |
|
43 ** WARNING |
|
44 ** |
|
45 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED |
|
46 ** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM |
|
47 ** |
|
48 ** This file generated on Tue Sep 30 14:30:25 2003 |
|
49 ** (coordinated universal time) |
|
50 ** |
|
51 ** Command line: dict_creator sl.dict sl_dict.c sl_dict.h |
|
52 */ |
|
53 |
|
54 /* |
|
55 * tag entries - sorted by token |
|
56 */ |
|
57 static const |
|
58 NW_WBXML_DictEntry_t NW_SL_tag_token_0[1] = { |
|
59 {0x05, (NW_String_UCS2Buff_t *) NW_SL_ElementTag_sl} |
|
60 }; |
|
61 |
|
62 /* |
|
63 ** WARNING |
|
64 ** |
|
65 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED |
|
66 ** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM |
|
67 ** |
|
68 ** This file generated on Tue Sep 30 14:30:25 2003 |
|
69 ** (coordinated universal time) |
|
70 ** |
|
71 ** Command line: dict_creator sl.dict sl_dict.c sl_dict.h |
|
72 */ |
|
73 |
|
74 /* |
|
75 * tag entries - sorted by name |
|
76 */ |
|
77 static const |
|
78 NW_Byte NW_SL_tag_name_0[1] = { |
|
79 0, |
|
80 }; |
|
81 |
|
82 static const NW_Ucs2 NW_SL_AttributeTag_action_execute_low[] = {'a','c','t','i','o','n','=','e','x','e','c','u','t','e','-','l','o','w','\0'}; |
|
83 static const NW_Ucs2 NW_SL_AttributeTag_action_execute_high[] = {'a','c','t','i','o','n','=','e','x','e','c','u','t','e','-','h','i','g','h','\0'}; |
|
84 static const NW_Ucs2 NW_SL_AttributeTag_action_cache[] = {'a','c','t','i','o','n','=','c','a','c','h','e','\0'}; |
|
85 static const NW_Ucs2 NW_SL_AttributeTag_href[] = {'h','r','e','f','\0'}; |
|
86 static const NW_Ucs2 NW_SL_AttributeTag_href_http___[] = {'h','r','e','f','=','h','t','t','p',':','/','/','\0'}; |
|
87 static const NW_Ucs2 NW_SL_AttributeTag_href_http___www_[] = {'h','r','e','f','=','h','t','t','p',':','/','/','w','w','w','.','\0'}; |
|
88 static const NW_Ucs2 NW_SL_AttributeTag_href_https___[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','\0'}; |
|
89 static const NW_Ucs2 NW_SL_AttributeTag_href_https___www_[] = {'h','r','e','f','=','h','t','t','p','s',':','/','/','w','w','w','.','\0'}; |
|
90 static const NW_Ucs2 NW_SL_AttributeTag_action[] = {'a','c','t','i','o','n','\0'}; |
|
91 static const NW_Ucs2 NW_SL_AttributeTag__com_[] = {'.','c','o','m','/','\0'}; |
|
92 static const NW_Ucs2 NW_SL_AttributeTag__edu_[] = {'.','e','d','u','/','\0'}; |
|
93 static const NW_Ucs2 NW_SL_AttributeTag__net_[] = {'.','n','e','t','/','\0'}; |
|
94 static const NW_Ucs2 NW_SL_AttributeTag__org_[] = {'.','o','r','g','/','\0'}; |
|
95 |
|
96 /* |
|
97 ** WARNING |
|
98 ** |
|
99 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED |
|
100 ** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM |
|
101 ** |
|
102 ** This file generated on Tue Sep 30 14:30:25 2003 |
|
103 ** (coordinated universal time) |
|
104 ** |
|
105 ** Command line: dict_creator sl.dict sl_dict.c sl_dict.h |
|
106 */ |
|
107 |
|
108 /* |
|
109 * attribute entries - sorted by token |
|
110 */ |
|
111 static const |
|
112 NW_WBXML_DictEntry_t NW_SL_attribute_token_0[13] = { |
|
113 {0x05, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action_execute_low}, |
|
114 {0x06, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action_execute_high}, |
|
115 {0x07, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action_cache}, |
|
116 {0x08, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href}, |
|
117 {0x09, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_http___}, |
|
118 {0x0a, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_http___www_}, |
|
119 {0x0b, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_https___}, |
|
120 {0x0c, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_href_https___www_}, |
|
121 {0x0d, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag_action}, |
|
122 {0x85, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__com_}, |
|
123 {0x86, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__edu_}, |
|
124 {0x87, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__net_}, |
|
125 {0x88, (NW_String_UCS2Buff_t *) NW_SL_AttributeTag__org_} |
|
126 }; |
|
127 |
|
128 /* |
|
129 ** WARNING |
|
130 ** |
|
131 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED |
|
132 ** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM |
|
133 ** |
|
134 ** This file generated on Tue Sep 30 14:30:25 2003 |
|
135 ** (coordinated universal time) |
|
136 ** |
|
137 ** Command line: dict_creator sl.dict sl_dict.c sl_dict.h |
|
138 */ |
|
139 |
|
140 /* |
|
141 * attribute entries - sorted by name |
|
142 */ |
|
143 static const |
|
144 NW_Byte NW_SL_attribute_name_0[13] = { |
|
145 9, |
|
146 10, |
|
147 11, |
|
148 12, |
|
149 8, |
|
150 2, |
|
151 1, |
|
152 0, |
|
153 3, |
|
154 4, |
|
155 5, |
|
156 6, |
|
157 7, |
|
158 }; |
|
159 |
|
160 /* |
|
161 * Tag codepage table |
|
162 */ |
|
163 static const |
|
164 NW_WBXML_Codepage_t NW_SL_tag_codepages[1] = { |
|
165 {1, (NW_WBXML_DictEntry_t*)&NW_SL_tag_token_0[0], (NW_Byte *)&NW_SL_tag_name_0[0]}, |
|
166 }; |
|
167 |
|
168 /* |
|
169 * Attribute codepage table |
|
170 */ |
|
171 static const |
|
172 NW_WBXML_Codepage_t NW_SL_attribute_codepages[1] = { |
|
173 {13, (NW_WBXML_DictEntry_t*)&NW_SL_attribute_token_0[0], (NW_Byte *)&NW_SL_attribute_name_0[0]}, |
|
174 }; |
|
175 |
|
176 static const NW_Ucs2 NW_SL_docType[] = {'-','/','/','W','A','P','F','O','R','U','M','/','/','D','T','D',' ','S','L',' ','1','.','0','/','/','E','N','\0'}; |
|
177 |
|
178 /* |
|
179 * Dictionary |
|
180 */ |
|
181 const NW_WBXML_Dictionary_t NW_SL_WBXMLDictionary = { |
|
182 NW_SL_PublicId, |
|
183 (NW_Ucs2 *)NW_SL_docType, |
|
184 1, (NW_WBXML_Codepage_t*)&NW_SL_tag_codepages[0], |
|
185 1, (NW_WBXML_Codepage_t*)&NW_SL_attribute_codepages[0], |
|
186 }; |
|
187 |
|
188 /* |
|
189 ** WARNING |
|
190 ** |
|
191 ** DO NOT EDIT - THIS CODE IS AUTOMATICALLY GENERATED |
|
192 ** FROM A DATA FILE BY THE DICTIONARY CREATION PROGRAM |
|
193 ** |
|
194 ** This file generated on Tue Sep 30 14:30:25 2003 |
|
195 ** (coordinated universal time) |
|
196 ** |
|
197 ** Command line: dict_creator sl.dict sl_dict.c sl_dict.h |
|
198 */ |