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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/x420/Remote-Operations-Useful-Definitions.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
-- Module Remote-Operations-Useful-Definitions (X.880:07/1994)
 
2
 
 
3
Remote-Operations-Useful-Definitions {joint-iso-itu-t remote-operations(4)
 
4
  useful-definitions(7) version1(0)} DEFINITIONS IMPLICIT TAGS ::=
 
5
BEGIN
 
6
 
 
7
-- exports everything
 
8
IMPORTS
 
9
  OPERATION, ERROR, OPERATION-PACKAGE, Code
 
10
    FROM Remote-Operations-Information-Objects {joint-iso-itu-t
 
11
      remote-operations(4) informationObjects(5) version1(0)}
 
12
  InvokeId, ROS{}
 
13
    FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
 
14
      remote-operations(4) generic-ROS-PDUs(6) version1(0)};
 
15
 
 
16
emptyBind OPERATION ::= {ERRORS       {refuse}
 
17
                         SYNCHRONOUS  TRUE
 
18
}
 
19
 
 
20
emptyUnbind OPERATION ::= {SYNCHRONOUS  TRUE
 
21
}
 
22
 
 
23
refuse ERROR ::= {CODE  local:-1
 
24
}
 
25
 
 
26
no-op OPERATION ::= {ALWAYS RESPONDS  FALSE
 
27
                     CODE             local:-1
 
28
}
 
29
 
 
30
Forward{OPERATION:OperationSet} OPERATION ::=
 
31
  {OperationSet | OperationSet.&Linked.&Linked |
 
32
   OperationSet.&Linked.&Linked.&Linked.&Linked}
 
33
 
 
34
Reverse{OPERATION:OperationSet} OPERATION ::= {Forward{{OperationSet.&Linked}}}
 
35
 
 
36
ConsumerPerforms{OPERATION-PACKAGE:package} OPERATION ::=
 
37
  {Forward{{package.&Consumer}} | Forward{{package.&Both}} |
 
38
   Reverse{{package.&Supplier}} | Reverse{{package.&Both}}}
 
39
 
 
40
SupplierPerforms{OPERATION-PACKAGE:package} OPERATION ::=
 
41
  {Forward{{package.&Supplier}} | Forward{{package.&Both}} |
 
42
   Reverse{{package.&Consumer}} | Reverse{{package.&Both}}}
 
43
 
 
44
AllOperations{OPERATION-PACKAGE:package} OPERATION ::=
 
45
  {ConsumerPerforms{package} | SupplierPerforms{package}}
 
46
 
 
47
-- continued on the next page
 
48
recode{OPERATION:operation, Code:code} OPERATION ::= {
 
49
  ARGUMENT         operation.&ArgumentType
 
50
  OPTIONAL         operation.&argumentTypeOptional
 
51
  RESULT           operation.&ResultType
 
52
  OPTIONAL         operation.&resultTypeOptional
 
53
  RETURN RESULT    operation.&returnResult
 
54
  ERRORS           {operation.&Errors}
 
55
  LINKED           {operation.&Linked}
 
56
  SYNCHRONOUS      operation.&synchronous
 
57
  ALWAYS RESPONDS  operation.&alwaysReturns
 
58
  INVOKE PRIORITY  {operation.&InvokePriority}
 
59
  RESULT-PRIORITY  {operation.&ResultPriority}
 
60
  CODE             code
 
61
}
 
62
 
 
63
switch{OPERATION-PACKAGE:package, OBJECT IDENTIFIER:id} OPERATION-PACKAGE ::= 
 
64
{
 
65
  OPERATIONS        {package.&Both}
 
66
  CONSUMER INVOKES  {package.&Consumer}
 
67
  SUPPLIER INVOKES  {package.&Supplier}
 
68
  ID                id
 
69
}
 
70
 
 
71
combine{OPERATION-PACKAGE:ConsumerConsumes, OPERATION-PACKAGE:ConsumerSupplies,
 
72
        OPERATION-PACKAGE:base} OPERATION-PACKAGE ::= {
 
73
  OPERATIONS        {ConsumerConsumes.&Both | ConsumerSupplies.&Both}
 
74
  CONSUMER INVOKES  {ConsumerConsumes.&Consumer | ConsumerSupplies.&Supplier}
 
75
  SUPPLIER INVOKES  {ConsumerConsumes.&Supplier | ConsumerSupplies.&Consumer}
 
76
  ID                base.&id
 
77
}
 
78
 
 
79
ROS-SingleAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
 
80
  ROS{{InvokeIdSet}, {AllOperations  {package}}, {AllOperations  {package}}}
 
81
 
 
82
ROS-ConsumerAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
 
83
  ROS
 
84
    {{InvokeIdSet}, {ConsumerPerforms  {package}},
 
85
    {SupplierPerforms  {package}}}
 
86
 
 
87
ROS-SupplierAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
 
88
  ROS
 
89
    {{InvokeIdSet}, {SupplierPerforms  {package}},
 
90
    {ConsumerPerforms  {package}}}
 
91
 
 
92
END -- end of useful definitions.
 
93
 
 
94
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
95