From 3e81a09d779f1681374df9eba0ad035c65067e51 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 15 Sep 2005 01:52:29 +0000 Subject: add support to "mark mail as replied" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 2 +- include/pttstruct.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/proto.h b/include/proto.h index b34cfab1..ce0c49f7 100644 --- a/include/proto.h +++ b/include/proto.h @@ -345,7 +345,7 @@ int mail_muser(const userec_t muser, const char *title, const char *filename); int mail_id(const char* id, const char *title, const char *filename, const char *owner); int m_read(void); int doforward(const char *direct, const fileheader_t *fh, int mode); -int mail_reply(int ent, const fileheader_t *fhdr, const char *direct); +int mail_reply(int ent, fileheader_t *fhdr, const char *direct); int bsmtp(const char *fpath, const char *title, const char *rcpt, int method); void hold_mail(const char *fpath, const char *receiver); void m_init(void); diff --git a/include/pttstruct.h b/include/pttstruct.h index 7a699bc5..52b7881a 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -266,11 +266,12 @@ typedef struct fileheader_t { #define FILE_LOCAL 0x1 /* local saved, non-mail */ #define FILE_READ 0x1 /* already read, mail only */ -#define FILE_MARKED 0x2 /* opus: 0x8 <- what? */ +#define FILE_MARKED 0x2 /* non-mail + mail */ #define FILE_DIGEST 0x4 /* digest, non-mail */ +#define FILE_REPLIED 0x4 /* replied, mail only */ #define FILE_BOTTOM 0x8 /* push_bottom, non-mail */ #define FILE_MULTI 0x8 /* multi send, mail only */ -#define FILE_SOLVED 0x10 /* problem solved, sysop/BM only */ +#define FILE_SOLVED 0x10 /* problem solved, sysop/BM non-mail only */ #define FILE_HIDE 0x20 /* hide, in announce */ #define FILE_BID 0x20 /* bid, in non-announce */ #define FILE_BM 0x40 /* BM only, in announce */ -- cgit v1.2.3