summaryrefslogtreecommitdiff
path: root/src/map/mail.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-27 06:34:04 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-27 06:34:04 +0000
commit4ecca0e292aafef33fe168d59c1a4e013cc0cda6 (patch)
tree2650049dac1a64dc378a304c0f203380cfdd0cc8 /src/map/mail.h
parent70d0ca7c1690136a8407bbe78dc4b9686a96c539 (diff)
downloadhercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.tar.gz
hercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.tar.bz2
hercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.tar.xz
hercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.zip
- Improvements to the mail system.
- Added a sql patch, renaming "read_flag" column to "status" on the mail db. - Need more testing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11583 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mail.h')
-rw-r--r--src/map/mail.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/mail.h b/src/map/mail.h
index 1f05edfce..1228f5772 100644
--- a/src/map/mail.h
+++ b/src/map/mail.h
@@ -10,8 +10,9 @@ time_t mail_calctimes(void);
int mail_removeitem(struct map_session_data *sd, short flag);
int mail_removezeny(struct map_session_data *sd, short flag);
-char mail_setitem(struct map_session_data *sd, int idx, int amount);
-int mail_getattach(struct map_session_data *sd, struct mail_message *msg);
+unsigned char mail_setitem(struct map_session_data *sd, int idx, int amount);
+bool mail_getattach(struct map_session_data *sd, struct mail_message *msg);
+bool mail_checkattach(struct map_session_data *sd);
int mail_openmail(struct map_session_data *sd);
#endif /* _MAIL_H_ */