~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/megaco/include/megaco_message_v3.hrl

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%% ``The contents of this file are subject to the Erlang Public License,
 
2
%% Version 1.1, (the "License"); you may not use this file except in
 
3
%% compliance with the License. You should have received a copy of the
 
4
%% Erlang Public License along with this software. If not, it can be
 
5
%% retrieved via the world wide web at http://www.erlang.org/.
 
6
%% 
 
7
%% Software distributed under the License is distributed on an "AS IS"
 
8
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
9
%% the License for the specific language governing rights and limitations
 
10
%% under the License.
 
11
%% 
 
12
%% The Initial Developer of the Original Code is Ericsson Utvecklings AB.
 
13
%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
 
14
%% AB. All Rights Reserved.''
 
15
%% 
 
16
%%     $Id$
 
17
%%
 
18
%%----------------------------------------------------------------------
 
19
%% Generated by the Erlang ASN.1 compiler version:1.2.7
 
20
%% Purpose: Erlang record definitions for each named and unnamed
 
21
%%          SEQUENCE and SET in module MEDIA-GATEWAY-CONTROL
 
22
%%----------------------------------------------------------------------
 
23
 
 
24
-record('MegacoMessage',
 
25
        {
 
26
          authHeader = asn1_NOVALUE,
 
27
          mess
 
28
         }).
 
29
 
 
30
-record('AuthenticationHeader',
 
31
        {
 
32
          secParmIndex, 
 
33
          seqNum, 
 
34
          ad
 
35
         }).
 
36
 
 
37
-record('Message',
 
38
        {
 
39
          version, 
 
40
          mId, 
 
41
          messageBody
 
42
         }). % with extension mark
 
43
 
 
44
-record('DomainName',
 
45
        {
 
46
          name, 
 
47
          portNumber = asn1_NOVALUE
 
48
         }).
 
49
 
 
50
-record('IP4Address',
 
51
        {
 
52
          address,
 
53
          portNumber = asn1_NOVALUE
 
54
         }).
 
55
 
 
56
-record('IP6Address',
 
57
        {
 
58
          address, 
 
59
          portNumber = asn1_NOVALUE
 
60
         }).
 
61
 
 
62
-record('TransactionRequest',
 
63
        {
 
64
          transactionId, 
 
65
          actions = []
 
66
         }). % with extension mark
 
67
 
 
68
-record('TransactionPending',
 
69
        {
 
70
          transactionId
 
71
         }). % with extension mark
 
72
 
 
73
-record('TransactionReply',
 
74
        {
 
75
          transactionId, 
 
76
          immAckRequired = asn1_NOVALUE, 
 
77
          transactionResult
 
78
 
 
79
          %% with extension mark -- prev3a --
 
80
 
 
81
          %%  segmentNumber = asn1_NOVALUE,
 
82
          %%  segmentationComplete = asn1_NOVALUE
 
83
         }). 
 
84
 
 
85
%% SegmentReply only used internally (in the engine)
 
86
 
 
87
-record('TransactionAck',
 
88
        {
 
89
          firstAck, 
 
90
          lastAck = asn1_NOVALUE
 
91
         }).
 
92
 
 
93
-record('ErrorDescriptor',
 
94
        {
 
95
          errorCode, 
 
96
          errorText = asn1_NOVALUE
 
97
         }).
 
98
 
 
99
-record('ActionRequest',
 
100
        {
 
101
          contextId, 
 
102
          contextRequest = asn1_NOVALUE, 
 
103
          contextAttrAuditReq = asn1_NOVALUE, 
 
104
          commandRequests = []
 
105
         }).
 
106
 
 
107
-record('ActionReply',
 
108
        {
 
109
          contextId, 
 
110
          errorDescriptor = asn1_NOVALUE, 
 
111
          contextReply = asn1_NOVALUE, 
 
112
          commandReply = []
 
113
         }).
 
114
 
 
115
-record('ContextRequest',
 
116
        {
 
117
          priority = asn1_NOVALUE, 
 
118
          emergency = asn1_NOVALUE, 
 
119
          topologyReq = asn1_NOVALUE,
 
120
 
 
121
          %% with extension mark -- prev3a --
 
122
 
 
123
          iepsCallind = asn1_NOVALUE,  % V3 Fixed
 
124
          contextProp = asn1_NOVALUE
 
125
         }). 
 
