diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-20 19:49:48 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-20 19:49:48 +0800 |
commit | b34fc84582f9bde4cbaadcb836553882f36df4c0 (patch) | |
tree | 6ca4e78d86033ddc511637adf5100969ca52c351 /include | |
parent | 98c19f0596c7a78887e558c36b5fbea97690be04 (diff) | |
download | pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.gz pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.bz2 pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.lz pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.xz pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.tar.zst pttbbs-b34fc84582f9bde4cbaadcb836553882f36df4c0.zip |
- prepare for new admin reg procedure
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3930 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/pttstruct.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index e5d886e2..056a837e 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -284,12 +284,16 @@ typedef struct msgque_t { int msgmode; } msgque_t; -#define ALERT_NEW_MAIL 1 +#define ALERT_NEW_MAIL (0x01) #define ISNEWMAIL(utmp) (utmp->alerts & ALERT_NEW_MAIL) -#define ALERT_PWD_PERM 2 -#define ALERT_PWD_BADPOST 4 -#define ALERT_PWD_GOODPOST 8 -#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST|ALERT_PWD_GOODPOST) +#define ALERT_PWD_PERM (0x02) +#define ALERT_PWD_BADPOST (0x04) +#define ALERT_PWD_GOODPOST (0x08) +#define ALERT_PWD_JUSTIFY (0x10) +// #define ALERT_PWD_LOGINS (0x20) +// #define ALERT_PWD_POSTS (0x40) +#define ALERT_PWD_RELOAD (0x80) // reload entire pwd +#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST|ALERT_PWD_GOODPOST|ALERT_PWD_JUSTIFY|ALERT_PWD_RELOAD) /* user data in shm */ /* use GAP to detect and avoid data overflow and overriding */ typedef struct userinfo_t { |