1 /* BEGIN INCLUDE FILE tc_io_attach_data_.incl.pl1 */
 2 
 3 
 4 /****^  HISTORY COMMENTS:
 5   1) change(86-07-21,LJAdams), approve(86-11-11,MCR7485),
 6      audit(86-12-16,Margolin), install(87-01-06,MR12.0-1255):
 7      Added field to hold ptr to MOWSE terminal switch.
 8   2) change(86-11-26,LJAdams), approve(86-11-26,MCR7584),
 9      audit(86-12-16,Margolin), install(87-01-06,MR12.0-1255):
10      tty_handle component has been added for DSA.
11                                                    END HISTORY COMMENTS */
12 
13 
14 /* Written BIM 1981-1-1 */
15 /* Modified DEC 1985 by R. Negaret to add network_type and tty_handle */
16 /* format: style2,linecom,^indnoniterdo,indcomtxt,^inditerdo,dclind5,idind25 */
17 /* INTERNAL INTERFACE -- SUBJECT TO CHANGE */
18 
19      dcl  attach_data_ptr          pointer;
20      dcl  1 attach_data            aligned based (attach_data_ptr),
21             2 tc_info_ptr          pointer,                 /* data block managed by terminal control */
22             2 mowse_terminal_iocb_ptr
23                                    pointer,                 /* pointer to the MOWSE terminal switch   */
24             2 attach_descrip       character (128) varying,
25             2 open_descrip         character (64) varying,
26             2 device_id            character (32) unaligned,/* given in atd */
27             2 device_used          character (32) unaligned,/* aquired by dm_ */
28             2 terminal_type        character (32) unaligned,
29             2 dial_phone           character (64) varying,
30             2 resource_desc        character (256) unaligned,
31             2 network_type         fixed bin,
32             2 tty_index            fixed bin,
33             2 tty_handle           fixed bin (35),
34             2 operation_hlock      fixed bin,               /* if this is nonzero detach may not free this structure */
35             2 flags                aligned,
36               3 assigned_ev_channel
37                                    bit (1) unaligned,       /* we got the channel as fast channel */
38               3 created_ev_channel bit (1) unaligned,       /* we got it as slow channel */
39               3 have_ev_channel                             /* there is a channel to use */
40                                    bit (1) unaligned,
41               3 login_channel      bit (1) unaligned,       /* we are login channel */
42               3 phone_given        bit (1) unaligned,       /* dial_out */
43               3 must_release       bit (1) unaligned,       /* we must call release channel */
44               3 no_block           bit (1) unaligned,       /* never block */
45               3 async_detach       bit (1) unaligned,       /* detach_iocb with hlock nonzero */
46               3 hangup             bit (1) unaligned,
47               3 debug              bit (1) unaligned,
48               3 pad                bit (26) unaligned,
49             2 dial_manager_event   aligned like event_wait_channel,
50                                                             /* so we can do set_hangup_proc */
51             2 event_wait           aligned like event_wait_channel;
52                                                             /* init attributes and all */
53 
54 %include event_wait_channel;
55 
56 /* END INCLUDE FILE tc_io_attach_data_.incl.pl1 */