summaryrefslogtreecommitdiff
path: root/src/char/int_mercenary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_mercenary.h')
-rw-r--r--src/char/int_mercenary.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/char/int_mercenary.h b/src/char/int_mercenary.h
new file mode 100644
index 000000000..01e4a841f
--- /dev/null
+++ b/src/char/int_mercenary.h
@@ -0,0 +1,20 @@
+// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
+// For more information, see LICENCE in the main folder
+
+#ifndef _INT_MERCENARY_SQL_H_
+#define _INT_MERCENARY_SQL_H_
+
+struct s_mercenary;
+
+int inter_mercenary_sql_init(void);
+void inter_mercenary_sql_final(void);
+int inter_mercenary_parse_frommap(int fd);
+
+// Mercenary Owner Database
+bool mercenary_owner_fromsql(int char_id, struct mmo_charstatus *status);
+bool mercenary_owner_tosql(int char_id, struct mmo_charstatus *status);
+bool mercenary_owner_delete(int char_id);
+
+bool mapif_mercenary_delete(int merc_id);
+
+#endif /* _INT_MERCENARY_SQL_H_ */