1 /* BEGIN INCLUDE FILE: network_channel_use.incl.pl1 */
 2 
 3 /****^  HISTORY COMMENTS:
 4   1) change(87-03-24,Brunelle), approve(87-07-31,MCR7694),
 5      audit(87-07-31,GDixon), install(87-08-04,MR12.1-1056):
 6      Created.
 7                                                    END HISTORY COMMENTS */
 8 
 9 /* format: style4 */
10 
11 dcl network_channel_use_ptr ptr;
12 dcl  1 network_channel_use aligned based (network_channel_use_ptr),
13        2 version char (8),
14        2 network_id fixed bin,                              /* Type of network connection is for */
15        2 session_handle fixed bin (35),                     /* unique ID for the current session */
16        2 owner_pid bit (36) aligned,                        /* PID of owner of the session */
17        2 user_pid bit (36) aligned,                         /* PID of the user of the session */
18        2 session_state fixed bin,                           /* current state of the connection */
19        2 packet_count fixed bin (17),                       /* # of additional packets to charge for */
20        2 byte_count fixed bin (17);                         /* # of additional bytes to charge for */
21 
22 /* the following are for the session state field */
23 
24 dcl  CREATE_SESSION fixed bin int static options (constant) init (1);
25 dcl  ASSIGN_CONNECTION fixed bin int static options (constant) init (2);
26 dcl  UPDATE_CONNECTION fixed bin int static options (constant) init (3);
27 dcl  UNASSIGN_CONNECTION fixed bin int static options (constant) init (4);
28 dcl  DESTROY_SESSION fixed bin int static options (constant) init (5);
29 
30 dcl  NETWORK_CHANNEL_USE_INFO_VERSION_1 char (8) int static options (constant) init ("NETCHN01");
31 
32 /* END INCLUDE FILE: network_channel_use.incl.pl1 */