summaryrefslogtreecommitdiff
path: root/src/plugins
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
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')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_char.Hooks.inc6
-rw-r--r--src/plugins/HPMHooking/HPMHooking_login.Hooks.inc6
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
index 8a0e334a7..04dc90c6c 100644
--- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc
@@ -17747,11 +17747,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;
@@ -17766,7 +17766,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);
diff --git a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
index 44f08fe22..bd33f0d42 100644
--- a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
@@ -7019,11 +7019,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;
@@ -7038,7 +7038,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);
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);