~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/InfObj2.asn

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
InfObj2 DEFINITIONS ::=
 
2
BEGIN
 
3
 
 
4
 
 
5
RANAP-ELEMENTARY-PROCEDURE ::= CLASS {
 
6
    &InitiatingMessage                          ,
 
7
    &SuccessfulOutcome                          OPTIONAL,
 
8
    &Outcome                            DEFAULT NULL,
 
9
    &vartypvalue                        &Outcome,
 
10
    &FixTypeValSet                      PrintableString,
 
11
    &VarTypeValSet                      &InitiatingMessage,
 
12
    &infoObject                         RANAP-ELEMENTARY-PROCEDURE,
 
13
    &InfObjectSet                       CLASS2,
 
14
    &UnsuccessfulOutcome                                OPTIONAL,
 
15
    &procedureCode                      ProcedureCode   UNIQUE,
 
16
    &criticality                        Criticality     DEFAULT ignore
 
17
}
 
18
WITH SYNTAX {
 
19
        INITIATING MESSAGE              &InitiatingMessage
 
20
        [SUCCESSFUL OUTCOME             &SuccessfulOutcome]
 
21
        [UNSUCCESSFUL OUTCOME           &UnsuccessfulOutcome]
 
22
        [OUTCOME                        &Outcome]
 
23
        PROCEDURE CODE                          &procedureCode
 
24
        [CRITICALITY                    &criticality]
 
25
}
 
26
 
 
27
RANAP-PDU ::= CHOICE {
 
28
    initiatingMessage   [0] InitiatingMessage,
 
29
    substrings          [1] SEQUENCE {
 
30
        type           RANAP-ELEMENTARY-PROCEDURE.&procedureCode({RANAP-ELEMENTARY-PROCEDURES}),
 
31
        strings        SEQUENCE OF CHOICE {
 
32
            initial [0] RANAP-ELEMENTARY-PROCEDURE.&Outcome({
 
33
                RANAP-ELEMENTARY-PROCEDURES}{@substrings.type}),
 
34
            final [1] RANAP-ELEMENTARY-PROCEDURE.&Outcome({RANAP-ELEMENTARY-PROCEDURES}{@substrings.type})
 
35
            }
 
36
        },
 
37
--      successfulOutcome       SuccessfulOutcome,
 
38
--      unsuccessfulOutcome     UnsuccessfulOutcome,
 
39
--      outcome                 Outcome,
 
40
    ...
 
41
    }
 
42
 
 
43
CLASS2 ::= RANAP-ELEMENTARY-PROCEDURE
 
44
 
 
45
MY-CLASS ::= CLASS {
 
46
    &integerValue      INTEGER UNIQUE,
 
47
    &booleanValue      BOOLEAN,
 
48
    &stringValue       PrintableString
 
49
    }
 
50
 
 
51
myobject MY-CLASS ::= {
 
52
    &integerValue      12,
 
53
    &booleanValue      TRUE,
 
54
    &stringValue       "hejsan"
 
55
    }
 
56
MyObjectSet MY-CLASS ::= {
 
57
    myobject
 
58
    }
 
59
 
 
60
InitiatingMessage  ::= SEQUENCE {
 
61
    procedureCode  RANAP-ELEMENTARY-PROCEDURE.&procedureCode    ({RANAP-ELEMENTARY-PROCEDURES}),
 
62
    criticality RANAP-ELEMENTARY-PROCEDURE.&criticality         ({RANAP-ELEMENTARY-PROCEDURES}{@procedureCode}),
 
63
    value       RANAP-ELEMENTARY-PROCEDURE.&InitiatingMessage   ({RANAP-ELEMENTARY-PROCEDURES}{@procedureCode})
 
64
    }
 
65
 
 
66
iu-Release RANAP-ELEMENTARY-PROCEDURE ::= {
 
67
    INITIATING MESSAGE  Iu-ReleaseCommand
 
68
    SUCCESSFUL OUTCOME  Iu-ReleaseComplete
 
69
    PROCEDURE CODE      id-Iu-Release1
 
70
    CRITICALITY         ignore
 
71
    }
 
