/********************************************************************************************************************************/ /* Created: 19-JUN-1992 18:08:32 by OpenVMS SDL EV1-11 */ /* Source: 19-JUN-1992 18:04:56 CRTL$:[ROUTLEY.CRTL.SDLFIX.BLADEFIX]RMSUSR.SDI; */ /* Modified: 24-Aug-1992 for C++ compatibility. */ /********************************************************************************************************************************/ /*** MODULE $XABJNLDEF ***/ #ifndef __XABJNLDEF_LOADED #define __XABJNLDEF_LOADED 1 #if defined(__DECC) || defined(__DECCXX) #pragma __nostandard /* This file uses non-ANSI-Standard features */ #else #pragma nostandard #endif #if defined(__DECC) || defined(__DECCXX) #pragma __member_alignment __save #pragma __nomember_alignment #endif #ifdef __DECC #pragma __message __save #pragma __message __disable (__MISALGNDSTRCT) #pragma __message __disable (__MISALGNDMEM) #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*** MODULE $xabjnldef ***/ /*++ */ /* */ /* Journal XAB definitions */ /* $xabjnldef */ /* */ /* */ #define XAB$C_JNL 34 /* xabjnl id code */ #define XAB$C_JNL_TYPE_NONE 0 #define XAB$C_AI 1 /* AI journal */ #define XAB$C_BI 2 /* BI journal */ #define XAB$C_AT 3 /* AT journal */ #define XAB$C_RU_DEFAULT 4 /* default RU volume */ #define XAB$M_JOURNAL_DISABLED 0x1 #define XAB$M_BACKUP_DONE 0x2 #define XAB$K_JNLLEN 80 #define XAB$C_JNLLEN 80 struct XABJNL { unsigned char xab$b_cod; unsigned char xab$b_bln; unsigned : 16; /* spare */ void *xab$l_nxt; /* Next XAB in chain */ unsigned char xab$b_xabjnl_type; /* type of $XABJNL */ char xabjnldef$$_fill_5; __union { unsigned short int xab$w_jnl_flags; /* journal flags (from ACE$W_RMSJNL_FLAGS) */ __struct { unsigned xab$v_journal_disabled : 1; /* journaling disabled by BACKUP (AI/BI/AT) */ unsigned xab$v_backup_done : 1; /* Backup done since last $OPEN */ unsigned xab$v_fill_14 : 6; } xab$r_jnl_flags_bits; } xab$r_jnl_flags_overlay; unsigned int xab$l_jnl_fab; /* address of journal file FAB */ unsigned int xab$l_volnam_buf; /* address of journal volume name buffer */ unsigned short int xab$w_volnam_siz; /* size of journal volume name buffer */ unsigned short int xab$w_volnam_len; /* return length of journal volume name */ unsigned int xab$q_jnl_verify_cdate [2]; /* journal file creation date (from ACE$Q_CDATE) */ unsigned int xab$l_jnlidx; /* Journal stream index within journal file */ unsigned int xab$l_backup_seqno; /* Backup sequence number. */ unsigned int xab$q_jnl_mod_time [2]; /* Timestamp of last backup or last journal */ int xabjnldef$$_fill_7; int xabjnldef$$_fill_8; int xabjnldef$$_fill_9; int xabjnldef$$_fill_10; int xabjnldef$$_fill_11; int xabjnldef$$_fill_12; int xabjnldef$$_fill_13; int xabjnldef$$_fill_14; } ; #if !defined(__VAXC) && !defined(VAXC) #define xab$w_jnl_flags xab$r_jnl_flags_overlay.xab$w_jnl_flags #define xab$v_journal_disabled xab$r_jnl_flags_overlay.xab$r_jnl_flags_bits.xab$v_journal_disabled #define xab$v_backup_done xab$r_jnl_flags_overlay.xab$r_jnl_flags_bits.xab$v_backup_done #endif #if defined(__DECC) #pragma __message __restore #endif #if defined(__DECC) || defined(__DECCXX) #pragma __member_alignment __restore #endif #ifdef __cplusplus } #endif #if defined(__DECC) || defined(__DECCXX) #pragma __standard /* This file uses non-ANSI-Standard features */ #else #pragma standard #endif #endif /* __XABJNLDEF_LOADED */