summaryrefslogtreecommitdiffstats
path: root/common/eurephia_admin_struct.h
blob: 386d4a9abe4253452d6ababcac9218acedf4ed83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* eurephia_admin_struct.h  --  Structs used by the admin applications
 *
 *  GPLv2 only - Copyright (C) 2008
 *               David Sommerseth <dazo@users.sourceforge.net>
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License
 *  as published by the Free Software Foundation; version 2
 *  of the License.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
*/

/**
 * @file   eurephia_admin_struct.h
 * @author David Sommerseth <dsommers@wsdsommers.usersys.redhat.com>
 * @date   2008-11-28
 *
 * @brief  Misc user account flags
 *
 */


#ifndef EUREPHIA_ADMIN_STRUCT_H
#define EUREPHIA_ADMIN_STRUCT_H

#define ACCFLAG_NEVERUSED    0x001 /**< The user account has never been used */
#define ACCFLAG_OPENSESSION  0x002 /**< The user is currently logged in, a session is open */
#define ACCFLAG_BLACKLISTED  0x004 /**< The user account is blacklisted */
#define ACCFLAG_DEACTIVATED  0x008 /**< The user account is deactivated */
#define ACCFLAG_ERRATTEMPT   0x010 /**< The user have attempted to login and failed */
#define ACCFLAG_RSETLASTUSED 0x020 /**< The "last used" time stamp has been reset */
#define ACCFLAG_RSETLOGINCNT 0x040 /**< The "login count" has been reset */

#endif