/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:55 by OpenVMS SDL V3.7 */ /* Source: 11-MAR-1998 06:08:10 $1$DGA8345:[LIB_H.SRC]PWDHISDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PWDHISDEF ***/ #ifndef __PWDHISDEF_LOADED #define __PWDHISDEF_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 /* Password History Record - This structure defines the layout of the system */ /* password history file. This is a variable record length indexed file (keyed */ /* by username) where each record contains the last "n" quadword hash values for */ /* the user's last "n" passwords. */ #define PWDHIS$C_ENTRY_LENGTH 16 /* size of one entry */ #define PWDHIS$K_ENTRY_LENGTH 16 /* size of one entry */ #define PWDHIS$S_PWDENTDEF 16 typedef struct _pwdent { __int64 pwdhis$q_entry; /* the quadword hash */ __int64 pwdhis$q_change; /* password change date */ } PWDENT; #define PWDHIS$C_FIXED 32 /* fixed part of record */ #define PWDHIS$K_FIXED 32 /* fixed part of record */ #define PWDHIS$C_DEFAULT_LIFETIME 365 /* default history lifetime (days) */ #define PWDHIS$K_DEFAULT_LIFETIME 365 /* default history lifetime (days) */ #define PWDHIS$C_DEFAULT_LIMIT 60 /* default # of history entries per user */ #define PWDHIS$K_DEFAULT_LIMIT 60 /* default # of history entries per user */ #define PWDHIS$C_MAXIMUM_LIMIT 2000 /* maximum # of history entries per user */ #define PWDHIS$K_MAXIMUM_LIMIT 2000 /* maximum # of history entries per user */ #define PWDHIS$S_PWDHISDEF 32032 typedef struct _pwdhis { char pwdhis$t_username [32]; /* username (KEY0) */ __struct { /* offset to start of list */ PWDENT pwdhis$r_history_entry; } pwdhis$r_history [2000]; } PWDHIS; #if !defined(__VAXC) #define pwdhis$r_history_entry pwdhis$r_history_entry #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 /* __PWDHISDEF_LOADED */