Revision 1, 0.6 kB
(checked in by jinshiro, 17 years ago)
|
|
Line | |
---|
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_SQL_H_ |
---|
5 | #define _INT_STORAGE_SQL_H_ |
---|
6 | |
---|
7 | struct storage; |
---|
8 | struct guild_storage; |
---|
9 | |
---|
10 | int inter_storage_sql_init(void); |
---|
11 | void inter_storage_sql_final(void); |
---|
12 | int inter_storage_delete(int account_id); |
---|
13 | int inter_guild_storage_delete(int guild_id); |
---|
14 | |
---|
15 | int inter_storage_parse_frommap(int fd); |
---|
16 | |
---|
17 | //Exported for use in the TXT-SQL converter. |
---|
18 | int storage_tosql(int account_id,struct storage *p); |
---|
19 | int guild_storage_tosql(int guild_id, struct guild_storage *p); |
---|
20 | |
---|
21 | #endif /* _INT_STORAGE_SQL_H_ */ |
---|