OSDN Git Service

First version
[st-ro/stro.git] / src / char / int_mail.h
1 // Copyright (c) Athena Dev Teams - Licensed under GNU GPL
2 // For more information, see LICENCE in the main folder
3
4 #ifndef _INT_MAIL_SQL_H_
5 #define _INT_MAIL_SQL_H_
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 int mail_return_timer( int tid, unsigned int tick, int id, intptr_t data );
12 int mail_delete_timer( int tid, unsigned int tick, int id, intptr_t data );
13
14 int inter_mail_parse_frommap(int fd);
15 bool mail_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, int amount);
16
17 int inter_mail_sql_init(void);
18 void inter_mail_sql_final(void);
19
20 int mail_savemessage(struct mail_message* msg);
21 void mapif_Mail_new(struct mail_message *msg);
22
23 #ifdef __cplusplus
24 }
25 #endif
26
27 #endif /* _INT_MAIL_SQL_H_ */