diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pttstruct.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 9042cfca..d7cb7500 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -172,6 +172,7 @@ typedef struct boardheader_t { char pad3[47]; } boardheader_t; +// TODO BRD 快爆了,怎麼辦? 準備從 pad3 偷一個來當 attr2 吧... #define BRD_NOZAP 0x00000001 /* 不可zap */ #define BRD_NOCOUNT 0x00000002 /* 不列入統計 */ #define BRD_NOTRAN 0x00000004 /* 不轉信 */ @@ -311,7 +312,8 @@ typedef struct msgque_t { #define ISNEWMAIL(utmp) utmp->alerts & ALERT_NEW_MAIL #define ALERT_PWD_PERM 2 #define ALERT_PWD_BADPOST 4 -#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST) +#define ALERT_PWD_GOODPOST 8 +#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST|ALERT_PWD_GOODPOST) /* user data in shm */ /* use GAP to detect and avoid data overflow and overriding */ typedef struct userinfo_t { @@ -670,18 +672,4 @@ typedef struct { } ocfs_t; #endif -// kcwu: for bug tracking -/* not used right now */ -enum { - F_VER, - F_EDIT, - F_MORE, - F_WRITE_REQUEST, - F_TALK_REQUEST, - F_WATER, - F_USERLIST, - F_GEM, -}; - - #endif |