summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index b05525734..645873e13 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -46001,15 +46001,15 @@ bool HP_mob_get_const(const config_setting_t *it, int *value) {
}
return retVal___;
}
-int HP_mob_read_libconfig(const char *filename) {
+int HP_mob_read_libconfig(const char *filename, bool ignore_missing) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_mob_read_libconfig_pre ) {
- int (*preHookFunc) (const char *filename);
+ int (*preHookFunc) (const char *filename, bool *ignore_missing);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_libconfig_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_mob_read_libconfig_pre[hIndex].func;
- retVal___ = preHookFunc(filename);
+ retVal___ = preHookFunc(filename, &ignore_missing);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -46017,13 +46017,13 @@ int HP_mob_read_libconfig(const char *filename) {
}
}
{
- retVal___ = HPMHooks.source.mob.read_libconfig(filename);
+ retVal___ = HPMHooks.source.mob.read_libconfig(filename, ignore_missing);
}
if( HPMHooks.count.HP_mob_read_libconfig_post ) {
- int (*postHookFunc) (int retVal___, const char *filename);
+ int (*postHookFunc) (int retVal___, const char *filename, bool *ignore_missing);
for(hIndex = 0; hIndex < HPMHooks.count.HP_mob_read_libconfig_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_mob_read_libconfig_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, filename);
+ retVal___ = postHookFunc(retVal___, filename, &ignore_missing);
}
}
return retVal___;