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

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/XSeq.py

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XSeq DEFINITIONS ::=
 
2
BEGIN
 
3
 
 
4
-- F.2.10.2     
 
5
-- Use a sequence type to model a collection of variables whose 
 
6
-- types are the same, 
 
7
-- whose number is known and modest, and whose order is significant, 
 
8
-- provided that the 
 
9
-- makeup of the collection is unlikely to change from one version 
 
10
-- of the protocol to the next.
 
11
-- EXAMPLE
 
12
 
 
13
NamesOfOfficers ::= SEQUENCE {
 
14
        president                       VisibleString,
 
15
        vicePresident   VisibleString,
 
16
        secretary                       VisibleString}
 
17
 
 
18
acmeCorp NamesOfOfficers ::= {
 
19
        president       "Jane Doe",
 
20
        vicePresident   "John Doe",
 
21
        secretary       "Joe Doe"}
 
22
 
 
23
-- F.2.10.3     
 
24
-- Use a sequence type to model a collection of variables whose types differ, 
 
25
--  whose number is known and modest, and whose order is significant, 
 
26
-- provided that 
 
27
-- the makeup of the collection is unlikely to change from one version 
 
28
-- of the protocol to the next.
 
29
-- EXAMPLE
 
30
 
 
31
Credentials ::= SEQUENCE {
 
32
        userName        VisibleString,
 
33
        password        VisibleString,
 
34
        accountNumber   INTEGER}
 
35
 
 
36
-- Empty SEQUENCE stupid but just for test
 
37
BasicCallCategories ::= SEQUENCE
 
38
{
 
39
        ...                             -- So far, no specific categories identified
 
40
}
 
41
 
 
42
END