summaryrefslogtreecommitdiff
path: root/src/common/HPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r--src/common/HPM.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/HPM.h b/src/common/HPM.h
index fe8d45066..4e1aa5beb 100644
--- a/src/common/HPM.h
+++ b/src/common/HPM.h
@@ -151,8 +151,10 @@ 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);
-} HPM_s;
+ 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);
+};
struct HPM_interface *HPM;