1
2
3
4
5
6
7 dcl 1 hasp_load_data aligned based (hld_ptr),
8 2 event_channel fixed binary (71),
9 2 configuration_data like hasp_configuration_data,
10 2 n_subchannels fixed binary,
11 2 subchannels (hasp_load_data_n_subchannels refer (hasp_load_data.n_subchannels)),
12 3 devx fixed binary,
13 3 device_type fixed binary,
14 3 device_number fixed binary;
15
16 dcl hasp_load_data_n_subchannels fixed binary;
17 dcl hld_ptr pointer;
18
19
20
21
22 dcl (HASP_MPX_UP initial (1),
23 HASP_MPX_DOWN initial (2),
24 HASP_MPX_MASKED initial (3))
25 fixed binary (71) static options (constant);
26
27
28
29
30 dcl 1 hasp_configuration_data aligned based,
31 2 type fixed binary,
32 2 max_block_size fixed binary,
33 2 max_device_input_records fixed binary,
34 2 max_device_output_records fixed binary,
35 2 ic_timeout fixed binary,
36 2 receive_timeout fixed binary,
37 2 transmit_timeout fixed binary,
38 2 max_naks fixed binary,
39 2 flags,
40 3 suspend_all_mode bit (1) unaligned,
41
42 3 signon_mode bit (1) unaligned,
43
44 3 multileave_mode bit (1) unaligned,
45
46 3 trace_mode bit (1) unaligned,
47
48 3 rts_mode bit (1) unaligned,
49
50 3 pad bit (31) unaligned;
51
52 dcl (HASP_WORKSTATION initial (0),
53 HASP_HOST initial (1))
54 fixed binary static options (constant);
55
56 %include hasp_device_data;
57
58 dcl (HASP_MIN_MAX_BLOCK_SIZE initial (400),
59 HASP_MAX_MAX_BLOCK_SIZE initial (1017))
60 fixed binary static options (constant);
61
62
63
64
65 dcl 1 DEFAULT_HASP_CONFIGURATION_DATA aligned static options (constant),
66 2 type fixed binary initial (1),
67 2 max_block_size fixed binary initial (400),
68 2 max_device_input_records fixed binary initial (6),
69 2 max_device_output_records fixed binary initial (6),
70 2 ic_timeout fixed binary initial (30),
71 2 receive_timeout fixed binary initial (3),
72 2 transmit_timeout fixed binary initial (2),
73 2 max_naks fixed binary initial (10),
74 2 flags,
75 3 suspend_all_mode bit (1) unaligned initial ("0"b),
76 3 signon_mode bit (1) unaligned initial ("0"b),
77 3 multileave_mode bit (1) unaligned initial ("1"b),
78 3 trace_mode bit (1) unaligned initial ("0"b),
79 3 rts_mode bit (1) unaligned initial ("0"b),
80 3 pad bit (31) unaligned initial (""b);
81
82