summaryrefslogtreecommitdiff
path: root/src/char/int_homun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_homun.h')
-rw-r--r--src/char/int_homun.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/char/int_homun.h b/src/char/int_homun.h
index 6fa4f9dc7..13debcebc 100644
--- a/src/char/int_homun.h
+++ b/src/char/int_homun.h
@@ -8,13 +8,14 @@
struct s_homunculus;
-int inter_homunculus_sql_init(void);
-void inter_homunculus_sql_final(void);
-int inter_homunculus_parse_frommap(int fd);
+void inter_homunculus_defaults(void);
-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);
+struct inter_homunculus_interface {
+ int (*sql_init) (void);
+ void (*sql_final) (void);
+ int (*parse_frommap) (int fd);
+};
+
+struct inter_homunculus_interface *inter_homunculus;
#endif /* CHAR_INT_HOMUN_H */