shadowentry.h
// Copyright (c) 2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SHADOWENTRY_H
#define RUDIMENTS_SHADOWENTRY_H
#include <rudiments/private/shadowentryincludes.h>
class shadowentryprivate;
class RUDIMENTS_DLLSPEC shadowentry {
public:
shadowentry();
shadowentry(const shadowentry &s);
shadowentry &operator=(const shadowentry &s);
~shadowentry();
bool initialize(const char *username);
const char *getName() const;
const char *getEncryptedPassword() const;
long getLastChangeDate() const;
int32_t getDaysBeforeChangeAllowed() const;
int32_t getDaysBeforeChangeRequired() const;
int32_t getDaysBeforeExpirationWarning() const;
int32_t getDaysOfInactivityAllowed() const;
int32_t getExpirationDate() const;
int32_t getFlag() const;
static bool needsMutex();
static void setMutex(threadmutex *mtx);
#include <rudiments/private/shadowentry.h>
};
#endif