4 #ifndef RUDIMENTS_SHADOWENTRY_H
5 #define RUDIMENTS_SHADOWENTRY_H
7 #include <rudiments/private/shadowentryincludes.h>
9 class shadowentryprivate;
32 bool initialize(
const char *username);
35 const char *getName()
const;
38 const char *getEncryptedPassword()
const;
43 long getLastChangeDate()
const;
47 int32_t getDaysBeforeChangeAllowed()
const;
51 int32_t getDaysBeforeChangeRequired()
const;
56 int32_t getDaysBeforeExpirationWarning()
const;
60 int32_t getDaysOfInactivityAllowed()
const;
64 int32_t getExpirationDate()
const;
68 int32_t getFlag()
const;
72 static bool needsMutex();
79 #include <rudiments/private/shadowentry.h>