summaryrefslogtreecommitdiff
path: root/src/char/int_mail.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-24 20:53:47 +0200
committerHaru <haru@dotalux.com>2018-06-30 01:51:10 +0200
commitebfed84acca20677b0b44391c4dca345e92f5829 (patch)
treef334fbd90bf41f0f7f39f0687053157c6d7090d0 /src/char/int_mail.h
parent882b22d8dfaaabd8781bdad139aaa2e6777eea52 (diff)
downloadhercules-ebfed84acca20677b0b44391c4dca345e92f5829.tar.gz
hercules-ebfed84acca20677b0b44391c4dca345e92f5829.tar.bz2
hercules-ebfed84acca20677b0b44391c4dca345e92f5829.tar.xz
hercules-ebfed84acca20677b0b44391c4dca345e92f5829.zip
Move some non-mapif functionality from the mapif interface to the inter_mail interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_mail.h')
-rw-r--r--src/char/int_mail.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/char/int_mail.h b/src/char/int_mail.h
index 9ca5fdad6..95934d0a1 100644
--- a/src/char/int_mail.h
+++ b/src/char/int_mail.h
@@ -39,6 +39,11 @@ struct inter_mail_interface {
bool (*loadmessage) (int mail_id, struct mail_message* msg);
bool (*DeleteAttach) (int mail_id);
void (*sendmail) (int send_id, const char* send_name, int dest_id, const char* dest_name, const char* title, const char* body, int zeny, struct item *item);
+ bool (*mark_read) (int mail_id);
+ bool (*get_attachment) (int char_id, int mail_id, struct mail_message *msg);
+ bool (*delete) (int char_id, int mail_id);
+ bool (*return_message) (int char_id, int mail_id, int *new_mail);
+ bool (*send) (int account_id, struct mail_message *msg);
};
#ifdef HERCULES_CORE