summaryrefslogtreecommitdiff
path: root/src/common/HPM.h
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-01-25 11:35:19 +0200
committerhemagx <hemagx2@gmail.com>2016-01-25 11:36:01 +0200
commitb77735473db348a65b749a79549852713f142dc1 (patch)
tree892b56949ae77e66f9d83109e4c1118485f1410d /src/common/HPM.h
parent0ed2d09e9aa88af01698707fd701363bdbd92b4b (diff)
downloadhercules-b77735473db348a65b749a79549852713f142dc1.tar.gz
hercules-b77735473db348a65b749a79549852713f142dc1.tar.bz2
hercules-b77735473db348a65b749a79549852713f142dc1.tar.xz
hercules-b77735473db348a65b749a79549852713f142dc1.zip
Fix packet id being sent encrypted to Hercules Plugin Manager.
Now packet id will be passed to Hercules Plugin Manager instead of let it figure it on itself
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r--src/common/HPM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/HPM.h b/src/common/HPM.h
index 215161a86..109549aad 100644
--- a/src/common/HPM.h
+++ b/src/common/HPM.h
@@ -157,7 +157,7 @@ struct HPM_interface {
void (*share) (void *value, const char *name);
void (*config_read) (void);
char *(*pid2name) (unsigned int pid);
- unsigned char (*parse_packets) (int fd, enum HPluginPacketHookingPoints point);
+ unsigned char (*parse_packets) (int fd, int packet_id, enum HPluginPacketHookingPoints point);
void (*load_sub) (struct hplugin *plugin);
bool (*addhook_sub) (enum HPluginHookType type, const char *target, void *hook, unsigned int pID);
/* for custom config parsing */