1 
 2 /*             "user_telnet_sdb_dcls.incl.pl1" -- the include file that         */
 3 /*        declares the stream data block for the network ASCII DIMS.            */
 4 
 5 /*        Originally created by D. M. Wells 1972, February.                     */
 6 /*        Last modified by D. M. Wells 1974, January 3 prior to installation.   */
 7 
 8      declare
 9           1 SDB_template aligned based,                     /* stream data block for network tty connection   */
10              2 storage_management aligned,
11                 3 allocation_ptr pointer,                   /* pointer to area allocated in (if any)          */
12              2 ncp_stream_info aligned,
13                 3 ncp_cdb pointer,                          /* attachment pointer for socket controller       */
14                 3 break_delim_id bit (36) unaligned,        /* returned id of break char table in effect      */
15 
16 
17 2 padd2 (4) fixed binary (71),
18              2 mode_section aligned,                        /* information which changemodes might change     */
19                 3 modes_inconsistent bit (1) unaligned,     /* on if internal modes are inconsistent          */
20                 3 modes_section_pad bit (35) unaligned,
21                 3 current_modes aligned,                    /* a representation of the modes of this stream   */
22                    4 mode_switches unaligned,               /* -- those determined only by a switch           */
23                       5 rawi bit (1),                       /* (ignored) whether no processing done on input  */
24                       5 rawo bit (1),                       /* whether no processing should be done on output */
25                    4 mode_switches_pad bit (35) unaligned,
26 
27 
28 3 padd30 pointer,
29 
30                 3 delim_list_ptr pointer,                   /* ptr to list of delimiter characters            */
31                 3 timeout_value fixed binary (17),          /* how long we will wait for various events       */
32                 3 users_output_iocb_ptr pointer,            /* iocb of stream to assume user is using         */
33 
34 2 padd4 (3) fixed binary (71),
35              2 trace_iocb_ptr pointer,                      /* pointer to IOCB of stream we are to trace to   */
36              2 options_info_ptr pointer,                    /* pointer to info about option negotiations      */
37              2 transl_ptr pointer,                          /* ptr to chars run though input translation      */
38              2 rawbuffer_ptr pointer,                       /* pointer to raw received chars (9 bit)          */
39              2 output_ptr pointer,                          /* pointer to bytes ready to go to net (8 bit)    */
40 
41              2 connection_state aligned,                    /* current state of the connection                */
42                 3 read_status_channel fixed binary (71),
43                 3 flags unaligned,                          /* state bits                                     */
44                    4 aborting_output bit (1),               /* whether current output is being thrown away    */
45                    4 aborting_input bit (1),                /* whether received data is being thrown away     */
46                    4 conn_state_pad bit (34),
47                 3 abort_input_timeout fixed binary (71),    /* we clear input abort at this time              */
48 
49              2 protocol_state aligned,                      /* state of protocols negotiated over connection  */
50                 3 nic_9348 bit (1) unaligned,               /* "old" TELNET protocol (April '72)              */
51                 3 nic_18639 bit (1) unaligned,              /* "new" TELNET protocol (August '73)             */
52                 3 cur_ptcl_state_pad bit (34) unaligned,
53 
54 2 padd6 (4) fixed binary (71),
55              2 last_item_in_SDB bit (1) aligned;
56 
57           /* end of "user_telnet_sdb_dcls.incl.pl1" --                          */
58