diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-05 17:32:59 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-05 17:32:59 +0800 |
commit | 9d3aa427007b823892fff7be25e393443a27133c (patch) | |
tree | 83be0cf6de7c4dc60d199ef45a3974afda91352d /include/pttstruct.h | |
parent | 9cbf93e41956fddeadf60c0d454da12ec8fc2487 (diff) | |
download | pttbbs-9d3aa427007b823892fff7be25e393443a27133c.tar pttbbs-9d3aa427007b823892fff7be25e393443a27133c.tar.gz pttbbs-9d3aa427007b823892fff7be25e393443a27133c.tar.bz2 pttbbs-9d3aa427007b823892fff7be25e393443a27133c.tar.lz pttbbs-9d3aa427007b823892fff7be25e393443a27133c.tar.xz pttbbs-9d3aa427007b823892fff7be25e393443a27133c.tar.zst pttbbs-9d3aa427007b823892fff7be25e393443a27133c.zip |
- multi.money updates,
- experimental money listing mode
- prevent unread black-hole mails
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 7a64de40..8837f814 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -242,6 +242,7 @@ typedef struct fileheader_t { char date[6]; /* [02/02] or space(5) */ char title[TTLEN + 1]; union { + /* TODO: MOVE money to outside multi!!!!!! */ int money; int anon_uid; /* different order to match alignment */ @@ -277,15 +278,15 @@ typedef struct fileheader_t { #define FILE_READ 0x1 /* already read : mail only */ #define FILE_MARKED 0x2 /* opus: 0x8 */ #define FILE_DIGEST 0x4 /* digest */ -#define FILE_HOLD 0x8 /* unused */ #define FILE_BOTTOM 0x8 /* push_bottom */ #define FILE_SOLVED 0x10 /* problem solved, sysop/BM only */ -#define FILE_HIDE 0x20 /* hild */ -#define FILE_BID 0x20 /* for bid */ -#define FILE_BM 0x40 /* BM only */ -#define FILE_MULTI 0x100 /* multi send for mail */ -#define FILE_VOTE 0x40 /* for vote */ +#define FILE_HIDE 0x20 /* hide, in announce */ +#define FILE_BID 0x20 /* bid, in non-announce */ +#define FILE_BM 0x40 /* BM only, in announce */ +#define FILE_VOTE 0x40 /* for vote, in non-announce */ #define FILE_ANONYMOUS 0x80 /* anonymous file */ +/* TODO filemode is unsigned, IS THIS MULTI CORRECT? DANGEROUS!!! */ +#define FILE_MULTI 0x100 /* multi send for mail */ #define STRLEN 80 /* Length of most string data */ |