summaryrefslogtreecommitdiff
path: root/src/char_sql/int_homun.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-19 20:26:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-19 20:26:02 +0000
commitf5a887e525a764f1cc9817311b6eabf168e04701 (patch)
treeed24df733921ae5e22aa4a730e95b4c8585ea5c7 /src/char_sql/int_homun.h
parent1e6705cfd482e09eecb66090166f9e4a51ac4ea9 (diff)
downloadhercules-f5a887e525a764f1cc9817311b6eabf168e04701.tar.gz
hercules-f5a887e525a764f1cc9817311b6eabf168e04701.tar.bz2
hercules-f5a887e525a764f1cc9817311b6eabf168e04701.tar.xz
hercules-f5a887e525a764f1cc9817311b6eabf168e04701.zip
Basic cleanup of the SQL charserver homunculus code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12863 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_homun.h')
-rw-r--r--src/char_sql/int_homun.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/char_sql/int_homun.h b/src/char_sql/int_homun.h
index d990b2219..1c0d76269 100644
--- a/src/char_sql/int_homun.h
+++ b/src/char_sql/int_homun.h
@@ -8,10 +8,11 @@ struct s_homunculus;
int inter_homunculus_sql_init(void);
void inter_homunculus_sql_final(void);
-int mapif_save_homunculus(struct s_homunculus *hd);
-int mapif_load_homunculus(int fd);
-int mapif_delete_homunculus(int fd);
-int inter_delete_homunculus(int hom_id);
int inter_homunculus_parse_frommap(int fd);
+bool mapif_homunculus_save(struct s_homunculus* hd);
+bool mapif_homunculus_load(int homun_id, struct s_homunculus* hd);
+bool mapif_homunculus_delete(int homun_id);
+bool mapif_homunculus_rename(char *name);
+
#endif /* _INT_HOMUN_SQL_H_ */