126
 
 
127
-record('ContextAttrAuditRequest',
 
128
        {
 
129
          topology = asn1_NOVALUE, 
 
130
          emergency = asn1_NOVALUE, 
 
131
          priority = asn1_NOVALUE,
 
132
 
 
133
          %% with extension mark -- prev3a --
 
134
 
 
135
          iepsCallind = asn1_NOVALUE,  % V3 Fixed
 
136
          contextPropAud = asn1_NOVALUE
 
137
         }). 
 
138
 
 
139
-record('CommandRequest',
 
140
        {
 
141
          command, 
 
142
          optional = asn1_NOVALUE, 
 
143
          wildcardReturn = asn1_NOVALUE
 
144
         }). % with extension mark
 
145
 
 
146
-record('TopologyRequest',
 
147
        {
 
148
          terminationFrom, 
 
149
          terminationTo, 
 
150
          topologyDirection,
 
151
          
 
152
          %% After extension mark
 
153
          streamID = asn1_NOVALUE  %% Only in ASN.1
 
154
         }).
 
155
 
 
156
-record('AmmRequest',
 
157
        {
 
158
          terminationID = [], 
 
159
          descriptors = []
 
160
         }). % with extension mark
 
161
 
 
162
-record('AmmsReply',
 
163
        {
 
164
          terminationID = [], 
 
165
          terminationAudit = asn1_NOVALUE
 
166
         }). % with extension mark
 
167
 
 
168
-record('SubtractRequest',
 
169
        {
 
170
          terminationID = [], 
 
171
          auditDescriptor = asn1_NOVALUE
 
172
         }). % with extension mark
 
173
 
 
174
-record('AuditRequest',
 
175
        {
 
176
          terminationID, 
 
177
          auditDescriptor
 
178
         }). % with extension mark
 
179
 
 
180
-record('AuditResult',
 
181
        {
 
182
          terminationID, 
 
183
          terminationAuditResult = []
 
184
         }).
 
185
 
 
186
-record('AuditDescriptor',
 
187
        {
 
188
          auditToken         = asn1_NOVALUE,
 
189
          %% with extensions
 
190
          auditPropertyToken = asn1_NOVALUE  
 
191
         }). 
 
192
 
 
193
 
 
194
%% --- v2 start ---
 
195
 
 
196
-record('IndAudMediaDescriptor',
 
197
        {
 
198
          termStateDescr = asn1_NOVALUE,
 
199
          streams        = asn1_NOVALUE
 
200
        }). % with extension mark
 
201
 
 
202
-record('IndAudStreamDescriptor',
 
203
        {
 
204
          streamID,
 
205
          streamParms
 
206
        }). % with extension mark
 
207
 
 
208
-record('IndAudStreamParms',
 
209
        {
 
210
          localControlDescriptor = asn1_NOVALUE,
 
211
          localDescriptor        = asn1_NOVALUE, %% NOTE: NOT IN TEXT
 
212
          remoteDescriptor       = asn1_NOVALUE, %% NOTE: NOT IN TEXT
 
213
          
 
214
          %% with extension mark -- prev3a --
 
215
 
 
216
          statisticsDescriptor   = asn1_NOVALUE
 
217
        }). 
 
218
 
 
219
-record('IndAudLocalControlDescriptor',
 
220
        {
 
221
          streamMode    = asn1_NOVALUE,
 
222
          reserveValue  = asn1_NOVALUE,
 
223
          reserveGroup  = asn1_NOVALUE,
 
224
          propertyParms = asn1_NOVALUE
 
225
        }). % with extension mark
 
226
 
 
227
-record('IndAudPropertyParm',
 
228
        {
 
229
          name
 
230
        }). % with extension mark
 
231
 
 
232
-record('IndAudLocalRemoteDescriptor',
 
233
        {
 
234
          propGroupID = asn1_NOVALUE,
 
235
          propGrps
 
236
        }). % with extension mark
 
237
 
 
238
%% BUGBUG
 
239
%% In text, it can only be one of them in each record.
 
