1 
 2 /*             "net_character_sdb_dcls.incl.pl1" -- the include file that       */
 3 /*        declares the Stream Data Block for the Network raw character IOSIM.   */
 4 
 5 /*        Originally created by D. M. Wells, November, 1975, from the previous  */
 6 /*                  net_ascii_ IOSIM's SDB declaration.                         */
 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 
13              2 ncp_info aligned,
14                 3 r_ncp_idx bit (36) unaligned,             /* NCP index for the read socket                  */
15                 3 w_ncp_idx bit (36) unaligned,             /* NCP index for the write socket                 */
16                 3 ncp_read_ev_chn fixed binary (71),        /* event channel which NCP will signal over       */
17                 3 ncp_write_ev_chn fixed binary (71),       /* event channel which NCP will signal over       */
18 
19              2 io_synchronization aligned,
20                 3 read_ev_chn_list_ptr pointer,
21                 3 write_ev_chn_list_ptr pointer,
22 
23              2 mode_section aligned,                        /* information which changemodes might change     */
24                 3 modes_inconsistent bit (1) unaligned,     /* on if internal modes are inconsistent          */
25                 3 modes_section_pad bit (35) unaligned,
26                 3 current_modes aligned,                    /* a representation of the modes of this stream   */
27                    4 mode_switches unaligned,               /* -- those determined only by a switch           */
28                       5 ascii bit (1),                      /* only Network ASCII conversions to be done      */
29                       5 telnet bit (1),                     /* whether TELNET byte conversions to be done     */
30                       5 direct bit (1),                     /* no conversions (except bytesize) to be done    */
31                    4 mode_switches_pad bit (33) unaligned,
32 
33                 3 delim_list_ptr pointer,                   /* ptr to list of delimiter characters            */
34                 3 timeout_value fixed binary (17),          /* how long we will wait for various events       */
35                 3 mode_section_pad bit (36) aligned,
36 
37              2 trace_iocb_ptr pointer,                      /* pointer to IOCB of stream we are to trace to   */
38              2 input_ptr pointer,                           /* ptr to (9-bit) characters not yet read to user */
39              2 output_ptr pointer,                          /* pointer to bytes ready to go to net (8 bit)    */
40 
41              2 initial_input_buffer aligned,                /* try to use this buffer unless too snall        */
42                 3 header like net_buffer_header,
43                 3 workspace aligned,
44                    4 byte (0 : 1099) bit (9) unaligned,
45 
46              2 initial_output_buffer aligned,               /* try to use this buffer unless too small        */
47                 3 header like net_buffer_header,
48                 3 workspace aligned,
49                    4 byte (0 : 511) bit (8) unaligned,
50 
51              2 last_item_in_SDB bit (1) aligned;
52 
53 /*        end of "net_character_sdb_dcls.incl.pl1"--                            */
54