1 
 2 10/07/86  display_access_class_
 3 
 4 
 5 Entry points in display_access_class_:
 6    (List is generated by the help command)
 7 
 8 
 9 :Entry:  display_access_class_:  10/07/86  display_access_class_
10 
11 
12 Syntax:
13 declare display_access_class_$display_access_class entry (bit(72)
14      aligned, char(32) aligned);
15 call display_access_class_$display_access_class (aim_bits, aim_chars);
16 
17 
18 The display_access_class_ function converts a bit(72) aligned
19 representation of an access authorization or access class into a
20 character string of the form
21    LL...L:CC...C
22 where LL...L is an octal sensitivity level number, and CC...C is an
23 octal string representing the access category set.
24 
25 
26 Arguments:
27 aim_bits
28    is the binary representation to be converted.  (Input)
29 aim_chars
30    is the character string representation.  (Output)
31 
32 
33 Notes: Only significant digits of the level number (usually a single
34 digit from 0 to 7) are printed.
35 
36 Currently, only 18 access category bits are used, so that only six
37 octal digits are required to represent access categories.  Therefore,
38 aim_chars is padded on the right with blanks, which may be used at a
39 later time for additional access information.  Trailing zeros are NOT
40 stripped.
41 
42 If either the level or category field of aim_bits is invalid, the
43 erroneous field is returned as full octal (6 digits for level, 12
44 digits for category), followed by the string "(undefined)".
45 
46 
47 :Entry: range:  10/07/86 display_access_class_$range
48 
49 
50 Function: The display_access_class_$range function converts an AIM
51 access class range to a character string when the names of levels and
52 categories are not available.
53 
54 
55 Syntax:
56 declare display_access_class_$range entry ((2) bit(72) aligned char(32)
57      aligned);
58 
59 call display_access_class_$range (AIM_range, string_range)
60 
61 
62 Arguments:
63 AIM_range
64    is a standard access class range.  (Input)
65 string_range
66    is a string of the form
67       l:cccccc-L:CCCCCC
68    where l is the level, from 0 to 7, of the bottom of the range.
69    (Output)
70    cccccc are the categories of the bottom of the range.
71 
72    The categories are a bit string (one bit per category) represented
73    in octal.
74 
75    L is the level, from 0 to 7, of the top of the range.
76    CCCCCC are categories of the top of the range.
77 
78    The categories are a bit string (one bit per category) represented
79    in octal.