240
%% So, in case it's eventBufferControl or serviceState
 
241
%% propertyParms will be an empty list.
 
242
-record('IndAudTerminationStateDescriptor',
 
243
        {
 
244
          propertyParms = [],  %% Optional in text...
 
245
          eventBufferControl = asn1_NOVALUE,
 
246
          serviceState       = asn1_NOVALUE
 
247
        }). % with extension mark
 
248
 
 
249
-record('IndAudEventsDescriptor',
 
250
        {
 
251
          requestID = asn1_NOVALUE,  %% Only optional in ASN.1
 
252
          pkgdName,
 
253
          streamID  = asn1_NOVALUE
 
254
        }). % with extension mark
 
255
 
 
256
-record('IndAudEventBufferDescriptor',
 
257
        {
 
258
          eventName,
 
259
          %% This is an ugly hack to allow the eventParameterName
 
260
          %% which only exist in text!! 
 
261
          %% streamID = asn1_NOVALUE | integer() | 
 
262
          %%            {eventParameterName, Name}  <- BUGBUG: ONLY IN TEXT
 
263
          %% Note that the binary codecs will fail to encode
 
264
          %% if the streamID is not aither asn1_NOVALUE or an integer()
 
265
          %% So it is recommended to refrain from using this text feature...
 
266
          streamID = asn1_NOVALUE
 
267
 
 
268
          %% eventParameterName = asn1_NOVALUE %% BUGBUG: ONLY IN TEXT
 
269
 
 
270
        }). % with extension mark
 
271
 
 
272
-record('IndAudSeqSigList',
 
273
        {
 
274
          id,
 
275
          signalList  = asn1_NOVALUE  %% Only in ASN1
 
276
        }). % with extension mark
 
277
 
 
278
-record('IndAudSignal',
 
279
        {
 
280
          signalName,
 
281
          streamID = asn1_NOVALUE %% Optional in ASN1 & non-existent in text
 
282
        }). % with extension mark
 
283
 
 
284
-record('IndAudDigitMapDescriptor',
 
285
        {
 
286
          digitMapName = asn1_NOVALUE  %% OPTIONAL in ASN.1 but not in text
 
287
        }). 
 
288
 
 
289
-record('IndAudStatisticsDescriptor',
 
290
        {
 
291
          statName
 
292
        }). 
 
293
 
 
294
-record('IndAudPackagesDescriptor',
 
295
        {
 
296
          packageName,
 
297
          packageVersion
 
298
        }). % with extension mark
 
299
 
 
300
 
 
301
%% --- v2 end   ---
 
302
 
 
303
 
 
304
-record('NotifyRequest',
 
305
        {
 
306
          terminationID = [], 
 
307
          observedEventsDescriptor, 
 
308
          errorDescriptor = asn1_NOVALUE
 
309
         }). % with extension mark
 
310
 
 
311
-record('NotifyReply',
 
312
        {
 
313
          terminationID   = [], 
 
314
          errorDescriptor = asn1_NOVALUE
 
315
         }). % with extension mark
 
316
 
 
317
-record('ObservedEventsDescriptor',
 
318
        {
 
319
          requestId, 
 
320
          observedEventLst = []
 
321
         }).
 
322
 
 
323
-record('ObservedEvent',
 
324
        {
 
325
          eventName, 
 
326
          streamID = asn1_NOVALUE, 
 
327
          eventParList = [], 
 
328
          timeNotation = asn1_NOVALUE
 
329
         }). % with extension mark
 
330
 
 
331
-record('EventParameter',
 
332
        {
 
333
          eventParameterName, 
 
334
          value,
 
335
          extraInfo = asn1_NOVALUE
 
336
         }). % with extension mark
 
337
 
 
338
-record('ServiceChangeRequest',
 
339
        {
 
340
          terminationID = [], 
 
341
          serviceChangeParms
 
342
         }). % with extension mark
 
343
 
 
344
-record('ServiceChangeReply',
 
345
        {
 
346
          terminationID = [], 
 
347
          serviceChangeResult = []
 
348
         }). % with extension mark
 
349
 
 
350
-record('TerminationID',
 
351
        {
 
352
          wildcard, 
 
353
          id
 
354
         }). % with extension mark
 
