Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
sip-1.h
Go to the documentation of this file.
1 //
2 // This C-language parser header was generated by APG Version 7.0.
3 // User modifications invalidate the license agreement and may cause unpredictable results.
4 //
5 /* *************************************************************************************
6  Copyright (c) 2021, Lowell D. Thomas
7  All rights reserved.
8 
9  This file was generated by and is part of APG Version 7.0.
10  APG Version 7.0 may be used under the terms of the BSD 2-Clause License.
11 
12  Redistribution and use in source and binary forms, with or without
13  modification, are permitted provided that the following conditions are met:
14 
15  1. Redistributions of source code must retain the above copyright notice, this
16  list of conditions and the following disclaimer.
17 
18  2. Redistributions in binary form must reproduce the above copyright notice,
19  this list of conditions and the following disclaimer in the documentation
20  and/or other materials provided with the distribution.
21 
22  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 
33 * *************************************************************************************/
34 
35 #ifndef _SIP_1_H_
36 #define _SIP_1_H_
37 
38 // rule ids
39 #define SIP_1_ABS_PATH 52
40 #define SIP_1_ABSOLUTEURI 49
41 #define SIP_1_ACCEPT 69
42 #define SIP_1_ACCEPT_ENCODING 76
43 #define SIP_1_ACCEPT_LANGUAGE 80
44 #define SIP_1_ACCEPT_PARAM 72
45 #define SIP_1_ACCEPT_RANGE 70
46 #define SIP_1_ACKM 6
47 #define SIP_1_ADDR_SPEC 118
48 #define SIP_1_AINFO 106
49 #define SIP_1_ALERT_INFO 83
50 #define SIP_1_ALERT_PARAM 84
51 #define SIP_1_ALGORITHM 186
52 #define SIP_1_ALLOW 85
53 #define SIP_1_AREA_SPECIFIER 245
54 #define SIP_1_AUTH_PARAM 101
55 #define SIP_1_AUTH_PARAM_NAME 102
56 #define SIP_1_AUTH_SCHEME 104
57 #define SIP_1_AUTHENTICATION_INFO 105
58 #define SIP_1_AUTHORITY 61
59 #define SIP_1_AUTHORIZATION 86
60 #define SIP_1_BASE_PHONE_NUMBER 241
61 #define SIP_1_BLANKSPACE 1
62 #define SIP_1_BYEM 8
63 #define SIP_1_C_P_EXPIRES 123
64 #define SIP_1_C_P_Q 122
65 #define SIP_1_CALL_ID 110
66 #define SIP_1_CALL_INFO 112
67 #define SIP_1_CALLID 111
68 #define SIP_1_CANCELM 9
69 #define SIP_1_CHALLENGE 175
70 #define SIP_1_CHAR 296
71 #define SIP_1_CNONCE 95
72 #define SIP_1_CNONCE_VALUE 96
73 #define SIP_1_CODINGS 78
74 #define SIP_1_COLON 287
75 #define SIP_1_COMMA 285
76 #define SIP_1_COMMENT 290
77 #define SIP_1_COMPOSITE_TYPE 142
78 #define SIP_1_CONTACT 115
79 #define SIP_1_CONTACT_EXTENSION 124
80 #define SIP_1_CONTACT_PARAM 116
81 #define SIP_1_CONTACT_PARAMS 121
82 #define SIP_1_CONTENT_CODING 79
83 #define SIP_1_CONTENT_DISPOSITION 126
84 #define SIP_1_CONTENT_ENCODING 132
85 #define SIP_1_CONTENT_LANGUAGE 133
86 #define SIP_1_CONTENT_LENGTH 137
87 #define SIP_1_CONTENT_TYPE 138
88 #define SIP_1_CR 297
89 #define SIP_1_CREDENTIALS 87
90 #define SIP_1_CSEQ 151
91 #define SIP_1_CTEXT 291
92 #define SIP_1_D_NAME 120
93 #define SIP_1_DATE 152
94 #define SIP_1_DATE1 155
95 #define SIP_1_DELAY 210
96 #define SIP_1_DELTA_SECONDS 125
97 #define SIP_1_DIG_RESP 89
98 #define SIP_1_DIGEST_CLN 177
99 #define SIP_1_DIGEST_RESPONSE 88
100 #define SIP_1_DIGEST_URI 92
101 #define SIP_1_DIGEST_URI_VALUE 93
102 #define SIP_1_DISCRETE_TYPE 141
103 #define SIP_1_DISP_EXTENSION_TOKEN 131
104 #define SIP_1_DISP_PARAM 128
105 #define SIP_1_DISP_TYPE 127
106 #define SIP_1_DISPLAY_NAME 119
107 #define SIP_1_DOMAIN 180
108 #define SIP_1_DQUOTE 298
109 #define SIP_1_DRESPONSE 99
110 #define SIP_1_DTMF_DIGIT 263
111 #define SIP_1_ENCODING 77
112 #define SIP_1_EQUAL 280
113 #define SIP_1_ERROR_INFO 159
114 #define SIP_1_ERROR_URI 160
115 #define SIP_1_ESCAPED 269
116 #define SIP_1_EXPIRES 161
117 #define SIP_1_EXTENSION_HEADER 236
118 #define SIP_1_EXTENSION_METHOD 12
119 #define SIP_1_EXTENSION_TOKEN 143
120 #define SIP_1_FROM 162
121 #define SIP_1_FROM_PARAM 164
122 #define SIP_1_FROM_SPEC 163
123 #define SIP_1_FUTURE_EXTENSION 255
124 #define SIP_1_GEN_VALUE 75
125 #define SIP_1_GENERIC_PARAM 74
126 #define SIP_1_GLOBAL_NETWORK_PREFIX 249
127 #define SIP_1_GLOBAL_PHONE_NUMBER 240
128 #define SIP_1_HANDLING_PARAM 129
129 #define SIP_1_HCOLON 276
130 #define SIP_1_HEADER 44
131 #define SIP_1_HEADER_NAME 237
132 #define SIP_1_HEADER_VALUE 238
133 #define SIP_1_HEADERS 43
134 #define SIP_1_HEXDIG 299
135 #define SIP_1_HIER_PART 50
136 #define SIP_1_HNAME 45
137 #define SIP_1_HNV_UNRESERVED 47
138 #define SIP_1_HOST 24
139 #define SIP_1_HOSTNAME 25
140 #define SIP_1_HOSTPORT 23
141 #define SIP_1_HVALUE 46
142 #define SIP_1_IANA_TOKEN 147
143 #define SIP_1_IETF_TOKEN 144
144 #define SIP_1_IN_REPLY_TO 166
145 #define SIP_1_INFO 113
146 #define SIP_1_INFO_PARAM 114
147 #define SIP_1_INVITEM 5
148 #define SIP_1_IPV4ADDRESS 65
149 #define SIP_1_IPV6ADDRESS 67
150 #define SIP_1_IPV6REFERENCE 66
151 #define SIP_1_ISDN_SUBADDRESS 243
152 #define SIP_1_LANGUAGE 81
153 #define SIP_1_LANGUAGE_RANGE 82
154 #define SIP_1_LANGUAGE_TAG 134
155 #define SIP_1_LAQUOT 284
156 #define SIP_1_LDQUOT 288
157 #define SIP_1_LF 300
158 #define SIP_1_LHEX 277
159 #define SIP_1_LOCAL_NETWORK_PREFIX 250
160 #define SIP_1_LOCAL_PHONE_NUMBER 242
161 #define SIP_1_LPAREN 281
162 #define SIP_1_LR_PARAM 37
163 #define SIP_1_M_ATTRIBUTE 149
164 #define SIP_1_M_PARAMETER 148
165 #define SIP_1_M_SUBTYPE 146
166 #define SIP_1_M_TYPE 140
167 #define SIP_1_M_VALUE 150
168 #define SIP_1_MADDR_PARAM 36
169 #define SIP_1_MARK 268
170 #define SIP_1_MAX_FORWARDS 167
171 #define SIP_1_MEDIA_RANGE 71
172 #define SIP_1_MEDIA_TYPE 139
173 #define SIP_1_MESSAGE_HEADER 68
174 #define SIP_1_MESSAGE_QOP 94
175 #define SIP_1_METHOD 11
176 #define SIP_1_METHOD_PARAM 34
177 #define SIP_1_MIME_VERSION 168
178 #define SIP_1_MIN_EXPIRES 169
179 #define SIP_1_MONTH 158
180 #define SIP_1_NAME_ADDR 117
181 #define SIP_1_NC_VALUE 98
182 #define SIP_1_NET_PATH 51
183 #define SIP_1_NETWORK_PREFIX 248
184 #define SIP_1_NEXTNONCE 107
185 #define SIP_1_NONCE 182
186 #define SIP_1_NONCE_COUNT 97
187 #define SIP_1_NONCE_VALUE 183
188 #define SIP_1_ONE_SECOND_PAUSE 261
189 #define SIP_1_OPAQUE 184
190 #define SIP_1_OPAQUE_PART 53
191 #define SIP_1_OPTION_TAG 191
192 #define SIP_1_OPTIONSM 7
193 #define SIP_1_ORGANIZATION 170
194 #define SIP_1_OTHER_CHALLENGE 176
195 #define SIP_1_OTHER_HANDLING 130
196 #define SIP_1_OTHER_PARAM 38
197 #define SIP_1_OTHER_PRIORITY 173
198 #define SIP_1_OTHER_RESPONSE 103
199 #define SIP_1_OTHER_TRANSPORT 31
200 #define SIP_1_OTHER_USER 33
201 #define SIP_1_PARAM 58
202 #define SIP_1_PARAM_UNRESERVED 42
203 #define SIP_1_PARAMCHAR 41
204 #define SIP_1_PASSWORD 22
205 #define SIP_1_PATH_SEGMENTS 56
206 #define SIP_1_PAUSE_CHARACTER 260
207 #define SIP_1_PCHAR 59
208 #define SIP_1_PHONE_CONTEXT_IDENT 247
209 #define SIP_1_PHONE_CONTEXT_TAG 246
210 #define SIP_1_PHONEDIGIT 258
211 #define SIP_1_PNAME 39
212 #define SIP_1_PORT 27
213 #define SIP_1_POST_DIAL 244
214 #define SIP_1_PRIMARY_TAG 135
215 #define SIP_1_PRIORITY 171
216 #define SIP_1_PRIORITY_VALUE 172
217 #define SIP_1_PRIVATE_PREFIX 251
218 #define SIP_1_PRODUCT 205
219 #define SIP_1_PRODUCT_VERSION 206
220 #define SIP_1_PROTOCOL_NAME 224
221 #define SIP_1_PROTOCOL_VERSION 225
222 #define SIP_1_PROVIDER_HOSTNAME 254
223 #define SIP_1_PROVIDER_TAG 253
224 #define SIP_1_PROXY_AUTHENTICATE 174
225 #define SIP_1_PROXY_AUTHORIZATION 189
226 #define SIP_1_PROXY_REQUIRE 190
227 #define SIP_1_PSEUDONYM 234
228 #define SIP_1_PVALUE 40
229 #define SIP_1_Q_STRING 293
230 #define SIP_1_QDTEXT 294
231 #define SIP_1_QOP_OPTIONS 187
232 #define SIP_1_QOP_VALUE 188
233 #define SIP_1_QUERY 64
234 #define SIP_1_QUOTED_PAIR 295
235 #define SIP_1_QUOTED_STRING 292
236 #define SIP_1_QVALUE 73
237 #define SIP_1_RAQUOT 283
238 #define SIP_1_RDQUOT 289
239 #define SIP_1_REALM 178
240 #define SIP_1_REALM_VALUE 179
241 #define SIP_1_REASON_PHRASE 16
242 #define SIP_1_REC_ROUTE 193
243 #define SIP_1_RECORD_ROUTE 192
244 #define SIP_1_REG_NAME 63
245 #define SIP_1_REGISTERM 10
246 #define SIP_1_REPLY_TO 195
247 #define SIP_1_REQUEST 2
248 #define SIP_1_REQUEST_DIGEST 100
249 #define SIP_1_REQUEST_LINE 3
250 #define SIP_1_REQUEST_URI 48
251 #define SIP_1_REQUIRE 198
252 #define SIP_1_RESERVED 267
253 #define SIP_1_RESPONSE 13
254 #define SIP_1_RESPONSE_AUTH 108
255 #define SIP_1_RESPONSE_DIGEST 109
256 #define SIP_1_RETRY_AFTER 199
257 #define SIP_1_RETRY_PARAM 200
258 #define SIP_1_RFC1035DOMAIN 264
259 #define SIP_1_RFC1035LABEL 266
260 #define SIP_1_RFC1035SUBDOMAIN 265
261 #define SIP_1_RFC1123_DATE 154
262 #define SIP_1_ROUTE 201
263 #define SIP_1_ROUTE_PARAM 202
264 #define SIP_1_RPAREN 282
265 #define SIP_1_RPLYTO_PARAM 197
266 #define SIP_1_RPLYTO_SPEC 196
267 #define SIP_1_RR_PARAM 194
268 #define SIP_1_SCHEME 60
269 #define SIP_1_SEGMENT 57
270 #define SIP_1_SEMI 286
271 #define SIP_1_SENT_BY 227
272 #define SIP_1_SENT_PROTOCOL 223
273 #define SIP_1_SERVER 203
274 #define SIP_1_SERVER_VAL 204
275 #define SIP_1_SERVICE_PROVIDER 252
276 #define SIP_1_SIP_DATE 153
277 #define SIP_1_SIP_MESSAGE 0
278 #define SIP_1_SIP_URI 17
279 #define SIP_1_SIP_VERSION 4
280 #define SIP_1_SIPS_URI 18
281 #define SIP_1_SLASH 279
282 #define SIP_1_SP 301
283 #define SIP_1_SRVR 62
284 #define SIP_1_STALE 185
285 #define SIP_1_STAR 278
286 #define SIP_1_STATUS_CODE 15
287 #define SIP_1_STATUS_LINE 14
288 #define SIP_1_SUBJECT 207
289 #define SIP_1_SUBTAG 136
290 #define SIP_1_SUPPORTED 208
291 #define SIP_1_TAG_PARAM 165
292 #define SIP_1_TEL_QUOTED_STRING 257
293 #define SIP_1_TELEPHONE_SUBSCRIBER 239
294 #define SIP_1_TEXT_UTF8_TRIM 270
295 #define SIP_1_TEXT_UTF8CHAR 271
296 #define SIP_1_TIME 156
297 #define SIP_1_TIMESTAMP 209
298 #define SIP_1_TO 211
299 #define SIP_1_TO_PARAM 212
300 #define SIP_1_TOKEN 274
301 #define SIP_1_TOKEN_CHAR 256
302 #define SIP_1_TOPLABEL 26
303 #define SIP_1_TRANSPORT 226
304 #define SIP_1_TRANSPORT_PARAM 30
305 #define SIP_1_TTL 228
306 #define SIP_1_TTL_PARAM 35
307 #define SIP_1_UNSUPPORTED 213
308 #define SIP_1_URI 181
309 #define SIP_1_URI_PARAMETER 29
310 #define SIP_1_URI_PARAMETERS 28
311 #define SIP_1_URIC 54
312 #define SIP_1_URIC_NO_SLASH 55
313 #define SIP_1_USER 20
314 #define SIP_1_USER_AGENT 214
315 #define SIP_1_USER_PARAM 32
316 #define SIP_1_USER_UNRESERVED 21
317 #define SIP_1_USERINFO 19
318 #define SIP_1_USERNAME 90
319 #define SIP_1_USERNAME_VALUE 91
320 #define SIP_1_UTF8_CONT 273
321 #define SIP_1_UTF8_NONASCII 272
322 #define SIP_1_VIA 215
323 #define SIP_1_VIA_BRANCH 221
324 #define SIP_1_VIA_EXTENSION 222
325 #define SIP_1_VIA_MADDR 219
326 #define SIP_1_VIA_PARAMS 217
327 #define SIP_1_VIA_PARM 216
328 #define SIP_1_VIA_RECEIVED 220
329 #define SIP_1_VIA_TTL 218
330 #define SIP_1_VISUAL_SEPARATOR 259
331 #define SIP_1_WAIT_FOR_DIAL_TONE 262
332 #define SIP_1_WARN_AGENT 232
333 #define SIP_1_WARN_CODE 231
334 #define SIP_1_WARN_TEXT 233
335 #define SIP_1_WARNING 229
336 #define SIP_1_WARNING_VALUE 230
337 #define SIP_1_WKDAY 157
338 #define SIP_1_WORD 275
339 #define SIP_1_WWW_AUTHENTICATE 235
340 #define SIP_1_X_TOKEN 145
341 #define RULE_COUNT_SIP_1 302
342 
343 // UDT ids
344 #define SIP_1_E_ALPHANUM0 8
345 #define SIP_1_E_MESSAGEBODY 1
346 #define SIP_1_E_SWS 13
347 #define SIP_1_U_ALPHA 7
348 #define SIP_1_U_ALPHANUM 12
349 #define SIP_1_U_ALPHANUM1 9
350 #define SIP_1_U_CRLF 0
351 #define SIP_1_U_DIGIT 3
352 #define SIP_1_U_DIGIT1 2
353 #define SIP_1_U_DOMAINLABEL 6
354 #define SIP_1_U_LWS 11
355 #define SIP_1_U_PARAMCHAR1 10
356 #define SIP_1_U_UNRESERVED 4
357 #define SIP_1_U_WSP 5
358 #define UDT_COUNT_SIP_1 14
359 
360 // pointer to parser initialization data
361 extern void* vpSip1Init;
362 
363 // Helper function(s) for setting rule/UDT name callbacks.
364 // Un-comment and replace named NULL with pointer to the appropriate callback function.
365 // NOTE: This can easily be modified for setting AST callback functions:
366 // Replace parser_callback with ast_callback and
367 // vParserSetRuleCallback(vpParserCtx) with vAstSetRuleCallback(vpAstCtx) and
368 // vParserSetUdtCallback(vpParserCtx) with vAstSetUdtCallback(vpAstCtx).
369 /****************************************************************
370 void vSip1RuleCallbacks(void* vpParserCtx){
371  aint ui;
372  parser_callback cb[RULE_COUNT_SIP_1];
373  cb[SIP_1_ABS_PATH] = NULL;
374  cb[SIP_1_ABSOLUTEURI] = NULL;
375  cb[SIP_1_ACCEPT] = NULL;
376  cb[SIP_1_ACCEPT_ENCODING] = NULL;
377  cb[SIP_1_ACCEPT_LANGUAGE] = NULL;
378  cb[SIP_1_ACCEPT_PARAM] = NULL;
379  cb[SIP_1_ACCEPT_RANGE] = NULL;
380  cb[SIP_1_ACKM] = NULL;
381  cb[SIP_1_ADDR_SPEC] = NULL;
382  cb[SIP_1_AINFO] = NULL;
383  cb[SIP_1_ALERT_INFO] = NULL;
384  cb[SIP_1_ALERT_PARAM] = NULL;
385  cb[SIP_1_ALGORITHM] = NULL;
386  cb[SIP_1_ALLOW] = NULL;
387  cb[SIP_1_AREA_SPECIFIER] = NULL;
388  cb[SIP_1_AUTH_PARAM] = NULL;
389  cb[SIP_1_AUTH_PARAM_NAME] = NULL;
390  cb[SIP_1_AUTH_SCHEME] = NULL;
391  cb[SIP_1_AUTHENTICATION_INFO] = NULL;
392  cb[SIP_1_AUTHORITY] = NULL;
393  cb[SIP_1_AUTHORIZATION] = NULL;
394  cb[SIP_1_BASE_PHONE_NUMBER] = NULL;
395  cb[SIP_1_BLANKSPACE] = NULL;
396  cb[SIP_1_BYEM] = NULL;
397  cb[SIP_1_C_P_EXPIRES] = NULL;
398  cb[SIP_1_C_P_Q] = NULL;
399  cb[SIP_1_CALL_ID] = NULL;
400  cb[SIP_1_CALL_INFO] = NULL;
401  cb[SIP_1_CALLID] = NULL;
402  cb[SIP_1_CANCELM] = NULL;
403  cb[SIP_1_CHALLENGE] = NULL;
404  cb[SIP_1_CHAR] = NULL;
405  cb[SIP_1_CNONCE] = NULL;
406  cb[SIP_1_CNONCE_VALUE] = NULL;
407  cb[SIP_1_CODINGS] = NULL;
408  cb[SIP_1_COLON] = NULL;
409  cb[SIP_1_COMMA] = NULL;
410  cb[SIP_1_COMMENT] = NULL;
411  cb[SIP_1_COMPOSITE_TYPE] = NULL;
412  cb[SIP_1_CONTACT] = NULL;
413  cb[SIP_1_CONTACT_EXTENSION] = NULL;
414  cb[SIP_1_CONTACT_PARAM] = NULL;
415  cb[SIP_1_CONTACT_PARAMS] = NULL;
416  cb[SIP_1_CONTENT_CODING] = NULL;
417  cb[SIP_1_CONTENT_DISPOSITION] = NULL;
418  cb[SIP_1_CONTENT_ENCODING] = NULL;
419  cb[SIP_1_CONTENT_LANGUAGE] = NULL;
420  cb[SIP_1_CONTENT_LENGTH] = NULL;
421  cb[SIP_1_CONTENT_TYPE] = NULL;
422  cb[SIP_1_CR] = NULL;
423  cb[SIP_1_CREDENTIALS] = NULL;
424  cb[SIP_1_CSEQ] = NULL;
425  cb[SIP_1_CTEXT] = NULL;
426  cb[SIP_1_D_NAME] = NULL;
427  cb[SIP_1_DATE] = NULL;
428  cb[SIP_1_DATE1] = NULL;
429  cb[SIP_1_DELAY] = NULL;
430  cb[SIP_1_DELTA_SECONDS] = NULL;
431  cb[SIP_1_DIG_RESP] = NULL;
432  cb[SIP_1_DIGEST_CLN] = NULL;
433  cb[SIP_1_DIGEST_RESPONSE] = NULL;
434  cb[SIP_1_DIGEST_URI] = NULL;
435  cb[SIP_1_DIGEST_URI_VALUE] = NULL;
436  cb[SIP_1_DISCRETE_TYPE] = NULL;
437  cb[SIP_1_DISP_EXTENSION_TOKEN] = NULL;
438  cb[SIP_1_DISP_PARAM] = NULL;
439  cb[SIP_1_DISP_TYPE] = NULL;
440  cb[SIP_1_DISPLAY_NAME] = NULL;
441  cb[SIP_1_DOMAIN] = NULL;
442  cb[SIP_1_DQUOTE] = NULL;
443  cb[SIP_1_DRESPONSE] = NULL;
444  cb[SIP_1_DTMF_DIGIT] = NULL;
445  cb[SIP_1_ENCODING] = NULL;
446  cb[SIP_1_EQUAL] = NULL;
447  cb[SIP_1_ERROR_INFO] = NULL;
448  cb[SIP_1_ERROR_URI] = NULL;
449  cb[SIP_1_ESCAPED] = NULL;
450  cb[SIP_1_EXPIRES] = NULL;
451  cb[SIP_1_EXTENSION_HEADER] = NULL;
452  cb[SIP_1_EXTENSION_METHOD] = NULL;
453  cb[SIP_1_EXTENSION_TOKEN] = NULL;
454  cb[SIP_1_FROM] = NULL;
455  cb[SIP_1_FROM_PARAM] = NULL;
456  cb[SIP_1_FROM_SPEC] = NULL;
457  cb[SIP_1_FUTURE_EXTENSION] = NULL;
458  cb[SIP_1_GEN_VALUE] = NULL;
459  cb[SIP_1_GENERIC_PARAM] = NULL;
460  cb[SIP_1_GLOBAL_NETWORK_PREFIX] = NULL;
461  cb[SIP_1_GLOBAL_PHONE_NUMBER] = NULL;
462  cb[SIP_1_HANDLING_PARAM] = NULL;
463  cb[SIP_1_HCOLON] = NULL;
464  cb[SIP_1_HEADER] = NULL;
465  cb[SIP_1_HEADER_NAME] = NULL;
466  cb[SIP_1_HEADER_VALUE] = NULL;
467  cb[SIP_1_HEADERS] = NULL;
468  cb[SIP_1_HEXDIG] = NULL;
469  cb[SIP_1_HIER_PART] = NULL;
470  cb[SIP_1_HNAME] = NULL;
471  cb[SIP_1_HNV_UNRESERVED] = NULL;
472  cb[SIP_1_HOST] = NULL;
473  cb[SIP_1_HOSTNAME] = NULL;
474  cb[SIP_1_HOSTPORT] = NULL;
475  cb[SIP_1_HVALUE] = NULL;
476  cb[SIP_1_IANA_TOKEN] = NULL;
477  cb[SIP_1_IETF_TOKEN] = NULL;
478  cb[SIP_1_IN_REPLY_TO] = NULL;
479  cb[SIP_1_INFO] = NULL;
480  cb[SIP_1_INFO_PARAM] = NULL;
481  cb[SIP_1_INVITEM] = NULL;
482  cb[SIP_1_IPV4ADDRESS] = NULL;
483  cb[SIP_1_IPV6ADDRESS] = NULL;
484  cb[SIP_1_IPV6REFERENCE] = NULL;
485  cb[SIP_1_ISDN_SUBADDRESS] = NULL;
486  cb[SIP_1_LANGUAGE] = NULL;
487  cb[SIP_1_LANGUAGE_RANGE] = NULL;
488  cb[SIP_1_LANGUAGE_TAG] = NULL;
489  cb[SIP_1_LAQUOT] = NULL;
490  cb[SIP_1_LDQUOT] = NULL;
491  cb[SIP_1_LF] = NULL;
492  cb[SIP_1_LHEX] = NULL;
493  cb[SIP_1_LOCAL_NETWORK_PREFIX] = NULL;
494  cb[SIP_1_LOCAL_PHONE_NUMBER] = NULL;
495  cb[SIP_1_LPAREN] = NULL;
496  cb[SIP_1_LR_PARAM] = NULL;
497  cb[SIP_1_M_ATTRIBUTE] = NULL;
498  cb[SIP_1_M_PARAMETER] = NULL;
499  cb[SIP_1_M_SUBTYPE] = NULL;
500  cb[SIP_1_M_TYPE] = NULL;
501  cb[SIP_1_M_VALUE] = NULL;
502  cb[SIP_1_MADDR_PARAM] = NULL;
503  cb[SIP_1_MARK] = NULL;
504  cb[SIP_1_MAX_FORWARDS] = NULL;
505  cb[SIP_1_MEDIA_RANGE] = NULL;
506  cb[SIP_1_MEDIA_TYPE] = NULL;
507  cb[SIP_1_MESSAGE_HEADER] = NULL;
508  cb[SIP_1_MESSAGE_QOP] = NULL;
509  cb[SIP_1_METHOD] = NULL;
510  cb[SIP_1_METHOD_PARAM] = NULL;
511  cb[SIP_1_MIME_VERSION] = NULL;
512  cb[SIP_1_MIN_EXPIRES] = NULL;
513  cb[SIP_1_MONTH] = NULL;
514  cb[SIP_1_NAME_ADDR] = NULL;
515  cb[SIP_1_NC_VALUE] = NULL;
516  cb[SIP_1_NET_PATH] = NULL;
517  cb[SIP_1_NETWORK_PREFIX] = NULL;
518  cb[SIP_1_NEXTNONCE] = NULL;
519  cb[SIP_1_NONCE] = NULL;
520  cb[SIP_1_NONCE_COUNT] = NULL;
521  cb[SIP_1_NONCE_VALUE] = NULL;
522  cb[SIP_1_ONE_SECOND_PAUSE] = NULL;
523  cb[SIP_1_OPAQUE] = NULL;
524  cb[SIP_1_OPAQUE_PART] = NULL;
525  cb[SIP_1_OPTION_TAG] = NULL;
526  cb[SIP_1_OPTIONSM] = NULL;
527  cb[SIP_1_ORGANIZATION] = NULL;
528  cb[SIP_1_OTHER_CHALLENGE] = NULL;
529  cb[SIP_1_OTHER_HANDLING] = NULL;
530  cb[SIP_1_OTHER_PARAM] = NULL;
531  cb[SIP_1_OTHER_PRIORITY] = NULL;
532  cb[SIP_1_OTHER_RESPONSE] = NULL;
533  cb[SIP_1_OTHER_TRANSPORT] = NULL;
534  cb[SIP_1_OTHER_USER] = NULL;
535  cb[SIP_1_PARAM] = NULL;
536  cb[SIP_1_PARAM_UNRESERVED] = NULL;
537  cb[SIP_1_PARAMCHAR] = NULL;
538  cb[SIP_1_PASSWORD] = NULL;
539  cb[SIP_1_PATH_SEGMENTS] = NULL;
540  cb[SIP_1_PAUSE_CHARACTER] = NULL;
541  cb[SIP_1_PCHAR] = NULL;
542  cb[SIP_1_PHONE_CONTEXT_IDENT] = NULL;
543  cb[SIP_1_PHONE_CONTEXT_TAG] = NULL;
544  cb[SIP_1_PHONEDIGIT] = NULL;
545  cb[SIP_1_PNAME] = NULL;
546  cb[SIP_1_PORT] = NULL;
547  cb[SIP_1_POST_DIAL] = NULL;
548  cb[SIP_1_PRIMARY_TAG] = NULL;
549  cb[SIP_1_PRIORITY] = NULL;
550  cb[SIP_1_PRIORITY_VALUE] = NULL;
551  cb[SIP_1_PRIVATE_PREFIX] = NULL;
552  cb[SIP_1_PRODUCT] = NULL;
553  cb[SIP_1_PRODUCT_VERSION] = NULL;
554  cb[SIP_1_PROTOCOL_NAME] = NULL;
555  cb[SIP_1_PROTOCOL_VERSION] = NULL;
556  cb[SIP_1_PROVIDER_HOSTNAME] = NULL;
557  cb[SIP_1_PROVIDER_TAG] = NULL;
558  cb[SIP_1_PROXY_AUTHENTICATE] = NULL;
559  cb[SIP_1_PROXY_AUTHORIZATION] = NULL;
560  cb[SIP_1_PROXY_REQUIRE] = NULL;
561  cb[SIP_1_PSEUDONYM] = NULL;
562  cb[SIP_1_PVALUE] = NULL;
563  cb[SIP_1_Q_STRING] = NULL;
564  cb[SIP_1_QDTEXT] = NULL;
565  cb[SIP_1_QOP_OPTIONS] = NULL;
566  cb[SIP_1_QOP_VALUE] = NULL;
567  cb[SIP_1_QUERY] = NULL;
568  cb[SIP_1_QUOTED_PAIR] = NULL;
569  cb[SIP_1_QUOTED_STRING] = NULL;
570  cb[SIP_1_QVALUE] = NULL;
571  cb[SIP_1_RAQUOT] = NULL;
572  cb[SIP_1_RDQUOT] = NULL;
573  cb[SIP_1_REALM] = NULL;
574  cb[SIP_1_REALM_VALUE] = NULL;
575  cb[SIP_1_REASON_PHRASE] = NULL;
576  cb[SIP_1_REC_ROUTE] = NULL;
577  cb[SIP_1_RECORD_ROUTE] = NULL;
578  cb[SIP_1_REG_NAME] = NULL;
579  cb[SIP_1_REGISTERM] = NULL;
580  cb[SIP_1_REPLY_TO] = NULL;
581  cb[SIP_1_REQUEST] = NULL;
582  cb[SIP_1_REQUEST_DIGEST] = NULL;
583  cb[SIP_1_REQUEST_LINE] = NULL;
584  cb[SIP_1_REQUEST_URI] = NULL;
585  cb[SIP_1_REQUIRE] = NULL;
586  cb[SIP_1_RESERVED] = NULL;
587  cb[SIP_1_RESPONSE] = NULL;
588  cb[SIP_1_RESPONSE_AUTH] = NULL;
589  cb[SIP_1_RESPONSE_DIGEST] = NULL;
590  cb[SIP_1_RETRY_AFTER] = NULL;
591  cb[SIP_1_RETRY_PARAM] = NULL;
592  cb[SIP_1_RFC1035DOMAIN] = NULL;
593  cb[SIP_1_RFC1035LABEL] = NULL;
594  cb[SIP_1_RFC1035SUBDOMAIN] = NULL;
595  cb[SIP_1_RFC1123_DATE] = NULL;
596  cb[SIP_1_ROUTE] = NULL;
597  cb[SIP_1_ROUTE_PARAM] = NULL;
598  cb[SIP_1_RPAREN] = NULL;
599  cb[SIP_1_RPLYTO_PARAM] = NULL;
600  cb[SIP_1_RPLYTO_SPEC] = NULL;
601  cb[SIP_1_RR_PARAM] = NULL;
602  cb[SIP_1_SCHEME] = NULL;
603  cb[SIP_1_SEGMENT] = NULL;
604  cb[SIP_1_SEMI] = NULL;
605  cb[SIP_1_SENT_BY] = NULL;
606  cb[SIP_1_SENT_PROTOCOL] = NULL;
607  cb[SIP_1_SERVER] = NULL;
608  cb[SIP_1_SERVER_VAL] = NULL;
609  cb[SIP_1_SERVICE_PROVIDER] = NULL;
610  cb[SIP_1_SIP_DATE] = NULL;
611  cb[SIP_1_SIP_MESSAGE] = NULL;
612  cb[SIP_1_SIP_URI] = NULL;
613  cb[SIP_1_SIP_VERSION] = NULL;
614  cb[SIP_1_SIPS_URI] = NULL;
615  cb[SIP_1_SLASH] = NULL;
616  cb[SIP_1_SP] = NULL;
617  cb[SIP_1_SRVR] = NULL;
618  cb[SIP_1_STALE] = NULL;
619  cb[SIP_1_STAR] = NULL;
620  cb[SIP_1_STATUS_CODE] = NULL;
621  cb[SIP_1_STATUS_LINE] = NULL;
622  cb[SIP_1_SUBJECT] = NULL;
623  cb[SIP_1_SUBTAG] = NULL;
624  cb[SIP_1_SUPPORTED] = NULL;
625  cb[SIP_1_TAG_PARAM] = NULL;
626  cb[SIP_1_TEL_QUOTED_STRING] = NULL;
627  cb[SIP_1_TELEPHONE_SUBSCRIBER] = NULL;
628  cb[SIP_1_TEXT_UTF8_TRIM] = NULL;
629  cb[SIP_1_TEXT_UTF8CHAR] = NULL;
630  cb[SIP_1_TIME] = NULL;
631  cb[SIP_1_TIMESTAMP] = NULL;
632  cb[SIP_1_TO] = NULL;
633  cb[SIP_1_TO_PARAM] = NULL;
634  cb[SIP_1_TOKEN] = NULL;
635  cb[SIP_1_TOKEN_CHAR] = NULL;
636  cb[SIP_1_TOPLABEL] = NULL;
637  cb[SIP_1_TRANSPORT] = NULL;
638  cb[SIP_1_TRANSPORT_PARAM] = NULL;
639  cb[SIP_1_TTL] = NULL;
640  cb[SIP_1_TTL_PARAM] = NULL;
641  cb[SIP_1_UNSUPPORTED] = NULL;
642  cb[SIP_1_URI] = NULL;
643  cb[SIP_1_URI_PARAMETER] = NULL;
644  cb[SIP_1_URI_PARAMETERS] = NULL;
645  cb[SIP_1_URIC] = NULL;
646  cb[SIP_1_URIC_NO_SLASH] = NULL;
647  cb[SIP_1_USER] = NULL;
648  cb[SIP_1_USER_AGENT] = NULL;
649  cb[SIP_1_USER_PARAM] = NULL;
650  cb[SIP_1_USER_UNRESERVED] = NULL;
651  cb[SIP_1_USERINFO] = NULL;
652  cb[SIP_1_USERNAME] = NULL;
653  cb[SIP_1_USERNAME_VALUE] = NULL;
654  cb[SIP_1_UTF8_CONT] = NULL;
655  cb[SIP_1_UTF8_NONASCII] = NULL;
656  cb[SIP_1_VIA] = NULL;
657  cb[SIP_1_VIA_BRANCH] = NULL;
658  cb[SIP_1_VIA_EXTENSION] = NULL;
659  cb[SIP_1_VIA_MADDR] = NULL;
660  cb[SIP_1_VIA_PARAMS] = NULL;
661  cb[SIP_1_VIA_PARM] = NULL;
662  cb[SIP_1_VIA_RECEIVED] = NULL;
663  cb[SIP_1_VIA_TTL] = NULL;
664  cb[SIP_1_VISUAL_SEPARATOR] = NULL;
665  cb[SIP_1_WAIT_FOR_DIAL_TONE] = NULL;
666  cb[SIP_1_WARN_AGENT] = NULL;
667  cb[SIP_1_WARN_CODE] = NULL;
668  cb[SIP_1_WARN_TEXT] = NULL;
669  cb[SIP_1_WARNING] = NULL;
670  cb[SIP_1_WARNING_VALUE] = NULL;
671  cb[SIP_1_WKDAY] = NULL;
672  cb[SIP_1_WORD] = NULL;
673  cb[SIP_1_WWW_AUTHENTICATE] = NULL;
674  cb[SIP_1_X_TOKEN] = NULL;
675  for(ui = 0; ui < (aint)RULE_COUNT_SIP_1; ui++){
676  vParserSetRuleCallback(vpParserCtx, ui, cb[ui]);
677  }
678 }
679 void vSip1UdtCallbacks(void* vpParserCtx){
680  aint ui;
681  parser_callback cb[UDT_COUNT_SIP_1];
682  cb[SIP_1_E_ALPHANUM0] = NULL;
683  cb[SIP_1_E_MESSAGEBODY] = NULL;
684  cb[SIP_1_E_SWS] = NULL;
685  cb[SIP_1_U_ALPHA] = NULL;
686  cb[SIP_1_U_ALPHANUM] = NULL;
687  cb[SIP_1_U_ALPHANUM1] = NULL;
688  cb[SIP_1_U_CRLF] = NULL;
689  cb[SIP_1_U_DIGIT] = NULL;
690  cb[SIP_1_U_DIGIT1] = NULL;
691  cb[SIP_1_U_DOMAINLABEL] = NULL;
692  cb[SIP_1_U_LWS] = NULL;
693  cb[SIP_1_U_PARAMCHAR1] = NULL;
694  cb[SIP_1_U_UNRESERVED] = NULL;
695  cb[SIP_1_U_WSP] = NULL;
696  for(ui = 0; ui < (aint)UDT_COUNT_SIP_1; ui++){
697  vParserSetUdtCallback(vpParserCtx, ui, cb[ui]);
698  }
699 }
700 ****************************************************************/
701 
702 #endif /* _SIP_1_H_ */
vpSip1Init
void * vpSip1Init
Definition: sip-1.c:11451
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.