1 /* Begin include file ..... mdc_status_info.incl.pl1 */
 2 
 3 /* This include file defines the format of data returned by mdc_$status operations. */
 4 
 5 /* Coded April 1976 by Larry Johnson */
 6 /* Modified 83-12-07 BIM for correct quota precisions */
 7 
 8 dcl  volume_datap ptr;
 9 
10 dcl 1 volume_data aligned based (volume_datap),
11     2 version fixed bin,
12     2 accountp ptr,                                         /* Pointer to first account_data entry returned */
13     2 ownerp ptr,                                           /* Pointer to list of owner_data entries */
14     2 restrictp ptr,                                        /* Pointer to list of path restrictions */
15     2 defaultp ptr,                                         /* Pointer to list of path defaults */
16     2 backup (3) fixed bin (35);                            /* Data for backup accounting */
17 
18 dcl  account_datap ptr;
19 
20 dcl 1 account_data aligned based (account_datap),           /* Structure returned for each quota account */
21     2 next ptr,                                             /* Pointer to next one */
22     2 name,                                                 /* Name of account */
23       3 person char (22) unal,
24       3 project char (9) unal,
25     2 quota fixed bin (35),                                 /* Total quota available to account */
26     2 quota_used fixed bin (35),                            /* Total used currently */
27     2 trp fixed bin (71),                                   /* Time-record prodecut of deleted directories */
28     2 backup (3) fixed bin (35),                            /* Backup account data */
29     2 dirp ptr,                                             /* Pointer to first directory charaged agains account */
30     2 restrictp ptr;                                        /* Pointer to pathame restriction list */
31 
32 dcl  dir_datap ptr;
33 
34 dcl 1 dir_data aligned based (dir_datap),                   /* Structure allocated for each master directory */
35     2 next ptr,                                             /* Pointer to next one */
36     2 pathp ptr,                                            /* Pointer to pathane entry */
37     2 name,
38       3 person char (22) unal,
39       3 project char (9) unal,
40     2 quota fixed bin (18),                                 /* Quota allocated to directory */
41     2 backup (3) fixed bin (35);                            /* Backup account data */
42 
43 dcl  owner_datap ptr;
44 
45 dcl 1 owner_data aligned based (owner_datap),               /* Structure allocated for each master dir owner */
46     2 next ptr,
47     2 name,                                                 /* Owner name */
48       3 person char (22) unal,
49       3 project char (9) unal,
50     2 dirp ptr;                                             /* Pointer to list of owners dirs */
51 
52 dcl  path_datap ptr;
53 
54 dcl 1 path_data aligned based (path_datap),                 /* One of these is allocated for each pathname */
55     2 next ptr,
56     2 code fixed bin (35),                                  /* Status code from decoding pathname */
57     2 dir char (168) unal,
58     2 ename char (32) unal;
59 
60 /* End include file ..... mdc_status_info.incl.pl1 */