1 /* ******************************************************
 2    *                                                    *
 3    *                                                    *
 4    * Copyright (c) 1972 by Massachusetts Institute of   *
 5    * Technology and Honeywell Information Systems, Inc. *
 6    *                                                    *
 7    *                                                    *
 8    ****************************************************** */
 9 
10 /* BEGIN INCLUDE FILE audit_file_header.incl.pl1 */
11 
12 /*
13    This structure is recorded in the audit_file starting at byte 0. It describes
14    the length of the file, the length of the last entry string and where the
15    beginning of the file is.
16 
17    Written 09/12/78 by Lindsey Spratt
18    Modified:
19    01/15/79  by  Lindsey L. Spratt to align structure, increase size
20    of byte offset variables to fixed bin(24), and add
21    pad1 and pad2.
22 */
23 
24 dcl  audit_file_header_length fixed bin init (64) options (constant) int static;
25 dcl  audit_file_header_version_1 fixed bin init (1) options (constant) int static;
26 dcl  audit_file_header_ptr ptr;
27 dcl 1 audit_file_header based (audit_file_header_ptr) aligned,
28     2 version fixed bin (17),
29     2 audit_index fixed bin (24),                           /* The offset in bytes of where the next entry would start. */
30     2 current_component fixed bin (17),                     /* The largest component number used. */
31     2 begin_index fixed bin (24),                           /* The byte offset of the beginning of the file. */
32     2 begin_component fixed bin (17),                       /* Component containing beginning of file. */
33     2 max_index fixed bin (24),                             /* Byte offset of the largest possible position. */
34     2 max_component fixed bin (17),                         /* Component containing largest possible position. */
35     2 last_entry_length fixed bin (24),                     /* The length of the last entry string. */
36     2 filled bit (1) unal,
37     2 unused1 bit (35) unal,
38     2 pad2 (7) fixed bin (35);
39 
40 
41 /* END INCLUDE FILE audit_file_header.incl.pl1 */