72
 
 
73
relocationPreparation RANAP-ELEMENTARY-PROCEDURE ::= {
 
74
    INITIATING MESSAGE  INTEGER --Iu-ReleaseCommand
 
75
    SUCCESSFUL OUTCOME  Iu-ReleaseComplete
 
76
    PROCEDURE CODE      id-Iu-Release2
 
77
    CRITICALITY         notify
 
78
    }
 
79
 
 
80
object3 RANAP-ELEMENTARY-PROCEDURE ::= {
 
81
    &InitiatingMessage Iu-ReleaseCommand,
 
82
    &SuccessfulOutcome Iu-ReleaseComplete,
 
83
    &procedureCode     id-Iu-Release3,
 
84
    &criticality       reject
 
85
    }
 
86
 
 
87
object4 RANAP-ELEMENTARY-PROCEDURE ::= {
 
88
    &InitiatingMessage INTEGER,
 
89
    &SuccessfulOutcome PrintableString,
 
90
    &procedureCode     id-Iu-Release4,
 
91
    &criticality       reject
 
92
    }
 
93
 
 
94
object5 RANAP-ELEMENTARY-PROCEDURE ::= {
 
95
    &InitiatingMessage INTEGER,
 
96
    &SuccessfulOutcome PrintableString,
 
97
    &Outcome           ProcedureCode,
 
98
    &vartypvalue       12,
 
99
    &infoObject        object4,
 
100
    &InfObjectSet      MyObjectSet,
 
101
    &procedureCode     id-Iu-Release5,
 
102
    &criticality       reject
 
103
    }
 
104
 
 
105
 
 
106
RANAP-ELEMENTARY-PROCEDURES RANAP-ELEMENTARY-PROCEDURE ::= {
 
107
    iu-Release         |
 
108
    relocationPreparation ,
 
109
    ...
 
110
    }
 
111
 
 
112
RANAP-ELEMENTARY-PROCEDURES2 RANAP-ELEMENTARY-PROCEDURE ::= {
 
113
    iu-Release         |
 
114
    relocationPreparation
 
115
    }
 
116
 
 
117
 
 
118
OBJECTSET1 RANAP-ELEMENTARY-PROCEDURE ::= {
 
119
    {INITIATING MESSAGE Iu-ReleaseCommand SUCCESSFUL OUTCOME Iu-ReleaseComplete PROCEDURE CODE id-Iu-Release1 CRITICALITY ignore} | {INITIATING MESSAGE Iu-ReleaseCommand PROCEDURE CODE id-Iu-Release2}
 
120
    }
 
121
 
 
122
OBJECTSET2 RANAP-ELEMENTARY-PROCEDURE ::= {
 
123
    iu-Release |
 
124
    {INITIATING MESSAGE Iu-ReleaseCommand SUCCESSFUL OUTCOME Iu-ReleaseComplete PROCEDURE CODE id-Iu-Release4 CRITICALITY ignore} |
 
125
    relocationPreparation |
 
126
    {INITIATING MESSAGE Iu-ReleaseCommand PROCEDURE CODE id-Iu-Release5} ,
 
127
    ...
 
128
    }
 
129
 
 
130
OBJECTSET3 RANAP-ELEMENTARY-PROCEDURE ::= {
 
131
    iu-Release,
 
132
    ...
 
133
    }
 
134
 
 
135
OBJECTSET4 RANAP-ELEMENTARY-PROCEDURE ::= {
 
136
    iu-Release
 
137
    }
 
138
 
 
139
Iu-ReleaseCommand  ::= SEQUENCE {
 
140
    first     INTEGER,
 
141
    second    BOOLEAN
 
142
    }
 
143
 
 
144
Iu-ReleaseComplete ::= INTEGER (1..510)
 
145
 
 
146
ProcedureCode      ::= INTEGER (0..255)
 
147
Criticality        ::= ENUMERATED { reject, ignore, notify }
 
148
id-Iu-Release1                          INTEGER ::= 1
 
149
id-Iu-Release2                          INTEGER ::= 2
 
150
id-Iu-Release3                          INTEGER ::= 3
 
151
id-Iu-Release4                          INTEGER ::= 4
 
152
id-Iu-Release5                          INTEGER ::= 5
 
153
 
 
154
END
 
155
 
 
156