summaryrefslogtreecommitdiff
path: root/src/common/HPM.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-09-15 12:39:47 +0200
committerHaru <haru@dotalux.com>2015-10-11 00:24:19 +0200
commit5a9d6c05dba6aa00590b475f848964cd888c0a93 (patch)
treee433581f0a4de7c07ae0ff4ba48d382466a35d83 /src/common/HPM.h
parent5c22b636b315776ea3cd5d279344aac7f5a47548 (diff)
downloadhercules-5a9d6c05dba6aa00590b475f848964cd888c0a93.tar.gz
hercules-5a9d6c05dba6aa00590b475f848964cd888c0a93.tar.bz2
hercules-5a9d6c05dba6aa00590b475f848964cd888c0a93.tar.xz
hercules-5a9d6c05dba6aa00590b475f848964cd888c0a93.zip
Replaced HPM->plugins with a VECTOR
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r--src/common/HPM.h4
1 files changed, 2 insertions, 2 deletions
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 */