1
2
3
4
5
6
7
8
9 declare 1 mseg_operation_data
10 aligned based (mseg_operation_data_ptr),
11 2 operation_id
12 fixed binary (9) unaligned unsigned,
13 2 required_data unaligned,
14 3 pathname bit (1) unaligned,
15 3 mseg_ptr bit (1) unaligned,
16 3 mseg_index bit (1) unaligned,
17 3 access_info bit (1) unaligned,
18 3 md_ptr bit (1) unaligned,
19 3 message_info bit (1) unaligned,
20 3 wakeup_state bit (1) unaligned,
21 3 wakeup_state_version
22 bit (1) unaligned,
23 3 pad bit (1) unaligned,
24 2 begin_flags unaligned,
25 3 lock_segment bit (1) unaligned,
26 3 dont_check_lock_results
27 bit (1) unaligned,
28 3 check_header_consistency
29 bit (1) unaligned,
30 3 initialize_header
31 bit (1) unaligned,
32 3 check_count_consistency
33 bit (1) unaligned,
34 3 pad bit (4) unaligned,
35 2 finish_flags unaligned,
36 3 truncate_if_possible
37 bit (1) unaligned,
38 3 already_salvaged
39 bit (1) unaligned,
40 3 unlock_segment
41 bit (1) unaligned,
42 3 pad bit (6) unaligned;
43
44 declare mseg_operation_data_ptr
45 pointer;
46
47
48
49
50 declare mseg_operations_$names
51 (26) character (64) varying external;
52 %page;
53
54
55
56
57 declare (
58
59 MSEG_REQUIRE_PATHNAME initial ("400"b3),
60 MSEG_REQUIRE_MSEG_PTR initial ("200"b3),
61 MSEG_REQUIRE_MSEG_INDEX initial ("100"b3),
62 MSEG_REQUIRE_ACCESS_INFO initial ("040"b3),
63 MSEG_REQUIRE_MD_PTR initial ("020"b3),
64 MSEG_REQUIRE_MESSAGE_INFO initial ("010"b3),
65 MSEG_REQUIRE_WAKEUP_STATE initial ("004"b3),
66 MSEG_REQUIRE_WAKEUP_STATE_VERSION
67 initial ("002"b3)
68 ) bit (9) aligned static options (constant);
69
70 declare (
71
72 MSEG_REQUIRED_FOR_MESSAGE initial ("250"b3),
73 MSEG_REQUIRED_FOR_SEGMENT initial ("200"b3),
74 MSEG_REQUIRED_FOR_FS_INTERFACE initial ("400"b3)
75 ) bit (9) aligned static options (constant);
76
77 declare (
78
79 MSEG_LOCK_SEGMENT initial ("400"b3),
80 MSEG_DONT_CHECK_LOCK_RESULTS initial ("200"b3),
81 MSEG_CHECK_HEADER_CONSISTENCY initial ("100"b3),
82 MSEG_INITIALIZE_HEADER initial ("040"b3),
83 MSEG_CHECK_COUNT_CONSISTENCY initial ("020"b3)
84 ) bit (9) aligned static options (constant);
85
86 declare (
87
88 MSEG_BEGIN_FOR_MESSAGE initial ("520"b3),
89 MSEG_BEGIN_FOR_SEGMENT initial ("500"b3),
90 MSEG_BEGIN_FOR_FS_INTERFACE initial ("000"b3)
91 ) bit (9) aligned static options (constant);
92
93 declare (
94
95 MSEG_TRUNCATE_IF_POSSIBLE initial ("400"b3),
96 MSEG_ALREADY_SALVAGED initial ("200"b3),
97 MSEG_UNLOCK_SEGMENT initial ("100"b3)
98 ) bit (9) aligned static options (constant);
99
100 declare (
101
102 MSEG_FINISH_FOR_MESSAGE initial ("400"b3),
103 MSEG_FINISH_FOR_SEGMENT initial ("400"b3),
104 MSEG_FINISH_FOR_FS_INTERFACE initial ("000"b3)
105 ) bit (9) aligned static options (constant);
106
107