diff options
author | Hercules.ws <dev@herc.ws> | 2016-07-10 17:07:54 +0200 |
---|---|---|
committer | HerculesWSAPI <dev@herc.ws> | 2016-07-10 17:07:54 +0200 |
commit | 72bb5184144dad528168c3dcf783284ea2d32870 (patch) | |
tree | 1862c91ec57ce9890692e45708dd9c0f2d2017d6 /src/plugins/HPMHooking/HPMHooking.Defs.inc | |
parent | 0b867049234130075538e77193aa45bc36a73590 (diff) | |
download | hercules-72bb5184144dad528168c3dcf783284ea2d32870.tar.gz hercules-72bb5184144dad528168c3dcf783284ea2d32870.tar.bz2 hercules-72bb5184144dad528168c3dcf783284ea2d32870.tar.xz hercules-72bb5184144dad528168c3dcf783284ea2d32870.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <dev@herc.ws>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Defs.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc index 589642b42..b6a0a28c0 100644 --- a/src/plugins/HPMHooking/HPMHooking.Defs.inc +++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc @@ -5992,6 +5992,8 @@ typedef int (*HPMHOOK_pre_script_string_dup) (char **str); typedef int (*HPMHOOK_post_script_string_dup) (int retVal___, char *str); typedef void (*HPMHOOK_pre_script_load_translations) (void); typedef void (*HPMHOOK_post_script_load_translations) (void); +typedef bool (*HPMHOOK_pre_script_load_translation_addstring) (const char **file, uint8 *lang_id, const char **msgctxt, const struct script_string_buf **msgid, const struct script_string_buf **msgstr); +typedef bool (*HPMHOOK_post_script_load_translation_addstring) (bool retVal___, const char *file, uint8 lang_id, const char *msgctxt, const struct script_string_buf *msgid, const struct script_string_buf *msgstr); typedef int (*HPMHOOK_pre_script_load_translation) (const char **file, uint8 *lang_id); typedef int (*HPMHOOK_post_script_load_translation) (int retVal___, const char *file, uint8 lang_id); typedef int (*HPMHOOK_pre_script_translation_db_destroyer) (union DBKey *key, struct DBData **data, va_list ap); |