summaryrefslogtreecommitdiff
path: root/src/emap/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
commit1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch)
tree9434c90ab44ac55200daa199f524fa11f3168678 /src/emap/itemdb.h
parent00d1b8bf9fc3648730904b6f86696417f4445037 (diff)
downloadplugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/emap/itemdb.h')
-rw-r--r--src/emap/itemdb.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/emap/itemdb.h b/src/emap/itemdb.h
index 3b1c651..02fbb45 100644
--- a/src/emap/itemdb.h
+++ b/src/emap/itemdb.h
@@ -4,8 +4,12 @@
#ifndef EVOL_MAP_ITEMDB
#define EVOL_MAP_ITEMDB
-bool eitemdb_is_item_usable(struct item_data *item);
-void eitemdb_readdb_additional_fields(int *itemid, struct config_setting_t *it, int *n, const char *source);
-void edestroy_item_data(struct item_data* self, int *free_selfPtr);
+bool eitemdb_is_item_usable_pre(struct item_data **itemPtr);
+void eitemdb_readdb_additional_fields_pre(int *itemid,
+ struct config_setting_t **itPtr,
+ int *n,
+ const char **sourcePtr);
+void edestroy_item_data_pre(struct item_data **selfPtr,
+ int *free_selfPtr);
#endif // EVOL_MAP_ITEMDB