Rudiments
Main Page
Classes
include
rudiments
shadowentry.h
1
// Copyright (c) 2002 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_SHADOWENTRY_H
5
#define RUDIMENTS_SHADOWENTRY_H
6
7
#include <rudiments/private/shadowentryincludes.h>
8
9
class
shadowentryprivate;
10
13
class
RUDIMENTS_DLLSPEC
shadowentry
{
14
public
:
15
17
shadowentry
();
18
21
shadowentry
(
const
shadowentry
&s);
22
25
shadowentry
&operator=(
const
shadowentry
&s);
26
28
~
shadowentry
();
29
32
bool
initialize(
const
char
*username);
33
35
const
char
*getName()
const
;
36
38
const
char
*getEncryptedPassword()
const
;
39
43
long
getLastChangeDate()
const
;
44
47
int32_t getDaysBeforeChangeAllowed()
const
;
48
51
int32_t getDaysBeforeChangeRequired()
const
;
52
56
int32_t getDaysBeforeExpirationWarning()
const
;
57
60
int32_t getDaysOfInactivityAllowed()
const
;
61
64
int32_t getExpirationDate()
const
;
65
68
int32_t getFlag()
const
;
69
72
static
bool
needsMutex();
73
77
static
void
setMutex(
threadmutex
*mtx);
78
79
#include <rudiments/private/shadowentry.h>
80
};
81
82
#endif
threadmutex
Definition:
threadmutex.h:13
shadowentry
Definition:
shadowentry.h:13
Generated on Wed Oct 1 2014 02:59:34 for Rudiments by
1.8.6