Kannel: Open Source WAP and SMS gateway  svn-r5335
wsopcodes.h
Go to the documentation of this file.
1 /* ====================================================================
2  * The Kannel Software License, Version 1.0
3  *
4  * Copyright (c) 2001-2018 Kannel Group
5  * Copyright (c) 1998-2001 WapIT Ltd.
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  *
12  * 1. Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  *
15  * 2. Redistributions in binary form must reproduce the above copyright
16  * notice, this list of conditions and the following disclaimer in
17  * the documentation and/or other materials provided with the
18  * distribution.
19  *
20  * 3. The end-user documentation included with the redistribution,
21  * if any, must include the following acknowledgment:
22  * "This product includes software developed by the
23  * Kannel Group (http://www.kannel.org/)."
24  * Alternately, this acknowledgment may appear in the software itself,
25  * if and wherever such third-party acknowledgments normally appear.
26  *
27  * 4. The names "Kannel" and "Kannel Group" must not be used to
28  * endorse or promote products derived from this software without
29  * prior written permission. For written permission, please
30  * contact org@kannel.org.
31  *
32  * 5. Products derived from this software may not be called "Kannel",
33  * nor may "Kannel" appear in their name, without prior written
34  * permission of the Kannel Group.
35  *
36  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
37  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
38  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
39  * DISCLAIMED. IN NO EVENT SHALL THE KANNEL GROUP OR ITS CONTRIBUTORS
40  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
41  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
42  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
43  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
44  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
45  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
46  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47  * ====================================================================
48  *
49  * This software consists of voluntary contributions made by many
50  * individuals on behalf of the Kannel Group. For more information on
51  * the Kannel Group, please see <http://www.kannel.org/>.
52  *
53  * Portions of this software are based upon software originally written at
54  * WapIT Ltd., Helsinki, Finland for the Kannel project.
55  */
56 
57 /* 0x00 */ {NULL, 0},
58 /* 0x01 */ {"jump_fw", 2},
59 /* 0x02 */ {"jump_fw_w", 3},
60 /* 0x03 */ {"jump_bw", 2},
61 /* 0x04 */ {"jump_bw_w", 3},
62 /* 0x05 */ {"tjump_fw", 2},
63 /* 0x06 */ {"tjump_fw_w", 3},
64 /* 0x07 */ {"tjump_bw", 2},
65 /* 0x08 */ {"tjump_bw_w", 3},
66 /* 0x09 */ {"call", 2},
67 /* 0x0a */ {"call_lib", 3},
68 /* 0x0b */ {"call_lib_w", 4},
69 /* 0x0c */ {"call_url", 4},
70 /* 0x0d */ {"call_url_w", 6},
71 /* 0x0e */ {"load_var", 2},
72 /* 0x0f */ {"store_var", 2},
73 /* 0x10 */ {"incr_var", 2},
74 /* 0x11 */ {"decr_var", 2},
75 /* 0x12 */ {"load_const", 2},
76 /* 0x13 */ {"load_const_w", 3},
77 /* 0x14 */ {"const_0", 1},
78 /* 0x15 */ {"const_1", 1},
79 /* 0x16 */ {"const_m1", 1},
80 /* 0x17 */ {"const_es", 1},
81 /* 0x18 */ {"const_invalid", 1},
82 /* 0x19 */ {"const_true", 1},
83 /* 0x1a */ {"const_false", 1},
84 /* 0x1b */ {"incr", 1},
85 /* 0x1c */ {"decr", 1},
86 /* 0x1d */ {"add_asg", 2},
87 /* 0x1e */ {"sub_asg", 2},
88 /* 0x1f */ {"uminus", 1},
89 /* 0x20 */ {"add", 1},
90 /* 0x21 */ {"sub", 1},
91 /* 0x22 */ {"mul", 1},
92 /* 0x23 */ {"div", 1},
93 /* 0x24 */ {"idiv", 1},
94 /* 0x25 */ {"rem", 1},
95 /* 0x26 */ {"b_and", 1},
96 /* 0x27 */ {"b_or", 1},
97 /* 0x28 */ {"b_xor", 1},
98 /* 0x29 */ {"b_not", 1},
99 /* 0x2a */ {"b_lshift", 1},
100 /* 0x2b */ {"b_rsshift", 1},
101 /* 0x2c */ {"b_rszshift", 1},
102 /* 0x2d */ {"eq", 1},
103 /* 0x2e */ {"le", 1},
104 /* 0x2f */ {"lt", 1},
105 /* 0x30 */ {"ge", 1},
106 /* 0x31 */ {"gt", 1},
107 /* 0x32 */ {"ne", 1},
108 /* 0x33 */ {"not", 1},
109 /* 0x34 */ {"scand", 1},
110 /* 0x35 */ {"scor", 1},
111 /* 0x36 */ {"tobool", 1},
112 /* 0x37 */ {"pop", 1},
113 /* 0x38 */ {"typeof", 1},
114 /* 0x39 */ {"isvalid", 1},
115 /* 0x3a */ {"return", 1},
116 /* 0x3b */ {"return_es", 1},
117 /* 0x3c */ {"debug", 1},
118 /* 0x3d */ {NULL, 0},
119 /* 0x3e */ {NULL, 0},
120 /* 0x3f */ {NULL, 0},
121 /* 0x40 */ {"store_var_s", 1},
122 /* 0x41 */ {NULL, 0},
123 /* 0x42 */ {NULL, 0},
124 /* 0x43 */ {NULL, 0},
125 /* 0x44 */ {NULL, 0},
126 /* 0x45 */ {NULL, 0},
127 /* 0x46 */ {NULL, 0},
128 /* 0x47 */ {NULL, 0},
129 /* 0x48 */ {NULL, 0},
130 /* 0x49 */ {NULL, 0},
131 /* 0x4a */ {NULL, 0},
132 /* 0x4b */ {NULL, 0},
133 /* 0x4c */ {NULL, 0},
134 /* 0x4d */ {NULL, 0},
135 /* 0x4e */ {NULL, 0},
136 /* 0x4f */ {NULL, 0},
137 /* 0x50 */ {"load_const_s", 1},
138 /* 0x51 */ {NULL, 0},
139 /* 0x52 */ {NULL, 0},
140 /* 0x53 */ {NULL, 0},
141 /* 0x54 */ {NULL, 0},
142 /* 0x55 */ {NULL, 0},
143 /* 0x56 */ {NULL, 0},
144 /* 0x57 */ {NULL, 0},
145 /* 0x58 */ {NULL, 0},
146 /* 0x59 */ {NULL, 0},
147 /* 0x5a */ {NULL, 0},
148 /* 0x5b */ {NULL, 0},
149 /* 0x5c */ {NULL, 0},
150 /* 0x5d */ {NULL, 0},
151 /* 0x5e */ {NULL, 0},
152 /* 0x5f */ {NULL, 0},
153 /* 0x60 */ {"call_s", 1},
154 /* 0x61 */ {NULL, 0},
155 /* 0x62 */ {NULL, 0},
156 /* 0x63 */ {NULL, 0},
157 /* 0x64 */ {NULL, 0},
158 /* 0x65 */ {NULL, 0},
159 /* 0x66 */ {NULL, 0},
160 /* 0x67 */ {NULL, 0},
161 /* 0x68 */ {"call_lib_s", 2},
162 /* 0x69 */ {NULL, 0},
163 /* 0x6a */ {NULL, 0},
164 /* 0x6b */ {NULL, 0},
165 /* 0x6c */ {NULL, 0},
166 /* 0x6d */ {NULL, 0},
167 /* 0x6e */ {NULL, 0},
168 /* 0x6f */ {NULL, 0},
169 /* 0x70 */ {"incr_var_s", 1},
170 /* 0x71 */ {NULL, 0},
171 /* 0x72 */ {NULL, 0},
172 /* 0x73 */ {NULL, 0},
173 /* 0x74 */ {NULL, 0},
174 /* 0x75 */ {NULL, 0},
175 /* 0x76 */ {NULL, 0},
176 /* 0x77 */ {NULL, 0},
177 /* 0x78 */ {NULL, 0},
178 /* 0x79 */ {NULL, 0},
179 /* 0x7a */ {NULL, 0},
180 /* 0x7b */ {NULL, 0},
181 /* 0x7c */ {NULL, 0},
182 /* 0x7d */ {NULL, 0},
183 /* 0x7e */ {NULL, 0},
184 /* 0x7f */ {NULL, 0},
185 /* 0x80 */ {"jump_fw_s", 1},
186 /* 0x81 */ {NULL, 0},
187 /* 0x82 */ {NULL, 0},
188 /* 0x83 */ {NULL, 0},
189 /* 0x84 */ {NULL, 0},
190 /* 0x85 */ {NULL, 0},
191 /* 0x86 */ {NULL, 0},
192 /* 0x87 */ {NULL, 0},
193 /* 0x88 */ {NULL, 0},
194 /* 0x89 */ {NULL, 0},
195 /* 0x8a */ {NULL, 0},
196 /* 0x8b */ {NULL, 0},
197 /* 0x8c */ {NULL, 0},
198 /* 0x8d */ {NULL, 0},
199 /* 0x8e */ {NULL, 0},
200 /* 0x8f */ {NULL, 0},
201 /* 0x90 */ {NULL, 0},
202 /* 0x91 */ {NULL, 0},
203 /* 0x92 */ {NULL, 0},
204 /* 0x93 */ {NULL, 0},
205 /* 0x94 */ {NULL, 0},
206 /* 0x95 */ {NULL, 0},
207 /* 0x96 */ {NULL, 0},
208 /* 0x97 */ {NULL, 0},
209 /* 0x98 */ {NULL, 0},
210 /* 0x99 */ {NULL, 0},
211 /* 0x9a */ {NULL, 0},
212 /* 0x9b */ {NULL, 0},
213 /* 0x9c */ {NULL, 0},
214 /* 0x9d */ {NULL, 0},
215 /* 0x9e */ {NULL, 0},
216 /* 0x9f */ {NULL, 0},
217 /* 0xa0 */ {"jump_bw_s", 1},
218 /* 0xa1 */ {NULL, 0},
219 /* 0xa2 */ {NULL, 0},
220 /* 0xa3 */ {NULL, 0},
221 /* 0xa4 */ {NULL, 0},
222 /* 0xa5 */ {NULL, 0},
223 /* 0xa6 */ {NULL, 0},
224 /* 0xa7 */ {NULL, 0},
225 /* 0xa8 */ {NULL, 0},
226 /* 0xa9 */ {NULL, 0},
227 /* 0xaa */ {NULL, 0},
228 /* 0xab */ {NULL, 0},
229 /* 0xac */ {NULL, 0},
230 /* 0xad */ {NULL, 0},
231 /* 0xae */ {NULL, 0},
232 /* 0xaf */ {NULL, 0},
233 /* 0xb0 */ {NULL, 0},
234 /* 0xb1 */ {NULL, 0},
235 /* 0xb2 */ {NULL, 0},
236 /* 0xb3 */ {NULL, 0},
237 /* 0xb4 */ {NULL, 0},
238 /* 0xb5 */ {NULL, 0},
239 /* 0xb6 */ {NULL, 0},
240 /* 0xb7 */ {NULL, 0},
241 /* 0xb8 */ {NULL, 0},
242 /* 0xb9 */ {NULL, 0},
243 /* 0xba */ {NULL, 0},
244 /* 0xbb */ {NULL, 0},
245 /* 0xbc */ {NULL, 0},
246 /* 0xbd */ {NULL, 0},
247 /* 0xbe */ {NULL, 0},
248 /* 0xbf */ {NULL, 0},
249 /* 0xc0 */ {"tjump_fw_s", 1},
250 /* 0xc1 */ {NULL, 0},
251 /* 0xc2 */ {NULL, 0},
252 /* 0xc3 */ {NULL, 0},
253 /* 0xc4 */ {NULL, 0},
254 /* 0xc5 */ {NULL, 0},
255 /* 0xc6 */ {NULL, 0},
256 /* 0xc7 */ {NULL, 0},
257 /* 0xc8 */ {NULL, 0},
258 /* 0xc9 */ {NULL, 0},
259 /* 0xca */ {NULL, 0},
260 /* 0xcb */ {NULL, 0},
261 /* 0xcc */ {NULL, 0},
262 /* 0xcd */ {NULL, 0},
263 /* 0xce */ {NULL, 0},
264 /* 0xcf */ {NULL, 0},
265 /* 0xd0 */ {NULL, 0},
266 /* 0xd1 */ {NULL, 0},
267 /* 0xd2 */ {NULL, 0},
268 /* 0xd3 */ {NULL, 0},
269 /* 0xd4 */ {NULL, 0},
270 /* 0xd5 */ {NULL, 0},
271 /* 0xd6 */ {NULL, 0},
272 /* 0xd7 */ {NULL, 0},
273 /* 0xd8 */ {NULL, 0},
274 /* 0xd9 */ {NULL, 0},
275 /* 0xda */ {NULL, 0},
276 /* 0xdb */ {NULL, 0},
277 /* 0xdc */ {NULL, 0},
278 /* 0xdd */ {NULL, 0},
279 /* 0xde */ {NULL, 0},
280 /* 0xdf */ {NULL, 0},
281 /* 0xe0 */ {"load_var_s", 1},
282 /* 0xe1 */ {NULL, 0},
283 /* 0xe2 */ {NULL, 0},
284 /* 0xe3 */ {NULL, 0},
285 /* 0xe4 */ {NULL, 0},
286 /* 0xe5 */ {NULL, 0},
287 /* 0xe6 */ {NULL, 0},
288 /* 0xe7 */ {NULL, 0},
289 /* 0xe8 */ {NULL, 0},
290 /* 0xe9 */ {NULL, 0},
291 /* 0xea */ {NULL, 0},
292 /* 0xeb */ {NULL, 0},
293 /* 0xec */ {NULL, 0},
294 /* 0xed */ {NULL, 0},
295 /* 0xee */ {NULL, 0},
296 /* 0xef */ {NULL, 0},
297 /* 0xf0 */ {NULL, 0},
298 /* 0xf1 */ {NULL, 0},
299 /* 0xf2 */ {NULL, 0},
300 /* 0xf3 */ {NULL, 0},
301 /* 0xf4 */ {NULL, 0},
302 /* 0xf5 */ {NULL, 0},
303 /* 0xf6 */ {NULL, 0},
304 /* 0xf7 */ {NULL, 0},
305 /* 0xf8 */ {NULL, 0},
306 /* 0xf9 */ {NULL, 0},
307 /* 0xfa */ {NULL, 0},
308 /* 0xfb */ {NULL, 0},
309 /* 0xfc */ {NULL, 0},
310 /* 0xfd */ {NULL, 0},
311 /* 0xfe */ {NULL, 0},
312 /* 0xff */ {NULL, 0},
See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.