Revision 1, 0.7 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 _INT_STORAGE_H_ |
---|
| 5 | #define _INT_STORAGE_H_ |
---|
| 6 | |
---|
| 7 | struct storage; |
---|
| 8 | struct guild_storage; |
---|
| 9 | |
---|
| 10 | int inter_storage_init(void); |
---|
| 11 | void inter_storage_final(void); |
---|
| 12 | int inter_storage_save(void); |
---|
| 13 | int inter_guild_storage_save(void); |
---|
| 14 | int inter_storage_delete(int account_id); |
---|
| 15 | int inter_guild_storage_delete(int guild_id); |
---|
| 16 | int inter_storage_parse_frommap(int fd); |
---|
| 17 | |
---|
| 18 | extern char storage_txt[1024]; |
---|
| 19 | extern char guild_storage_txt[1024]; |
---|
| 20 | |
---|
| 21 | //Exported for use in the TXT-SQL converter. |
---|
| 22 | int storage_fromstr(char *str,struct storage *p); |
---|
| 23 | int guild_storage_fromstr(char *str,struct guild_storage *p); |
---|
| 24 | |
---|
| 25 | #endif /* _INT_STORAGE_H_ */ |
---|