From 5a9d6c05dba6aa00590b475f848964cd888c0a93 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 15 Sep 2015 12:39:47 +0200 Subject: Replaced HPM->plugins with a VECTOR Signed-off-by: Haru --- src/common/HPM.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/HPM.h') diff --git a/src/common/HPM.h b/src/common/HPM.h index c13132cfc..5579dc2b1 100644 --- a/src/common/HPM.h +++ b/src/common/HPM.h @@ -9,6 +9,7 @@ #endif #include "common/hercules.h" +#include "common/db.h" #include "common/HPMi.h" #ifdef WIN32 @@ -102,8 +103,7 @@ struct HPM_interface { /* hooking */ bool force_return; /* data */ - struct hplugin **plugins; - unsigned int plugin_count; + VECTOR_DECL(struct hplugin *) plugins; struct hpm_symbol **symbols; unsigned int symbol_count; /* packet hooking points */ -- cgit v1.2.3-70-g09d2