diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-08 12:01:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 72427289b387df3394eeadf629d3510f60742970 (patch) | |
tree | 4de78908d5713a2a32a3b00c76b8abf6bb38ece8 /src/char/mapif.h | |
parent | f324b507a9c0792abee2d31f6f3607077376619d (diff) | |
download | hercules-72427289b387df3394eeadf629d3510f60742970.tar.gz hercules-72427289b387df3394eeadf629d3510f60742970.tar.bz2 hercules-72427289b387df3394eeadf629d3510f60742970.tar.xz hercules-72427289b387df3394eeadf629d3510f60742970.zip |
Add most functions from int_mail.c to interfaces.
Diffstat (limited to 'src/char/mapif.h')
-rw-r--r-- | src/char/mapif.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/char/mapif.h b/src/char/mapif.h index 4a61db3fd..ec177fcd1 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -9,6 +9,7 @@ struct s_elemental; struct s_homunculus; +struct mail_message; /* mapif interface */ struct mapif_interface { @@ -93,6 +94,19 @@ struct mapif_interface { void (*parse_homunculus_load) (int fd, int account_id, int homun_id); void (*parse_homunculus_save) (int fd, int len, int account_id, struct s_homunculus* phd); void (*parse_homunculus_rename) (int fd, int account_id, int char_id, char* name); + void (*mail_sendinbox) (int fd, int char_id, unsigned char flag, struct mail_data *md); + void (*parse_mail_requestinbox) (int fd); + void (*parse_mail_read) (int fd); + void (*mail_sendattach) (int fd, int char_id, struct mail_message *msg); + void (*mail_getattach) (int fd, int char_id, int mail_id); + void (*parse_mail_getattach) (int fd); + void (*mail_delete) (int fd, int char_id, int mail_id, bool failed); + void (*parse_mail_delete) (int fd); + void (*mail_new) (struct mail_message *msg); + void (*mail_return) (int fd, int char_id, int mail_id, int new_mail); + void (*parse_mail_return) (int fd); + void (*mail_send) (int fd, struct mail_message* msg); + void (*parse_mail_send) (int fd); } mapif_s; struct mapif_interface *mapif; |