summaryrefslogtreecommitdiff
path: root/src/char/int_mail.h
blob: 490422c50db94440ec8906bb228ac69231b82aa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef CHAR_INT_MAIL_H
#define CHAR_INT_MAIL_H

struct item;
struct mail_message;

int inter_mail_parse_frommap(int fd);
void inter_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 inter_mail_sql_init(void);
void inter_mail_sql_final(void);

int inter_mail_savemessage(struct mail_message* msg);
void mapif_Mail_new(struct mail_message *msg);

#endif /* CHAR_INT_MAIL_H */