inter.h 766 B

123456789101112131415161718192021222324252627282930
  1. // Copyright (c) Athena Dev Teams - Licensed under GNU GPL
  2. // For more information, see LICENCE in the main folder
  3. #ifndef _INTER_H_
  4. #define _INTER_H_
  5. struct accreg;
  6. int inter_init_txt(const char *file);
  7. void inter_final(void);
  8. int inter_save(void);
  9. int inter_parse_frommap(int fd);
  10. int inter_mapif_init(int fd);
  11. int mapif_disconnectplayer(int fd, int account_id, int char_id, int reason);
  12. int inter_check_length(int fd,int length);
  13. int inter_log(char *fmt,...);
  14. #define inter_cfgName "conf/inter_athena.conf"
  15. extern unsigned int party_share_level;
  16. extern char inter_log_filename[1024];
  17. extern char main_chat_nick[16];
  18. //For TXT->SQL conversion
  19. extern char accreg_txt[];
  20. int inter_accreg_fromstr(const char *str, struct accreg *reg);
  21. #endif /* _INTER_H_ */