diff options
author | Haru <haru@dotalux.com> | 2016-02-16 15:06:31 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-17 10:40:43 +0100 |
commit | 28588859a64fb03335ca5e4083fb6ad95d88db6e (patch) | |
tree | 1beb056517361bab587c27963a3e4e09fc0559af | |
parent | 5b673efa121320d1575e126243fa2c7ec460952d (diff) | |
download | hercules-28588859a64fb03335ca5e4083fb6ad95d88db6e.tar.gz hercules-28588859a64fb03335ca5e4083fb6ad95d88db6e.tar.bz2 hercules-28588859a64fb03335ca5e4083fb6ad95d88db6e.tar.xz hercules-28588859a64fb03335ca5e4083fb6ad95d88db6e.zip |
HPM Hooks Update
9 files changed, 39 insertions, 39 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc index 147ce5734..849354fa1 100644 --- a/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc +++ b/src/plugins/HPMHooking/HPMHooking_char.HPMHooksCore.inc @@ -712,8 +712,8 @@ struct { struct HPMHookPoint *HP_libconfig_lookup_bool_post; struct HPMHookPoint *HP_libconfig_lookup_string_pre; struct HPMHookPoint *HP_libconfig_lookup_string_post; - struct HPMHookPoint *HP_libconfig_read_file_pre; - struct HPMHookPoint *HP_libconfig_read_file_post; + struct HPMHookPoint *HP_libconfig_load_file_pre; + struct HPMHookPoint *HP_libconfig_load_file_post; struct HPMHookPoint *HP_libconfig_setting_copy_simple_pre; struct HPMHookPoint *HP_libconfig_setting_copy_simple_post; struct HPMHookPoint *HP_libconfig_setting_copy_elem_pre; @@ -2111,8 +2111,8 @@ struct { int HP_libconfig_lookup_bool_post; int HP_libconfig_lookup_string_pre; int HP_libconfig_lookup_string_post; - int HP_libconfig_read_file_pre; - int HP_libconfig_read_file_post; + int HP_libconfig_load_file_pre; + int HP_libconfig_load_file_post; int HP_libconfig_setting_copy_simple_pre; int HP_libconfig_setting_copy_simple_post; int HP_libconfig_setting_copy_elem_pre; diff --git a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc index d37a8afb5..7f359a9b4 100644 --- a/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc +++ b/src/plugins/HPMHooking/HPMHooking_char.HookingPoints.inc @@ -386,7 +386,7 @@ struct HookingPointData HookingPoints[] = { { HP_POP(libconfig->lookup_float, HP_libconfig_lookup_float) }, { HP_POP(libconfig->lookup_bool, HP_libconfig_lookup_bool) }, { HP_POP(libconfig->lookup_string, HP_libconfig_lookup_string) }, - { HP_POP(libconfig->read_file, HP_libconfig_read_file) }, + { HP_POP(libconfig->load_file, HP_libconfig_load_file) }, { HP_POP(libconfig->setting_copy_simple, HP_libconfig_setting_copy_simple) }, { HP_POP(libconfig->setting_copy_elem, HP_libconfig_setting_copy_elem) }, { HP_POP(libconfig->setting_copy_aggregate, HP_libconfig_setting_copy_aggregate) }, diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc index f4632e5eb..debaa3c52 100644 --- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc @@ -9248,14 +9248,14 @@ int HP_libconfig_lookup_string(const config_t *config, const char *filepath, con } return retVal___; } -int HP_libconfig_read_file(config_t *config, const char *config_filename) { +int HP_libconfig_load_file(config_t *config, const char *config_filename) { int hIndex = 0; int retVal___ = 0; - if( HPMHooks.count.HP_libconfig_read_file_pre ) { + if( HPMHooks.count.HP_libconfig_load_file_pre ) { int (*preHookFunc) (config_t *config, const char *config_filename); *HPMforce_return = false; - for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_pre; hIndex++ ) { - preHookFunc = HPMHooks.list.HP_libconfig_read_file_pre[hIndex].func; + for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_pre; hIndex++ ) { + preHookFunc = HPMHooks.list.HP_libconfig_load_file_pre[hIndex].func; retVal___ = preHookFunc(config, config_filename); } if( *HPMforce_return ) { @@ -9264,12 +9264,12 @@ int HP_libconfig_read_file(config_t *config, const char *config_filename) { } } { - retVal___ = HPMHooks.source.libconfig.read_file(config, config_filename); + retVal___ = HPMHooks.source.libconfig.load_file(config, config_filename); } - if( HPMHooks.count.HP_libconfig_read_file_post ) { + if( HPMHooks.count.HP_libconfig_load_file_post ) { int (*postHookFunc) (int retVal___, config_t *config, const char *config_filename); - for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_post; hIndex++ ) { - postHookFunc = HPMHooks.list.HP_libconfig_read_file_post[hIndex].func; + for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_post; hIndex++ ) { + postHookFunc = HPMHooks.list.HP_libconfig_load_file_post[hIndex].func; retVal___ = postHookFunc(retVal___, config, config_filename); } } diff --git a/src/plugins/HPMHooking/HPMHooking_login.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_login.HPMHooksCore.inc index 46be1c6d8..c8d9d7e0d 100644 --- a/src/plugins/HPMHooking/HPMHooking_login.HPMHooksCore.inc +++ b/src/plugins/HPMHooking/HPMHooking_login.HPMHooksCore.inc @@ -196,8 +196,8 @@ struct { struct HPMHookPoint *HP_libconfig_lookup_bool_post; struct HPMHookPoint *HP_libconfig_lookup_string_pre; struct HPMHookPoint *HP_libconfig_lookup_string_post; - struct HPMHookPoint *HP_libconfig_read_file_pre; - struct HPMHookPoint *HP_libconfig_read_file_post; + struct HPMHookPoint *HP_libconfig_load_file_pre; + struct HPMHookPoint *HP_libconfig_load_file_post; struct HPMHookPoint *HP_libconfig_setting_copy_simple_pre; struct HPMHookPoint *HP_libconfig_setting_copy_simple_post; struct HPMHookPoint *HP_libconfig_setting_copy_elem_pre; @@ -795,8 +795,8 @@ struct { int HP_libconfig_lookup_bool_post; int HP_libconfig_lookup_string_pre; int HP_libconfig_lookup_string_post; - int HP_libconfig_read_file_pre; - int HP_libconfig_read_file_post; + int HP_libconfig_load_file_pre; + int HP_libconfig_load_file_post; int HP_libconfig_setting_copy_simple_pre; int HP_libconfig_setting_copy_simple_post; int HP_libconfig_setting_copy_elem_pre; diff --git a/src/plugins/HPMHooking/HPMHooking_login.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_login.HookingPoints.inc index f10d4f1fe..7a02e799c 100644 --- a/src/plugins/HPMHooking/HPMHooking_login.HookingPoints.inc +++ b/src/plugins/HPMHooking/HPMHooking_login.HookingPoints.inc @@ -115,7 +115,7 @@ struct HookingPointData HookingPoints[] = { { HP_POP(libconfig->lookup_float, HP_libconfig_lookup_float) }, { HP_POP(libconfig->lookup_bool, HP_libconfig_lookup_bool) }, { HP_POP(libconfig->lookup_string, HP_libconfig_lookup_string) }, - { HP_POP(libconfig->read_file, HP_libconfig_read_file) }, + { HP_POP(libconfig->load_file, HP_libconfig_load_file) }, { HP_POP(libconfig->setting_copy_simple, HP_libconfig_setting_copy_simple) }, { HP_POP(libconfig->setting_copy_elem, HP_libconfig_setting_copy_elem) }, { HP_POP(libconfig->setting_copy_aggregate, HP_libconfig_setting_copy_aggregate) }, diff --git a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc index 79da7f941..bf56c351c 100644 --- a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc @@ -2342,14 +2342,14 @@ int HP_libconfig_lookup_string(const config_t *config, const char *filepath, con } return retVal___; } -int HP_libconfig_read_file(config_t *config, const char *config_filename) { +int HP_libconfig_load_file(config_t *config, const char *config_filename) { int hIndex = 0; int retVal___ = 0; - if( HPMHooks.count.HP_libconfig_read_file_pre ) { + if( HPMHooks.count.HP_libconfig_load_file_pre ) { int (*preHookFunc) (config_t *config, const char *config_filename); *HPMforce_return = false; - for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_pre; hIndex++ ) { - preHookFunc = HPMHooks.list.HP_libconfig_read_file_pre[hIndex].func; + for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_pre; hIndex++ ) { + preHookFunc = HPMHooks.list.HP_libconfig_load_file_pre[hIndex].func; retVal___ = preHookFunc(config, config_filename); } if( *HPMforce_return ) { @@ -2358,12 +2358,12 @@ int HP_libconfig_read_file(config_t *config, const char *config_filename) { } } { - retVal___ = HPMHooks.source.libconfig.read_file(config, config_filename); + retVal___ = HPMHooks.source.libconfig.load_file(config, config_filename); } - if( HPMHooks.count.HP_libconfig_read_file_post ) { + if( HPMHooks.count.HP_libconfig_load_file_post ) { int (*postHookFunc) (int retVal___, config_t *config, const char *config_filename); - for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_post; hIndex++ ) { - postHookFunc = HPMHooks.list.HP_libconfig_read_file_post[hIndex].func; + for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_post; hIndex++ ) { + postHookFunc = HPMHooks.list.HP_libconfig_load_file_post[hIndex].func; retVal___ = postHookFunc(retVal___, config, config_filename); } } diff --git a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc index 567092d4a..d3210cbe7 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc @@ -2844,8 +2844,8 @@ struct { struct HPMHookPoint *HP_libconfig_lookup_bool_post; struct HPMHookPoint *HP_libconfig_lookup_string_pre; struct HPMHookPoint *HP_libconfig_lookup_string_post; - struct HPMHookPoint *HP_libconfig_read_file_pre; - struct HPMHookPoint *HP_libconfig_read_file_post; + struct HPMHookPoint *HP_libconfig_load_file_pre; + struct HPMHookPoint *HP_libconfig_load_file_post; struct HPMHookPoint *HP_libconfig_setting_copy_simple_pre; struct HPMHookPoint *HP_libconfig_setting_copy_simple_post; struct HPMHookPoint *HP_libconfig_setting_copy_elem_pre; @@ -8715,8 +8715,8 @@ struct { int HP_libconfig_lookup_bool_post; int HP_libconfig_lookup_string_pre; int HP_libconfig_lookup_string_post; - int HP_libconfig_read_file_pre; - int HP_libconfig_read_file_post; + int HP_libconfig_load_file_pre; + int HP_libconfig_load_file_post; int HP_libconfig_setting_copy_simple_pre; int HP_libconfig_setting_copy_simple_post; int HP_libconfig_setting_copy_elem_pre; diff --git a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc index 54c7dfd45..4ccb217a1 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc @@ -1456,7 +1456,7 @@ struct HookingPointData HookingPoints[] = { { HP_POP(libconfig->lookup_float, HP_libconfig_lookup_float) }, { HP_POP(libconfig->lookup_bool, HP_libconfig_lookup_bool) }, { HP_POP(libconfig->lookup_string, HP_libconfig_lookup_string) }, - { HP_POP(libconfig->read_file, HP_libconfig_read_file) }, + { HP_POP(libconfig->load_file, HP_libconfig_load_file) }, { HP_POP(libconfig->setting_copy_simple, HP_libconfig_setting_copy_simple) }, { HP_POP(libconfig->setting_copy_elem, HP_libconfig_setting_copy_elem) }, { HP_POP(libconfig->setting_copy_aggregate, HP_libconfig_setting_copy_aggregate) }, diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 6dfd0627d..20ba1cfa0 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -37478,14 +37478,14 @@ int HP_libconfig_lookup_string(const config_t *config, const char *filepath, con } return retVal___; } -int HP_libconfig_read_file(config_t *config, const char *config_filename) { +int HP_libconfig_load_file(config_t *config, const char *config_filename) { int hIndex = 0; int retVal___ = 0; - if( HPMHooks.count.HP_libconfig_read_file_pre ) { + if( HPMHooks.count.HP_libconfig_load_file_pre ) { int (*preHookFunc) (config_t *config, const char *config_filename); *HPMforce_return = false; - for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_pre; hIndex++ ) { - preHookFunc = HPMHooks.list.HP_libconfig_read_file_pre[hIndex].func; + for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_pre; hIndex++ ) { + preHookFunc = HPMHooks.list.HP_libconfig_load_file_pre[hIndex].func; retVal___ = preHookFunc(config, config_filename); } if( *HPMforce_return ) { @@ -37494,12 +37494,12 @@ int HP_libconfig_read_file(config_t *config, const char *config_filename) { } } { - retVal___ = HPMHooks.source.libconfig.read_file(config, config_filename); + retVal___ = HPMHooks.source.libconfig.load_file(config, config_filename); } - if( HPMHooks.count.HP_libconfig_read_file_post ) { + if( HPMHooks.count.HP_libconfig_load_file_post ) { int (*postHookFunc) (int retVal___, config_t *config, const char *config_filename); - for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_post; hIndex++ ) { - postHookFunc = HPMHooks.list.HP_libconfig_read_file_post[hIndex].func; + for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_load_file_post; hIndex++ ) { + postHookFunc = HPMHooks.list.HP_libconfig_load_file_post[hIndex].func; retVal___ = postHookFunc(retVal___, config, config_filename); } } |