summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-31 04:29:04 +0200
committerHaru <haru@dotalux.com>2016-04-16 03:52:53 +0200
commit1c6b5afe8a2926b2364d85d122c3a56ca526e98e (patch)
tree2ec14013c086193332e15292a85a0f05db896566 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
parentd04db4e48cc76accc559bbb30451b25936289a0d (diff)
downloadhercules-1c6b5afe8a2926b2364d85d122c3a56ca526e98e.tar.gz
hercules-1c6b5afe8a2926b2364d85d122c3a56ca526e98e.tar.bz2
hercules-1c6b5afe8a2926b2364d85d122c3a56ca526e98e.tar.xz
hercules-1c6b5afe8a2926b2364d85d122c3a56ca526e98e.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index 669d405cc..fa7b192c6 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -76371,11 +76371,11 @@ int HP_strlib_strline_(const char *str, size_t pos) {
}
return retVal___;
}
-bool HP_strlib_bin2hex_(char *output, unsigned char *input, size_t count) {
+bool HP_strlib_bin2hex_(char *output, const unsigned char *input, size_t count) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_strlib_bin2hex__pre ) {
- bool (*preHookFunc) (char *output, unsigned char *input, size_t *count);
+ bool (*preHookFunc) (char *output, const unsigned char *input, size_t *count);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_bin2hex__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_bin2hex__pre[hIndex].func;
@@ -76390,7 +76390,7 @@ bool HP_strlib_bin2hex_(char *output, unsigned char *input, size_t count) {
retVal___ = HPMHooks.source.strlib.bin2hex_(output, input, count);
}
if( HPMHooks.count.HP_strlib_bin2hex__post ) {
- bool (*postHookFunc) (bool retVal___, char *output, unsigned char *input, size_t *count);
+ bool (*postHookFunc) (bool retVal___, char *output, const unsigned char *input, size_t *count);
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_bin2hex__post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_strlib_bin2hex__post[hIndex].func;
retVal___ = postHookFunc(retVal___, output, input, &count);