1 /*  BEGIN:   tty_attach_data_.incl.pl1                        *  *  *  *  *  */
 2 
 3 
 4 /****^  HISTORY COMMENTS:
 5   1) change(81-01-01,Margulies), approve(), audit(), install():
 6      Created from internal declarations.
 7   2) change(85-12-01,Negaret), approve(87-07-23,MCR7742),
 8      audit(87-07-23,GDixon), install(87-08-04,MR12.1-1056):
 9      Add network_type and tty_handle.
10                                                    END HISTORY COMMENTS */
11 
12 
13 /* format: style2 */
14 
15 /* INTERNAL INTERFACE -- SUBJECT TO CHANGE */
16 
17      dcl     attach_data_ptr        pointer;
18      dcl     1 attach_data          aligned based (attach_data_ptr),
19                2 attach_descrip     character (128) varying,
20                2 open_descrip       character (64) varying,
21                2 device_id          character (32) unaligned,
22                                                             /* given in atd */
23                2 device_used        character (32) unaligned,
24                                                             /* aquired by dm_ */
25                2 dial_phone         character (64) varying,
26                2 dial_id            character (32) unaligned,
27                2 resource_desc      character (256) unaligned,
28                2 network_type       fixed bin,
29                2 tty_index          fixed bin,
30                2 tty_handle         fixed bin (35),
31                2 operation_hlock    fixed bin,              /* if this is nonzero detach may not free this structure */
32                2 flags              aligned,
33                  3 assigned_ev_channel
34                                     bit (1) unaligned,      /* we got the channel as fast channel */
35                  3 created_ev_channel
36                                     bit (1) unaligned,      /* we got it as slow channel */
37                  3 have_ev_channel  bit (1) unaligned,      /* there is a channel to use */
38                  3 login_channel    bit (1) unaligned,      /* we are login channel */
39                  3 phone_given      bit (1) unaligned,      /* dial_out */
40                  3 accept_dial      bit (1) unaligned,      /* wait for terminal to dial */
41                  3 must_release     bit (1) unaligned,      /* we must call release channel */
42                  3 no_block         bit (1) unaligned,      /* never block */
43                  3 async_close      bit (1) unaligned,      /* close with hlock nonzero */
44                  3 async_detach     bit (1) unaligned,      /* detach_iocb with hlock nonzero */
45                  3 hangup           bit (1) unaligned,
46                  3 async_hangup     bit (1) unaligned,      /* channel was hungup (and released) by AS */
47                  3 have_user_hangup_proc
48                                     bit (1) unaligned,      /* user has supplied a hangup procedure */
49                  3 pad              bit (23) unaligned,
50                2 dial_manager_event aligned like event_wait_channel,
51                2 event_wait         aligned like event_wait_channel,
52                2 user_hangup_proc,                          /* user supplied hangup procedure */
53                  3 procedure        entry (pointer) variable,
54                  3 data_ptr         pointer,
55                2 mode_string_info   aligned,
56                  3 max_mode_length  fixed bin (35),
57                  3 mode_string      char (tty_max_mode_length refer (attach_data.max_mode_length)) unaligned,
58                2 temp_mode_string   char (tty_max_mode_length refer (attach_data.max_mode_length)) unaligned;
59 
60      declare tty_max_mode_length    fixed bin (21);
61 
62 %include event_wait_channel;
63 
64 /*  END OF:  tty_attach_data_.incl.pl1                        *  *  *  *  *  */