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