1 /* BEGIN INCLUDE FILE mrds_database_state.incl.pl1 - - 81-01-20 Jim Gray */
 2 
 3 /* HISTORY:
 4 
 5    81-01-20 Jim Gray : original created for the mmi_$get_secured_status interface
 6 
 7 */
 8 
 9 /* DESCRIPTION:
10 
11    This structure returns the database state (secured or unsecured)
12    for determining how commands and subroutines will behave for each case.
13    The secured bit was kept separate from the unsecured,
14    rather than it's logical "not", to allow for future extensibility
15    of database secured states.
16 
17 */
18 
19 
20 declare 1 database_state aligned based (database_state_ptr),
21         2 version fixed bin,                                /* version number of this structure */
22         2 unsecured bit (1) unal,                           /* database not secured */
23         2 secured bit (1) unal,                             /* database has been secured */
24         2 mbz bit (34) unal ;
25 
26 
27 declare  database_state_ptr ptr ;                           /* pointer for referring to the structure */
28 
29 declare  database_state_structure_version fixed bin init (1) int static options (constant) ;
30 
31 /* END INCLUDE FILE mrds_database_state.incl.pl1 */