diff options
author | Haru <haru@dotalux.com> | 2014-10-28 15:52:53 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-28 16:00:06 +0100 |
commit | d18235cae43500d68210b09514b76506fc831014 (patch) | |
tree | 8effe205a1d028d97b996f444cc79e348ec6a059 /src/common/HPM.h | |
parent | 534921cf6e8c2ca683ca7c940306c373cfb0ad2b (diff) | |
download | hercules-d18235cae43500d68210b09514b76506fc831014.tar.gz hercules-d18235cae43500d68210b09514b76506fc831014.tar.bz2 hercules-d18235cae43500d68210b09514b76506fc831014.tar.xz hercules-d18235cae43500d68210b09514b76506fc831014.zip |
Added preliminary support for login and char server in the HPMDataCheck
- Special thanks to Ind
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r-- | src/common/HPM.h | 4 |
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; |