355
 
 
356
-record('MediaDescriptor',
 
357
        {
 
358
          termStateDescr = asn1_NOVALUE, 
 
359
          streams        = asn1_NOVALUE
 
360
         }). % with extension mark
 
361
 
 
362
-record('StreamDescriptor',
 
363
        {
 
364
          streamID, 
 
365
          streamParms
 
366
         }).
 
367
 
 
368
-record('StreamParms',
 
369
        {
 
370
          localControlDescriptor = asn1_NOVALUE, 
 
371
          localDescriptor = asn1_NOVALUE, 
 
372
          remoteDescriptor = asn1_NOVALUE,
 
373
          
 
374
          %% with extension mark -- prev3a --
 
375
 
 
376
          statisticsDescriptor   = asn1_NOVALUE
 
377
         }). 
 
378
 
 
379
-record('LocalControlDescriptor',
 
380
        {
 
381
          streamMode   = asn1_NOVALUE, 
 
382
          reserveValue = asn1_NOVALUE, 
 
383
          reserveGroup = asn1_NOVALUE, 
 
384
          propertyParms = []
 
385
         }). % with extension mark
 
386
 
 
387
-record('PropertyParm',
 
388
        {
 
389
          name, 
 
390
          value, 
 
391
          extraInfo = asn1_NOVALUE
 
392
         }). % with extension mark
 
393
 
 
394
-record('LocalRemoteDescriptor',
 
395
        {
 
396
          propGrps = []
 
397
         }). % with extension mark
 
398
 
 
399
-record('TerminationStateDescriptor',
 
400
        {
 
401
          propertyParms = [], 
 
402
          eventBufferControl = asn1_NOVALUE, 
 
403
          serviceState = asn1_NOVALUE
 
404
         }). % with extension mark
 
405
 
 
406
-record('MuxDescriptor',
 
407
        {
 
408
          muxType, 
 
409
          termList = [],
 
410
          nonStandardData = asn1_NOVALUE
 
411
         }). % with extension mark
 
412
 
 
413
-record('EventsDescriptor',
 
414
        {
 
415
          requestID,
 
416
          %% BUGBUG: IG 6.82 was withdrawn
 
417
          %% requestID = asn1_NOVALUE, 
 
418
          eventList = []
 
419
         }). % with extension mark
 
420
 
 
421
-record('RequestedEvent',
 
422
        {
 
423
          pkgdName, 
 
424
          streamID = asn1_NOVALUE, 
 
425
          eventAction = asn1_NOVALUE, 
 
426
          evParList = []
 
427
         }). % with extension mark
 
428
 
 
429
-record('RequestedActions',
 
430
        {
 
431
          keepActive = asn1_NOVALUE, 
 
432
          eventDM = asn1_NOVALUE, 
 
433
          secondEvent = asn1_NOVALUE, 
 
434
          signalsDescriptor = asn1_NOVALUE
 
435
         }). % with extension mark
 
436
 
 
437
-record('SecondEventsDescriptor',
 
438
        {
 
439
          requestID, 
 
440
          %% BUGBUG: IG 6.82 was withdrawn
 
441
          %% requestID = asn1_NOVALUE, 
 
442
          eventList = []
 
443
         }). % with extension mark
 
444
 
 
445
-record('SecondRequestedEvent',
 
446
        {
 
447
          pkgdName, 
 
448
          streamID = asn1_NOVALUE, 
 
449
          eventAction = asn1_NOVALUE, 
 
450
          evParList = []
 
451
         }). % with extension mark
 
452
 
 
453
-record('SecondRequestedActions',
 
454
        {
 
455
          keepActive = asn1_NOVALUE, 
 
456
          eventDM = asn1_NOVALUE, 
 
457
          signalsDescriptor = asn1_NOVALUE
 
458
         }). % with extension mark
 
459
 
 
460
-record('EventSpec',
 
461
        {
 
462
          eventName, 
 
463
          streamID = asn1_NOVALUE, 
 
464
          eventParList = []
 
465
         }). % with extension mark
 
466
 
 
467
-record('SeqSigList',
 
468
        {
 
469
          id, 
 
470
          signalList = []
 
471
         }).
 
