int_mail.hpp 703 B

123456789101112131415161718192021222324
  1. // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
  2. // For more information, see LICENCE in the main folder
  3. #ifndef INT_MAIL_HPP
  4. #define INT_MAIL_HPP
  5. #include <common/cbasetypes.hpp>
  6. #include <common/timer.hpp>
  7. struct mail_message;
  8. TIMER_FUNC(mail_return_timer);
  9. TIMER_FUNC(mail_delete_timer);
  10. int inter_mail_parse_frommap(int fd);
  11. 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);
  12. int inter_mail_sql_init(void);
  13. void inter_mail_sql_final(void);
  14. int mail_savemessage(struct mail_message* msg);
  15. void mapif_Mail_new(struct mail_message *msg);
  16. #endif /* INT_MAIL_HPP */