summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-15 09:52:29 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-15 09:52:29 +0800
commit3e81a09d779f1681374df9eba0ad035c65067e51 (patch)
tree064d3533ea56c3b4a06cb6e792f0991f3795069f /include
parent29da9557a86842cee2ce3958cecb2b5c8721f18b (diff)
downloadpttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.tar
pttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.tar.gz
pttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.tar.bz2
pttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.tar.lz
pttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.tar.xz
pttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.tar.zst
pttbbs-3e81a09d779f1681374df9eba0ad035c65067e51.zip
add support to "mark mail as replied"
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h2
-rw-r--r--include/pttstruct.h5
2 files changed, 4 insertions, 3 deletions
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 */