472
 
 
473
-record('Signal',
 
474
        {
 
475
          signalName, 
 
476
          streamID = asn1_NOVALUE, 
 
477
          sigType = asn1_NOVALUE, 
 
478
          duration = asn1_NOVALUE, 
 
479
          notifyCompletion = asn1_NOVALUE, 
 
480
          keepActive = asn1_NOVALUE, 
 
481
          sigParList = [],
 
482
 
 
483
          %% with extension mark -- prev3a --
 
484
 
 
485
          direction = asn1_NOVALUE,
 
486
          requestID = asn1_NOVALUE
 
487
         }). 
 
488
 
 
489
-record('SigParameter',
 
490
        {
 
491
          sigParameterName, 
 
492
          value,
 
493
          extraInfo = asn1_NOVALUE
 
494
         }). % with extension mark
 
495
 
 
496
-record('ModemDescriptor',
 
497
        {
 
498
          mtl, 
 
499
          mpl,
 
500
          nonStandardData = asn1_NOVALUE
 
501
         }).
 
502
 
 
503
-record('DigitMapDescriptor',
 
504
        {
 
505
          digitMapName = asn1_NOVALUE, 
 
506
          digitMapValue = asn1_NOVALUE
 
507
         }).
 
508
 
 
509
-record('DigitMapValue',
 
510
        {
 
511
          startTimer = asn1_NOVALUE, 
 
512
          shortTimer = asn1_NOVALUE, 
 
513
          longTimer = asn1_NOVALUE, 
 
514
          digitMapBody,
 
515
          %% with extensions
 
516
          durationTimer = asn1_NOVALUE
 
517
         }). 
 
518
 
 
519
-record('ServiceChangeParm',
 
520
        {
 
521
          serviceChangeMethod, 
 
522
          serviceChangeAddress = asn1_NOVALUE, 
 
523
          serviceChangeVersion = asn1_NOVALUE, 
 
524
          serviceChangeProfile = asn1_NOVALUE, 
 
525
          serviceChangeReason, 
 
526
          serviceChangeDelay = asn1_NOVALUE, 
 
527
          serviceChangeMgcId = asn1_NOVALUE, 
 
528
          timeStamp = asn1_NOVALUE,
 
529
          nonStandardData = asn1_NOVALUE,
 
530
 
 
531
          %% with extension mark -- prev3a (serviceChangeIncompleteFlag) --
 
532
 
 
533
          serviceChangeInfo = asn1_NOVALUE,
 
534
          serviceChangeIncompleteFlag = asn1_NOVALUE
 
535
         }). 
 
536
 
 
537
-record('ServiceChangeResParm',
 
538
        {
 
539
          serviceChangeMgcId = asn1_NOVALUE, 
 
540
          serviceChangeAddress = asn1_NOVALUE, 
 
541
          serviceChangeVersion = asn1_NOVALUE, 
 
542
          serviceChangeProfile = asn1_NOVALUE,
 
543
          timeStamp = asn1_NOVALUE
 
544
         }). % with extension mark
 
545
 
 
546
 
 
547
%% This is the actual ASN.1 type and it is as this it will
 
548
%% be represented if the encoding config [native] is choosen.
 
549
%% %% String of at least 1 character and at most 67 characters (ASN.1). 
 
550
%% %% 64 characters for name, 1 for "/", 2 for version to match ABNF
 
551
%% -record('ServiceChangeProfile',
 
552
%%      {
 
553
%%        profileName
 
554
%%       }
 
555
%%        ).
 
556
 
 
557
-record('ServiceChangeProfile',
 
558
        {
 
559
          profileName, 
 
560
          version
 
561
         }).
 
562
 
 
563
 
 
564
-record('PackagesItem',
 
565
        {
 
566
          packageName, 
 
567
          packageVersion
 
568
         }). % with extension mark
 
569
 
 
570
-record('StatisticsParameter',
 
571
        {
 
572
          statName, 
 
573
          statValue = asn1_NOVALUE
 
574
         }).
 
575
 
 
576
-record('TimeNotation',
 
577
        {
 
578
          date, 
 
579
          time
 
580
         }).
 
581