summaryrefslogtreecommitdiff
path: root/src/common/HPM.h
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-10-31 01:18:40 +0100
committerHaruna <haru@dotalux.com>2014-10-31 01:18:40 +0100
commit1d0452110f4b02f6d771c61d5c3a944f82b155f3 (patch)
treeb36963aeb2f4924e49b5f4e80c270bf4275fb4c4 /src/common/HPM.h
parent72e18cdf9b612c476dd9ab2d45394c5e882e7dd1 (diff)
parent60becfc70e65ba7920079f990bfaa11851369f0c (diff)
downloadhercules-1d0452110f4b02f6d771c61d5c3a944f82b155f3.tar.gz
hercules-1d0452110f4b02f6d771c61d5c3a944f82b155f3.tar.bz2
hercules-1d0452110f4b02f6d771c61d5c3a944f82b155f3.tar.xz
hercules-1d0452110f4b02f6d771c61d5c3a944f82b155f3.zip
Merge pull request #378 from HerculesWS/hpmupdates
Char and login server preliminary support for the HPM system
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r--src/common/HPM.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/HPM.h b/src/common/HPM.h
index fe8d45066..a4ea504e6 100644
--- a/src/common/HPM.h
+++ b/src/common/HPM.h
@@ -151,7 +151,9 @@ struct HPM_interface {
/* for custom config parsing */
bool (*parseConf) (const char *w1, const char *w2, enum HPluginConfType point);
/* validates plugin data */
- bool (*DataCheck) (struct s_HPMDataCheck *src, unsigned int size, char *name);
+ bool (*DataCheck) (struct s_HPMDataCheck *src, unsigned int size, int version, char *name);
+ void (*datacheck_init) (const struct s_HPMDataCheck *src, unsigned int length, int version);
+ void (*datacheck_final) (void);
} HPM_s;
struct HPM_interface *HPM;