/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:26:35 by OpenVMS SDL EV3-3 */ /* Source: 09-JUN-1993 16:37:08 $1$DGA7274:[LIB_H.SRC]SNAPSTATEDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE SNAPSTATEDEF ***/ #ifndef __SNAPSTATEDEF_LOADED #define __SNAPSTATEDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif #define SNAPSTATE$M_ACTIVE 0x1 #define SNAPSTATE$M_NORETURN 0x2 #define SNAPSTATE$M_ABORT 0x4 #define SNAPSTATE$M_RESUME 0x8 #define SNAPSTATE$M_POWER 0x10 #define SNAPSTATE$M_WATCHDOG 0x20 #define SNAPSTATE$M_ENABLEWATCH 0x40 #define SNAPSTATE$M_DEBUG 0x80 #define SNAPSTATE$M_CLEANUP 0x100 #define SNAPSTATE$S_SNAPSTATEDEF 4 typedef struct _snapstate { __union { int snapstate$l_bits; __struct { unsigned snapstate$v_active : 1; /* Snapshot process is active */ unsigned snapstate$v_noreturn : 1; /* Snapshot is committed and an abort is not possible */ unsigned snapstate$v_abort : 1; /* Snapshot being aborted */ unsigned snapstate$v_resume : 1; /* O.K. to resume other processes. */ unsigned snapstate$v_power : 1; /* Powerfail exception in progress */ unsigned snapstate$v_watchdog : 1; /* Snapshot watchdog is active (set by the watchdog process) */ unsigned snapstate$v_enablewatch : 1; /* Snapshot watchdog is enabled (set by the snapshot process) */ unsigned snapstate$v_debug : 1; /* Snapshot watchdog may detect erroneous timeouts caused by the debugger */ unsigned snapstate$v_cleanup : 1; /* Snapshot cleanup process has been started */ unsigned snapstate$v_fill_2_ : 7; } snapstate$r_fill_1_; } snapstate$r_fill_0_; } SNAPSTATE; #if !defined(__VAXC) #define snapstate$v_active snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_active #define snapstate$v_noreturn snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_noreturn #define snapstate$v_abort snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_abort #define snapstate$v_resume snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_resume #define snapstate$v_power snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_power #define snapstate$v_watchdog snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_watchdog #define snapstate$v_enablewatch snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_enablewatch #define snapstate$v_debug snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_debug #define snapstate$v_cleanup snapstate$r_fill_0_.snapstate$r_fill_1_.snapstate$v_cleanup #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __SNAPSTATEDEF_LOADED */