summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking.Defs.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-13 20:21:07 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:36 +0200
commit591e877c7f30d4c9d34b996f245b0ad0ee81c46d (patch)
treeffd193d76143bb95500fe707d0c7e019e833b473 /src/plugins/HPMHooking/HPMHooking.Defs.inc
parentb1ad3f26233d8a2e79d88802eb75ba39be88af95 (diff)
downloadhercules-591e877c7f30d4c9d34b996f245b0ad0ee81c46d.tar.gz
hercules-591e877c7f30d4c9d34b996f245b0ad0ee81c46d.tar.bz2
hercules-591e877c7f30d4c9d34b996f245b0ad0ee81c46d.tar.xz
hercules-591e877c7f30d4c9d34b996f245b0ad0ee81c46d.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Defs.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc
index 3ee1f1b3d..6e8c74174 100644
--- a/src/plugins/HPMHooking/HPMHooking.Defs.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc
@@ -4433,6 +4433,14 @@ typedef void (*HPMHOOK_post_mapreg_reload) (void);
typedef bool (*HPMHOOK_pre_mapreg_config_read) (const char **w1, const char **w2);
typedef bool (*HPMHOOK_post_mapreg_config_read) (bool retVal___, const char *w1, const char *w2);
#endif // MAP_MAPREG_H
+#ifdef COMMON_MD5CALC_H /* md5 */
+typedef void (*HPMHOOK_pre_md5_string) (const char **string, char **output);
+typedef void (*HPMHOOK_post_md5_string) (const char *string, char *output);
+typedef void (*HPMHOOK_pre_md5_binary) (const char **string, unsigned char **output);
+typedef void (*HPMHOOK_post_md5_binary) (const char *string, unsigned char *output);
+typedef void (*HPMHOOK_pre_md5_salt) (int *len, char **output);
+typedef void (*HPMHOOK_post_md5_salt) (int len, char *output);
+#endif // COMMON_MD5CALC_H
#ifdef MAP_MERCENARY_H /* mercenary */
typedef void (*HPMHOOK_pre_mercenary_init) (bool *minimal);
typedef void (*HPMHOOK_post_mercenary_init) (bool minimal);