summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-28 02:50:40 +0100
committerHaru <haru@dotalux.com>2016-04-30 15:57:52 +0200
commite9c98a1c9069c34e079c0d3e089162dd19d46dac (patch)
treef2c405285b7d85ae7bcceb8b26a3f01ed820c7de /src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
parent89e0550e4dee7a5076f7b12d335468fd3bb4f26d (diff)
downloadhercules-e9c98a1c9069c34e079c0d3e089162dd19d46dac.tar.gz
hercules-e9c98a1c9069c34e079c0d3e089162dd19d46dac.tar.bz2
hercules-e9c98a1c9069c34e079c0d3e089162dd19d46dac.tar.xz
hercules-e9c98a1c9069c34e079c0d3e089162dd19d46dac.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_login.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_login.Hooks.inc804
1 files changed, 402 insertions, 402 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
index d520c957f..3c31062b8 100644
--- a/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_login.Hooks.inc
@@ -54,11 +54,11 @@ bool HP_HCache_check(const char *file) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_HCache_check_pre ) {
- bool (*preHookFunc) (const char *file);
+ bool (*preHookFunc) (const char **file);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_HCache_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_HCache_check_pre[hIndex].func;
- retVal___ = preHookFunc(file);
+ retVal___ = preHookFunc(&file);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -81,11 +81,11 @@ FILE* HP_HCache_open(const char *file, const char *opt) {
int hIndex = 0;
FILE* retVal___ = NULL;
if( HPMHooks.count.HP_HCache_open_pre ) {
- FILE* (*preHookFunc) (const char *file, const char *opt);
+ FILE* (*preHookFunc) (const char **file, const char **opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_HCache_open_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_HCache_open_pre[hIndex].func;
- retVal___ = preHookFunc(file, opt);
+ retVal___ = preHookFunc(&file, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -161,11 +161,11 @@ bool HP_cmdline_arg_add(unsigned int pluginID, const char *name, char shortname,
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_cmdline_arg_add_pre ) {
- bool (*preHookFunc) (unsigned int *pluginID, const char *name, char *shortname, CmdlineExecFunc *func, const char *help, unsigned int *options);
+ bool (*preHookFunc) (unsigned int *pluginID, const char **name, char *shortname, CmdlineExecFunc *func, const char **help, unsigned int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_arg_add_pre[hIndex].func;
- retVal___ = preHookFunc(&pluginID, name, &shortname, &func, help, &options);
+ retVal___ = preHookFunc(&pluginID, &name, &shortname, &func, &help, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -188,11 +188,11 @@ int HP_cmdline_exec(int argc, char **argv, unsigned int options) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_cmdline_exec_pre ) {
- int (*preHookFunc) (int *argc, char **argv, unsigned int *options);
+ int (*preHookFunc) (int *argc, char ***argv, unsigned int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_exec_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_exec_pre[hIndex].func;
- retVal___ = preHookFunc(&argc, argv, &options);
+ retVal___ = preHookFunc(&argc, &argv, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -215,11 +215,11 @@ bool HP_cmdline_arg_next_value(const char *name, int current_arg, int argc) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_cmdline_arg_next_value_pre ) {
- bool (*preHookFunc) (const char *name, int *current_arg, int *argc);
+ bool (*preHookFunc) (const char **name, int *current_arg, int *argc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_next_value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_arg_next_value_pre[hIndex].func;
- retVal___ = preHookFunc(name, &current_arg, &argc);
+ retVal___ = preHookFunc(&name, &current_arg, &argc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -242,11 +242,11 @@ const char* HP_cmdline_arg_source(struct CmdlineArgData *arg) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_cmdline_arg_source_pre ) {
- const char* (*preHookFunc) (struct CmdlineArgData *arg);
+ const char* (*preHookFunc) (struct CmdlineArgData **arg);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_cmdline_arg_source_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_cmdline_arg_source_pre[hIndex].func;
- retVal___ = preHookFunc(arg);
+ retVal___ = preHookFunc(&arg);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -537,11 +537,11 @@ struct DBMap* HP_DB_alloc(const char *file, const char *func, int line, enum DBT
int hIndex = 0;
struct DBMap* retVal___ = NULL;
if( HPMHooks.count.HP_DB_alloc_pre ) {
- struct DBMap* (*preHookFunc) (const char *file, const char *func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen);
+ struct DBMap* (*preHookFunc) (const char **file, const char **func, int *line, enum DBType *type, enum DBOptions *options, unsigned short *maxlen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_alloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_alloc_pre[hIndex].func;
- retVal___ = preHookFunc(file, func, &line, &type, &options, &maxlen);
+ retVal___ = preHookFunc(&file, &func, &line, &type, &options, &maxlen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -618,11 +618,11 @@ union DBKey HP_DB_str2key(const char *key) {
int hIndex = 0;
union DBKey retVal___ = { 0 };
if( HPMHooks.count.HP_DB_str2key_pre ) {
- union DBKey (*preHookFunc) (const char *key);
+ union DBKey (*preHookFunc) (const char **key);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_str2key_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_str2key_pre[hIndex].func;
- retVal___ = preHookFunc(key);
+ retVal___ = preHookFunc(&key);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -753,11 +753,11 @@ struct DBData HP_DB_ptr2data(void *data) {
int hIndex = 0;
struct DBData retVal___ = { 0 };
if( HPMHooks.count.HP_DB_ptr2data_pre ) {
- struct DBData (*preHookFunc) (void *data);
+ struct DBData (*preHookFunc) (void **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_ptr2data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_ptr2data_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -780,11 +780,11 @@ int HP_DB_data2i(struct DBData *data) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_DB_data2i_pre ) {
- int (*preHookFunc) (struct DBData *data);
+ int (*preHookFunc) (struct DBData **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_data2i_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_data2i_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -807,11 +807,11 @@ unsigned int HP_DB_data2ui(struct DBData *data) {
int hIndex = 0;
unsigned int retVal___ = 0;
if( HPMHooks.count.HP_DB_data2ui_pre ) {
- unsigned int (*preHookFunc) (struct DBData *data);
+ unsigned int (*preHookFunc) (struct DBData **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_data2ui_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_data2ui_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -834,11 +834,11 @@ void* HP_DB_data2ptr(struct DBData *data) {
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_DB_data2ptr_pre ) {
- void* (*preHookFunc) (struct DBData *data);
+ void* (*preHookFunc) (struct DBData **data);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_DB_data2ptr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_DB_data2ptr_pre[hIndex].func;
- retVal___ = preHookFunc(data);
+ retVal___ = preHookFunc(&data);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -992,11 +992,11 @@ bool HP_lclif_server_list(struct login_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_lclif_server_list_pre ) {
- bool (*preHookFunc) (struct login_session_data *sd);
+ bool (*preHookFunc) (struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_server_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_lclif_server_list_pre[hIndex].func;
- retVal___ = preHookFunc(sd);
+ retVal___ = preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1070,11 +1070,11 @@ void HP_lclif_login_error(int fd, uint8 error) {
void HP_lclif_coding_key(int fd, struct login_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_lclif_coding_key_pre ) {
- void (*preHookFunc) (int *fd, struct login_session_data *sd);
+ void (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_coding_key_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_lclif_coding_key_pre[hIndex].func;
- preHookFunc(&fd, sd);
+ preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1124,11 +1124,11 @@ enum parsefunc_rcode HP_lclif_parse_packet(const struct login_packet_db *lpd, in
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_lclif_parse_packet_pre ) {
- enum parsefunc_rcode (*preHookFunc) (const struct login_packet_db *lpd, int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (const struct login_packet_db **lpd, int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_lclif_parse_packet_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_lclif_parse_packet_pre[hIndex].func;
- retVal___ = preHookFunc(lpd, &fd, sd);
+ retVal___ = preHookFunc(&lpd, &fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1205,11 +1205,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_sub(int fd, struct login_session_data
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_sub_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1232,11 +1232,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED(int fd, struct
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_CONNECT_INFO_CHANGED_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1259,11 +1259,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_EXE_HASHCHECK(int fd, struct login_
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_EXE_HASHCHECK_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_EXE_HASHCHECK_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_EXE_HASHCHECK_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1286,11 +1286,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN(int fd, struct login_session_
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1313,11 +1313,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN2(int fd, struct login_session
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN2_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN2_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1340,11 +1340,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN3(int fd, struct login_session
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN3_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN3_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN3_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1367,11 +1367,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN4(int fd, struct login_session
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN4_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN4_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN4_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1394,11 +1394,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN_PCBANG(int fd, struct login_s
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_PCBANG_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_PCBANG_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN_PCBANG_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1421,11 +1421,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_LOGIN_HAN(int fd, struct login_sess
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_HAN_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_LOGIN_HAN_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_LOGIN_HAN_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1448,11 +1448,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ(int fd, struct login_
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_SSO_LOGIN_REQ_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1475,11 +1475,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_REQ_HASH(int fd, struct login_sessi
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_REQ_HASH_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_REQ_HASH_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_REQ_HASH_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1502,11 +1502,11 @@ enum parsefunc_rcode HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT(int fd, struct lo
int hIndex = 0;
enum parsefunc_rcode retVal___ = PACKET_UNKNOWN;
if( HPMHooks.count.HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT_pre ) {
- enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data *sd);
+ enum parsefunc_rcode (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_PRIV__lclif_parse_CA_CHARSERVERCONNECT_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1530,11 +1530,11 @@ int HP_libconfig_read(struct config_t *config, FILE *stream) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_read_pre ) {
- int (*preHookFunc) (struct config_t *config, FILE *stream);
+ int (*preHookFunc) (struct config_t **config, FILE **stream);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_read_pre[hIndex].func;
- retVal___ = preHookFunc(config, stream);
+ retVal___ = preHookFunc(&config, &stream);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1556,11 +1556,11 @@ int HP_libconfig_read(struct config_t *config, FILE *stream) {
void HP_libconfig_write(const struct config_t *config, FILE *stream) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_write_pre ) {
- void (*preHookFunc) (const struct config_t *config, FILE *stream);
+ void (*preHookFunc) (const struct config_t **config, FILE **stream);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_write_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_write_pre[hIndex].func;
- preHookFunc(config, stream);
+ preHookFunc(&config, &stream);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1582,11 +1582,11 @@ void HP_libconfig_write(const struct config_t *config, FILE *stream) {
void HP_libconfig_set_options(struct config_t *config, int options) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_set_options_pre ) {
- void (*preHookFunc) (struct config_t *config, int *options);
+ void (*preHookFunc) (struct config_t **config, int *options);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_options_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_set_options_pre[hIndex].func;
- preHookFunc(config, &options);
+ preHookFunc(&config, &options);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1609,11 +1609,11 @@ int HP_libconfig_get_options(const struct config_t *config) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_get_options_pre ) {
- int (*preHookFunc) (const struct config_t *config);
+ int (*preHookFunc) (const struct config_t **config);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_get_options_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_get_options_pre[hIndex].func;
- retVal___ = preHookFunc(config);
+ retVal___ = preHookFunc(&config);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1636,11 +1636,11 @@ int HP_libconfig_read_string(struct config_t *config, const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_read_string_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *str);
+ int (*preHookFunc) (struct config_t **config, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_read_string_pre[hIndex].func;
- retVal___ = preHookFunc(config, str);
+ retVal___ = preHookFunc(&config, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1663,11 +1663,11 @@ int HP_libconfig_read_file_src(struct config_t *config, const char *filename) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_read_file_src_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *filename);
+ int (*preHookFunc) (struct config_t **config, const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_read_file_src_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_read_file_src_pre[hIndex].func;
- retVal___ = preHookFunc(config, filename);
+ retVal___ = preHookFunc(&config, &filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1690,11 +1690,11 @@ int HP_libconfig_write_file(struct config_t *config, const char *filename) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_write_file_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *filename);
+ int (*preHookFunc) (struct config_t **config, const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_write_file_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_write_file_pre[hIndex].func;
- retVal___ = preHookFunc(config, filename);
+ retVal___ = preHookFunc(&config, &filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1716,11 +1716,11 @@ int HP_libconfig_write_file(struct config_t *config, const char *filename) {
void HP_libconfig_set_destructor(struct config_t *config, void ( *destructor ) (void *)) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_set_destructor_pre ) {
- void (*preHookFunc) (struct config_t *config, void ( *destructor ) (void *));
+ void (*preHookFunc) (struct config_t **config, void ( **destructor ) (void *));
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_destructor_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_set_destructor_pre[hIndex].func;
- preHookFunc(config, destructor);
+ preHookFunc(&config, &destructor);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1742,11 +1742,11 @@ void HP_libconfig_set_destructor(struct config_t *config, void ( *destructor ) (
void HP_libconfig_set_include_dir(struct config_t *config, const char *include_dir) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_set_include_dir_pre ) {
- void (*preHookFunc) (struct config_t *config, const char *include_dir);
+ void (*preHookFunc) (struct config_t **config, const char **include_dir);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_set_include_dir_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_set_include_dir_pre[hIndex].func;
- preHookFunc(config, include_dir);
+ preHookFunc(&config, &include_dir);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1768,11 +1768,11 @@ void HP_libconfig_set_include_dir(struct config_t *config, const char *include_d
void HP_libconfig_init(struct config_t *config) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_init_pre ) {
- void (*preHookFunc) (struct config_t *config);
+ void (*preHookFunc) (struct config_t **config);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_init_pre[hIndex].func;
- preHookFunc(config);
+ preHookFunc(&config);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1794,11 +1794,11 @@ void HP_libconfig_init(struct config_t *config) {
void HP_libconfig_destroy(struct config_t *config) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_destroy_pre ) {
- void (*preHookFunc) (struct config_t *config);
+ void (*preHookFunc) (struct config_t **config);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_destroy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_destroy_pre[hIndex].func;
- preHookFunc(config);
+ preHookFunc(&config);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1821,11 +1821,11 @@ int HP_libconfig_setting_get_int(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1848,11 +1848,11 @@ long long HP_libconfig_setting_get_int64(const struct config_setting_t *setting)
int hIndex = 0;
long long retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int64_pre ) {
- long long (*preHookFunc) (const struct config_setting_t *setting);
+ long long (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int64_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1875,11 +1875,11 @@ double HP_libconfig_setting_get_float(const struct config_setting_t *setting) {
int hIndex = 0;
double retVal___ = 0.;
if( HPMHooks.count.HP_libconfig_setting_get_float_pre ) {
- double (*preHookFunc) (const struct config_setting_t *setting);
+ double (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_float_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1902,11 +1902,11 @@ int HP_libconfig_setting_get_bool(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_bool_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1929,11 +1929,11 @@ const char* HP_libconfig_setting_get_string(const struct config_setting_t *setti
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_string_pre ) {
- const char* (*preHookFunc) (const struct config_setting_t *setting);
+ const char* (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1956,11 +1956,11 @@ struct config_setting_t* HP_libconfig_setting_lookup(struct config_setting_t *se
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_lookup_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, const char *name);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name);
+ retVal___ = preHookFunc(&setting, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -1983,11 +1983,11 @@ int HP_libconfig_setting_lookup_int(const struct config_setting_t *setting, cons
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_int_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, int *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_int_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2010,11 +2010,11 @@ int HP_libconfig_setting_lookup_int64(const struct config_setting_t *setting, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_int64_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, long long *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, long long **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_int64_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2037,11 +2037,11 @@ int HP_libconfig_setting_lookup_float(const struct config_setting_t *setting, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_float_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, double *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, double **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_float_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2064,11 +2064,11 @@ int HP_libconfig_setting_lookup_bool(const struct config_setting_t *setting, con
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_bool_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, int *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_bool_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2091,11 +2091,11 @@ int HP_libconfig_setting_lookup_string(const struct config_setting_t *setting, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_string_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, const char **value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, const char ***value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2118,11 +2118,11 @@ int HP_libconfig_setting_set_int(struct config_setting_t *setting, int value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_int_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, int *value);
+ int (*preHookFunc) (struct config_setting_t **setting, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2145,11 +2145,11 @@ int HP_libconfig_setting_set_int64(struct config_setting_t *setting, long long v
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_int64_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, long long *value);
+ int (*preHookFunc) (struct config_setting_t **setting, long long *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int64_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2172,11 +2172,11 @@ int HP_libconfig_setting_set_float(struct config_setting_t *setting, double valu
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_float_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, double *value);
+ int (*preHookFunc) (struct config_setting_t **setting, double *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_float_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2199,11 +2199,11 @@ int HP_libconfig_setting_set_bool(struct config_setting_t *setting, int value) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_bool_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, int *value);
+ int (*preHookFunc) (struct config_setting_t **setting, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_bool_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2226,11 +2226,11 @@ int HP_libconfig_setting_set_string(struct config_setting_t *setting, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_string_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, const char *value);
+ int (*preHookFunc) (struct config_setting_t **setting, const char **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting, value);
+ retVal___ = preHookFunc(&setting, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2253,11 +2253,11 @@ int HP_libconfig_setting_set_format(struct config_setting_t *setting, short form
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_set_format_pre ) {
- int (*preHookFunc) (struct config_setting_t *setting, short *format);
+ int (*preHookFunc) (struct config_setting_t **setting, short *format);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_format_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_format_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &format);
+ retVal___ = preHookFunc(&setting, &format);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2280,11 +2280,11 @@ short HP_libconfig_setting_get_format(const struct config_setting_t *setting) {
int hIndex = 0;
short retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_format_pre ) {
- short (*preHookFunc) (const struct config_setting_t *setting);
+ short (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_format_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_format_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2307,11 +2307,11 @@ int HP_libconfig_setting_get_int_elem(const struct config_setting_t *setting, in
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int_elem_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ int (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2334,11 +2334,11 @@ long long HP_libconfig_setting_get_int64_elem(const struct config_setting_t *set
int hIndex = 0;
long long retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int64_elem_pre ) {
- long long (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ long long (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int64_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int64_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2361,11 +2361,11 @@ double HP_libconfig_setting_get_float_elem(const struct config_setting_t *settin
int hIndex = 0;
double retVal___ = 0.;
if( HPMHooks.count.HP_libconfig_setting_get_float_elem_pre ) {
- double (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ double (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_float_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_float_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2388,11 +2388,11 @@ int HP_libconfig_setting_get_bool_elem(const struct config_setting_t *setting, i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_bool_elem_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ int (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2415,11 +2415,11 @@ const char* HP_libconfig_setting_get_string_elem(const struct config_setting_t *
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_string_elem_pre ) {
- const char* (*preHookFunc) (const struct config_setting_t *setting, int *idx);
+ const char* (*preHookFunc) (const struct config_setting_t **setting, int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_string_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_string_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2442,11 +2442,11 @@ struct config_setting_t* HP_libconfig_setting_set_int_elem(struct config_setting
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_int_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, int *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2469,11 +2469,11 @@ struct config_setting_t* HP_libconfig_setting_set_int64_elem(struct config_setti
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_int64_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, long long *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, long long *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_int64_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_int64_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2496,11 +2496,11 @@ struct config_setting_t* HP_libconfig_setting_set_float_elem(struct config_setti
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_float_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, double *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, double *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_float_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_float_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2523,11 +2523,11 @@ struct config_setting_t* HP_libconfig_setting_set_bool_elem(struct config_settin
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_bool_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, int *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, int *value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_bool_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_bool_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, &value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2550,11 +2550,11 @@ struct config_setting_t* HP_libconfig_setting_set_string_elem(struct config_sett
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_set_string_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *setting, int *idx, const char *value);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **setting, int *idx, const char **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_string_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_string_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx, value);
+ retVal___ = preHookFunc(&setting, &idx, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2577,11 +2577,11 @@ int HP_libconfig_setting_index(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_index_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_index_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_index_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2604,11 +2604,11 @@ int HP_libconfig_setting_length(const struct config_setting_t *setting) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_length_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting);
+ int (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_length_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_length_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2631,11 +2631,11 @@ struct config_setting_t* HP_libconfig_setting_get_elem(const struct config_setti
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_elem_pre ) {
- struct config_setting_t* (*preHookFunc) (const struct config_setting_t *setting, unsigned int *idx);
+ struct config_setting_t* (*preHookFunc) (const struct config_setting_t **setting, unsigned int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_elem_pre[hIndex].func;
- retVal___ = preHookFunc(setting, &idx);
+ retVal___ = preHookFunc(&setting, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2658,11 +2658,11 @@ struct config_setting_t* HP_libconfig_setting_get_member(const struct config_set
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_get_member_pre ) {
- struct config_setting_t* (*preHookFunc) (const struct config_setting_t *setting, const char *name);
+ struct config_setting_t* (*preHookFunc) (const struct config_setting_t **setting, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_member_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_member_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name);
+ retVal___ = preHookFunc(&setting, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2685,11 +2685,11 @@ struct config_setting_t* HP_libconfig_setting_add(struct config_setting_t *paren
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_setting_add_pre ) {
- struct config_setting_t* (*preHookFunc) (struct config_setting_t *parent, const char *name, int *type);
+ struct config_setting_t* (*preHookFunc) (struct config_setting_t **parent, const char **name, int *type);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_add_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_add_pre[hIndex].func;
- retVal___ = preHookFunc(parent, name, &type);
+ retVal___ = preHookFunc(&parent, &name, &type);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2712,11 +2712,11 @@ int HP_libconfig_setting_remove(struct config_setting_t *parent, const char *nam
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_remove_pre ) {
- int (*preHookFunc) (struct config_setting_t *parent, const char *name);
+ int (*preHookFunc) (struct config_setting_t **parent, const char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_remove_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_remove_pre[hIndex].func;
- retVal___ = preHookFunc(parent, name);
+ retVal___ = preHookFunc(&parent, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2739,11 +2739,11 @@ int HP_libconfig_setting_remove_elem(struct config_setting_t *parent, unsigned i
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_remove_elem_pre ) {
- int (*preHookFunc) (struct config_setting_t *parent, unsigned int *idx);
+ int (*preHookFunc) (struct config_setting_t **parent, unsigned int *idx);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_remove_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_remove_elem_pre[hIndex].func;
- retVal___ = preHookFunc(parent, &idx);
+ retVal___ = preHookFunc(&parent, &idx);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2765,11 +2765,11 @@ int HP_libconfig_setting_remove_elem(struct config_setting_t *parent, unsigned i
void HP_libconfig_setting_set_hook(struct config_setting_t *setting, void *hook) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_set_hook_pre ) {
- void (*preHookFunc) (struct config_setting_t *setting, void *hook);
+ void (*preHookFunc) (struct config_setting_t **setting, void **hook);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_set_hook_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_set_hook_pre[hIndex].func;
- preHookFunc(setting, hook);
+ preHookFunc(&setting, &hook);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2792,11 +2792,11 @@ struct config_setting_t* HP_libconfig_lookup(const struct config_t *config, cons
int hIndex = 0;
struct config_setting_t* retVal___ = NULL;
if( HPMHooks.count.HP_libconfig_lookup_pre ) {
- struct config_setting_t* (*preHookFunc) (const struct config_t *config, const char *filepath);
+ struct config_setting_t* (*preHookFunc) (const struct config_t **config, const char **filepath);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath);
+ retVal___ = preHookFunc(&config, &filepath);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2819,11 +2819,11 @@ int HP_libconfig_lookup_int(const struct config_t *config, const char *filepath,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_int_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, int *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_int_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_int_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2846,11 +2846,11 @@ int HP_libconfig_lookup_int64(const struct config_t *config, const char *filepat
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_int64_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, long long *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, long long **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_int64_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_int64_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2873,11 +2873,11 @@ int HP_libconfig_lookup_float(const struct config_t *config, const char *filepat
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_float_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, double *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, double **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_float_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_float_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2900,11 +2900,11 @@ int HP_libconfig_lookup_bool(const struct config_t *config, const char *filepath
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_bool_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, int *value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, int **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_bool_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_bool_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2927,11 +2927,11 @@ int HP_libconfig_lookup_string(const struct config_t *config, const char *filepa
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_string_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *filepath, const char **value);
+ int (*preHookFunc) (const struct config_t **config, const char **filepath, const char ***value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_string_pre[hIndex].func;
- retVal___ = preHookFunc(config, filepath, value);
+ retVal___ = preHookFunc(&config, &filepath, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2954,11 +2954,11 @@ int HP_libconfig_load_file(struct config_t *config, const char *config_filename)
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_load_file_pre ) {
- int (*preHookFunc) (struct config_t *config, const char *config_filename);
+ int (*preHookFunc) (struct config_t **config, const char **config_filename);
*HPMforce_return = false;
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);
+ retVal___ = preHookFunc(&config, &config_filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -2980,11 +2980,11 @@ int HP_libconfig_load_file(struct config_t *config, const char *config_filename)
void HP_libconfig_setting_copy_simple(struct config_setting_t *parent, const struct config_setting_t *src) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_simple_pre ) {
- void (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ void (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_simple_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_simple_pre[hIndex].func;
- preHookFunc(parent, src);
+ preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3006,11 +3006,11 @@ void HP_libconfig_setting_copy_simple(struct config_setting_t *parent, const str
void HP_libconfig_setting_copy_elem(struct config_setting_t *parent, const struct config_setting_t *src) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_elem_pre ) {
- void (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ void (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_elem_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_elem_pre[hIndex].func;
- preHookFunc(parent, src);
+ preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3032,11 +3032,11 @@ void HP_libconfig_setting_copy_elem(struct config_setting_t *parent, const struc
void HP_libconfig_setting_copy_aggregate(struct config_setting_t *parent, const struct config_setting_t *src) {
int hIndex = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_aggregate_pre ) {
- void (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ void (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_aggregate_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_aggregate_pre[hIndex].func;
- preHookFunc(parent, src);
+ preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3059,11 +3059,11 @@ int HP_libconfig_setting_copy(struct config_setting_t *parent, const struct conf
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_copy_pre ) {
- int (*preHookFunc) (struct config_setting_t *parent, const struct config_setting_t *src);
+ int (*preHookFunc) (struct config_setting_t **parent, const struct config_setting_t **src);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_copy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_copy_pre[hIndex].func;
- retVal___ = preHookFunc(parent, src);
+ retVal___ = preHookFunc(&parent, &src);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3086,11 +3086,11 @@ bool HP_libconfig_setting_get_bool_real(const struct config_setting_t *setting)
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_libconfig_setting_get_bool_real_pre ) {
- bool (*preHookFunc) (const struct config_setting_t *setting);
+ bool (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_bool_real_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_bool_real_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3113,11 +3113,11 @@ uint32 HP_libconfig_setting_get_uint32(const struct config_setting_t *setting) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_uint32_pre ) {
- uint32 (*preHookFunc) (const struct config_setting_t *setting);
+ uint32 (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_uint32_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_uint32_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3140,11 +3140,11 @@ uint16 HP_libconfig_setting_get_uint16(const struct config_setting_t *setting) {
int hIndex = 0;
uint16 retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_uint16_pre ) {
- uint16 (*preHookFunc) (const struct config_setting_t *setting);
+ uint16 (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_uint16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_uint16_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3167,11 +3167,11 @@ int16 HP_libconfig_setting_get_int16(const struct config_setting_t *setting) {
int hIndex = 0;
int16 retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_get_int16_pre ) {
- int16 (*preHookFunc) (const struct config_setting_t *setting);
+ int16 (*preHookFunc) (const struct config_setting_t **setting);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_get_int16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_get_int16_pre[hIndex].func;
- retVal___ = preHookFunc(setting);
+ retVal___ = preHookFunc(&setting);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3194,11 +3194,11 @@ int HP_libconfig_setting_lookup_bool_real(const struct config_setting_t *setting
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_bool_real_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, bool *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, bool **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_bool_real_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_bool_real_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3221,11 +3221,11 @@ int HP_libconfig_setting_lookup_uint32(const struct config_setting_t *setting, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_uint32_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, uint32 *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, uint32 **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_uint32_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_uint32_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3248,11 +3248,11 @@ int HP_libconfig_setting_lookup_uint16(const struct config_setting_t *setting, c
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_uint16_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, uint16 *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, uint16 **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_uint16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_uint16_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3275,11 +3275,11 @@ int HP_libconfig_setting_lookup_int16(const struct config_setting_t *setting, co
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_int16_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, int16 *value);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, int16 **value);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_int16_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_int16_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, value);
+ retVal___ = preHookFunc(&setting, &name, &value);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3302,11 +3302,11 @@ int HP_libconfig_setting_lookup_mutable_string(const struct config_setting_t *se
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_setting_lookup_mutable_string_pre ) {
- int (*preHookFunc) (const struct config_setting_t *setting, const char *name, char *out, size_t *out_size);
+ int (*preHookFunc) (const struct config_setting_t **setting, const char **name, char **out, size_t *out_size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_setting_lookup_mutable_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_setting_lookup_mutable_string_pre[hIndex].func;
- retVal___ = preHookFunc(setting, name, out, &out_size);
+ retVal___ = preHookFunc(&setting, &name, &out, &out_size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3329,11 +3329,11 @@ int HP_libconfig_lookup_mutable_string(const struct config_t *config, const char
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_libconfig_lookup_mutable_string_pre ) {
- int (*preHookFunc) (const struct config_t *config, const char *name, char *out, size_t *out_size);
+ int (*preHookFunc) (const struct config_t **config, const char **name, char **out, size_t *out_size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_libconfig_lookup_mutable_string_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_libconfig_lookup_mutable_string_pre[hIndex].func;
- retVal___ = preHookFunc(config, name, out, &out_size);
+ retVal___ = preHookFunc(&config, &name, &out, &out_size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3357,11 +3357,11 @@ int HP_login_mmo_auth(struct login_session_data *sd, bool isServer) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_login_mmo_auth_pre ) {
- int (*preHookFunc) (struct login_session_data *sd, bool *isServer);
+ int (*preHookFunc) (struct login_session_data **sd, bool *isServer);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_mmo_auth_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_mmo_auth_pre[hIndex].func;
- retVal___ = preHookFunc(sd, &isServer);
+ retVal___ = preHookFunc(&sd, &isServer);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3384,11 +3384,11 @@ int HP_login_mmo_auth_new(const char *userid, const char *pass, const char sex,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_login_mmo_auth_new_pre ) {
- int (*preHookFunc) (const char *userid, const char *pass, const char *sex, const char *last_ip);
+ int (*preHookFunc) (const char **userid, const char **pass, const char *sex, const char **last_ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_mmo_auth_new_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_mmo_auth_new_pre[hIndex].func;
- retVal___ = preHookFunc(userid, pass, &sex, last_ip);
+ retVal___ = preHookFunc(&userid, &pass, &sex, &last_ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3524,12 +3524,12 @@ int HP_login_online_db_setoffline(union DBKey key, struct DBData *data, va_list
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_login_online_db_setoffline_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_online_db_setoffline_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_login_online_db_setoffline_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -3557,12 +3557,12 @@ int HP_login_online_data_cleanup_sub(union DBKey key, struct DBData *data, va_li
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_login_online_data_cleanup_sub_pre ) {
- int (*preHookFunc) (union DBKey *key, struct DBData *data, va_list ap);
+ int (*preHookFunc) (union DBKey *key, struct DBData **data, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_online_data_cleanup_sub_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_login_online_data_cleanup_sub_pre[hIndex].func;
- retVal___ = preHookFunc(&key, data, ap___copy);
+ retVal___ = preHookFunc(&key, &data, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -3644,11 +3644,11 @@ bool HP_login_check_encrypted(const char *str1, const char *str2, const char *pa
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_login_check_encrypted_pre ) {
- bool (*preHookFunc) (const char *str1, const char *str2, const char *passwd);
+ bool (*preHookFunc) (const char **str1, const char **str2, const char **passwd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_check_encrypted_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_check_encrypted_pre[hIndex].func;
- retVal___ = preHookFunc(str1, str2, passwd);
+ retVal___ = preHookFunc(&str1, &str2, &passwd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3671,11 +3671,11 @@ bool HP_login_check_password(const char *md5key, int passwdenc, const char *pass
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_login_check_password_pre ) {
- bool (*preHookFunc) (const char *md5key, int *passwdenc, const char *passwd, const char *refpass);
+ bool (*preHookFunc) (const char **md5key, int *passwdenc, const char **passwd, const char **refpass);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_check_password_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_check_password_pre[hIndex].func;
- retVal___ = preHookFunc(md5key, &passwdenc, passwd, refpass);
+ retVal___ = preHookFunc(&md5key, &passwdenc, &passwd, &refpass);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3724,11 +3724,11 @@ uint32 HP_login_lan_subnet_check(uint32 ip) {
void HP_login_fromchar_accinfo(int fd, int account_id, int u_fd, int u_aid, int u_group, int map_fd, struct mmo_account *acc) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_accinfo_pre ) {
- void (*preHookFunc) (int *fd, int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd, struct mmo_account *acc);
+ void (*preHookFunc) (int *fd, int *account_id, int *u_fd, int *u_aid, int *u_group, int *map_fd, struct mmo_account **acc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_accinfo_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_accinfo_pre[hIndex].func;
- preHookFunc(&fd, &account_id, &u_fd, &u_aid, &u_group, &map_fd, acc);
+ preHookFunc(&fd, &account_id, &u_fd, &u_aid, &u_group, &map_fd, &acc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3750,11 +3750,11 @@ void HP_login_fromchar_accinfo(int fd, int account_id, int u_fd, int u_aid, int
void HP_login_fromchar_account(int fd, int account_id, struct mmo_account *acc) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_account_pre ) {
- void (*preHookFunc) (int *fd, int *account_id, struct mmo_account *acc);
+ void (*preHookFunc) (int *fd, int *account_id, struct mmo_account **acc);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_account_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_account_pre[hIndex].func;
- preHookFunc(&fd, &account_id, acc);
+ preHookFunc(&fd, &account_id, &acc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3802,11 +3802,11 @@ void HP_login_fromchar_account_update_other(int account_id, unsigned int state)
void HP_login_fromchar_auth_ack(int fd, int account_id, uint32 login_id1, uint32 login_id2, uint8 sex, int request_id, struct login_auth_node *node) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_auth_ack_pre ) {
- void (*preHookFunc) (int *fd, int *account_id, uint32 *login_id1, uint32 *login_id2, uint8 *sex, int *request_id, struct login_auth_node *node);
+ void (*preHookFunc) (int *fd, int *account_id, uint32 *login_id1, uint32 *login_id2, uint8 *sex, int *request_id, struct login_auth_node **node);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_auth_ack_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_auth_ack_pre[hIndex].func;
- preHookFunc(&fd, &account_id, &login_id1, &login_id2, &sex, &request_id, node);
+ preHookFunc(&fd, &account_id, &login_id1, &login_id2, &sex, &request_id, &node);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3906,11 +3906,11 @@ void HP_login_fromchar_pong(int fd) {
void HP_login_fromchar_parse_auth(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_auth_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_auth_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_auth_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3958,11 +3958,11 @@ void HP_login_fromchar_parse_update_users(int fd, int id) {
void HP_login_fromchar_parse_request_change_email(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_request_change_email_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_request_change_email_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_request_change_email_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -3984,11 +3984,11 @@ void HP_login_fromchar_parse_request_change_email(int fd, int id, const char *ip
void HP_login_fromchar_parse_account_data(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_account_data_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_data_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_data_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4036,11 +4036,11 @@ void HP_login_fromchar_parse_ping(int fd) {
void HP_login_fromchar_parse_change_email(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_change_email_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_change_email_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_change_email_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4062,11 +4062,11 @@ void HP_login_fromchar_parse_change_email(int fd, int id, const char *ip) {
void HP_login_fromchar_parse_account_update(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_account_update_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_update_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_update_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4088,11 +4088,11 @@ void HP_login_fromchar_parse_account_update(int fd, int id, const char *ip) {
void HP_login_fromchar_parse_ban(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_ban_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_ban_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_ban_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4114,11 +4114,11 @@ void HP_login_fromchar_parse_ban(int fd, int id, const char *ip) {
void HP_login_fromchar_parse_change_sex(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_change_sex_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_change_sex_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_change_sex_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4140,11 +4140,11 @@ void HP_login_fromchar_parse_change_sex(int fd, int id, const char *ip) {
void HP_login_fromchar_parse_account_reg2(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_account_reg2_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_account_reg2_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_account_reg2_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4166,11 +4166,11 @@ void HP_login_fromchar_parse_account_reg2(int fd, int id, const char *ip) {
void HP_login_fromchar_parse_unban(int fd, int id, const char *ip) {
int hIndex = 0;
if( HPMHooks.count.HP_login_fromchar_parse_unban_pre ) {
- void (*preHookFunc) (int *fd, int *id, const char *ip);
+ void (*preHookFunc) (int *fd, int *id, const char **ip);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_fromchar_parse_unban_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_fromchar_parse_unban_pre[hIndex].func;
- preHookFunc(&fd, &id, ip);
+ preHookFunc(&fd, &id, &ip);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4454,11 +4454,11 @@ int HP_login_parse_fromchar(int fd) {
void HP_login_kick(struct login_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_login_kick_pre ) {
- void (*preHookFunc) (struct login_session_data *sd);
+ void (*preHookFunc) (struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_kick_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_kick_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4480,11 +4480,11 @@ void HP_login_kick(struct login_session_data *sd) {
void HP_login_auth_ok(struct login_session_data *sd) {
int hIndex = 0;
if( HPMHooks.count.HP_login_auth_ok_pre ) {
- void (*preHookFunc) (struct login_session_data *sd);
+ void (*preHookFunc) (struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_auth_ok_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_auth_ok_pre[hIndex].func;
- preHookFunc(sd);
+ preHookFunc(&sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4506,11 +4506,11 @@ void HP_login_auth_ok(struct login_session_data *sd) {
void HP_login_auth_failed(struct login_session_data *sd, int result) {
int hIndex = 0;
if( HPMHooks.count.HP_login_auth_failed_pre ) {
- void (*preHookFunc) (struct login_session_data *sd, int *result);
+ void (*preHookFunc) (struct login_session_data **sd, int *result);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_auth_failed_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_auth_failed_pre[hIndex].func;
- preHookFunc(sd, &result);
+ preHookFunc(&sd, &result);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4533,11 +4533,11 @@ bool HP_login_client_login(int fd, struct login_session_data *sd) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_login_client_login_pre ) {
- bool (*preHookFunc) (int *fd, struct login_session_data *sd);
+ bool (*preHookFunc) (int *fd, struct login_session_data **sd);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_client_login_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_client_login_pre[hIndex].func;
- retVal___ = preHookFunc(&fd, sd);
+ retVal___ = preHookFunc(&fd, &sd);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4559,11 +4559,11 @@ bool HP_login_client_login(int fd, struct login_session_data *sd) {
void HP_login_char_server_connection_status(int fd, struct login_session_data *sd, uint8 status) {
int hIndex = 0;
if( HPMHooks.count.HP_login_char_server_connection_status_pre ) {
- void (*preHookFunc) (int *fd, struct login_session_data *sd, uint8 *status);
+ void (*preHookFunc) (int *fd, struct login_session_data **sd, uint8 *status);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_char_server_connection_status_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_char_server_connection_status_pre[hIndex].func;
- preHookFunc(&fd, sd, &status);
+ preHookFunc(&fd, &sd, &status);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4585,11 +4585,11 @@ void HP_login_char_server_connection_status(int fd, struct login_session_data *s
void HP_login_parse_request_connection(int fd, struct login_session_data *sd, const char *ip, uint32 ipl) {
int hIndex = 0;
if( HPMHooks.count.HP_login_parse_request_connection_pre ) {
- void (*preHookFunc) (int *fd, struct login_session_data *sd, const char *ip, uint32 *ipl);
+ void (*preHookFunc) (int *fd, struct login_session_data **sd, const char **ip, uint32 *ipl);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_parse_request_connection_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_parse_request_connection_pre[hIndex].func;
- preHookFunc(&fd, sd, ip, &ipl);
+ preHookFunc(&fd, &sd, &ip, &ipl);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4638,11 +4638,11 @@ int HP_login_config_read(const char *cfgName) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_login_config_read_pre ) {
- int (*preHookFunc) (const char *cfgName);
+ int (*preHookFunc) (const char **cfgName);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_login_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_login_config_read_pre[hIndex].func;
- retVal___ = preHookFunc(cfgName);
+ retVal___ = preHookFunc(&cfgName);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4718,11 +4718,11 @@ void* HP_iMalloc_malloc(size_t size, const char *file, int line, const char *fun
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_malloc_pre ) {
- void* (*preHookFunc) (size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_malloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_malloc_pre[hIndex].func;
- retVal___ = preHookFunc(&size, file, &line, func);
+ retVal___ = preHookFunc(&size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4745,11 +4745,11 @@ void* HP_iMalloc_calloc(size_t num, size_t size, const char *file, int line, con
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_calloc_pre ) {
- void* (*preHookFunc) (size_t *num, size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (size_t *num, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_calloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_calloc_pre[hIndex].func;
- retVal___ = preHookFunc(&num, &size, file, &line, func);
+ retVal___ = preHookFunc(&num, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4772,11 +4772,11 @@ void* HP_iMalloc_realloc(void *p, size_t size, const char *file, int line, const
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_realloc_pre ) {
- void* (*preHookFunc) (void *p, size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (void **p, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_realloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_realloc_pre[hIndex].func;
- retVal___ = preHookFunc(p, &size, file, &line, func);
+ retVal___ = preHookFunc(&p, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4799,11 +4799,11 @@ void* HP_iMalloc_reallocz(void *p, size_t size, const char *file, int line, cons
int hIndex = 0;
void* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_reallocz_pre ) {
- void* (*preHookFunc) (void *p, size_t *size, const char *file, int *line, const char *func);
+ void* (*preHookFunc) (void **p, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_reallocz_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_reallocz_pre[hIndex].func;
- retVal___ = preHookFunc(p, &size, file, &line, func);
+ retVal___ = preHookFunc(&p, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4826,11 +4826,11 @@ char* HP_iMalloc_astrdup(const char *p, const char *file, int line, const char *
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_astrdup_pre ) {
- char* (*preHookFunc) (const char *p, const char *file, int *line, const char *func);
+ char* (*preHookFunc) (const char **p, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_astrdup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_astrdup_pre[hIndex].func;
- retVal___ = preHookFunc(p, file, &line, func);
+ retVal___ = preHookFunc(&p, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4853,11 +4853,11 @@ char* HP_iMalloc_astrndup(const char *p, size_t size, const char *file, int line
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_iMalloc_astrndup_pre ) {
- char* (*preHookFunc) (const char *p, size_t *size, const char *file, int *line, const char *func);
+ char* (*preHookFunc) (const char **p, size_t *size, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_astrndup_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_astrndup_pre[hIndex].func;
- retVal___ = preHookFunc(p, &size, file, &line, func);
+ retVal___ = preHookFunc(&p, &size, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4879,11 +4879,11 @@ char* HP_iMalloc_astrndup(const char *p, size_t size, const char *file, int line
void HP_iMalloc_free(void *p, const char *file, int line, const char *func) {
int hIndex = 0;
if( HPMHooks.count.HP_iMalloc_free_pre ) {
- void (*preHookFunc) (void *p, const char *file, int *line, const char *func);
+ void (*preHookFunc) (void **p, const char **file, int *line, const char **func);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_free_pre[hIndex].func;
- preHookFunc(p, file, &line, func);
+ preHookFunc(&p, &file, &line, &func);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -4932,11 +4932,11 @@ bool HP_iMalloc_verify_ptr(void *ptr) {
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_iMalloc_verify_ptr_pre ) {
- bool (*preHookFunc) (void *ptr);
+ bool (*preHookFunc) (void **ptr);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_iMalloc_verify_ptr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_iMalloc_verify_ptr_pre[hIndex].func;
- retVal___ = preHookFunc(ptr);
+ retVal___ = preHookFunc(&ptr);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5038,11 +5038,11 @@ void HP_iMalloc_init_messages(void) {
void HP_nullpo_assert_report(const char *file, int line, const char *func, const char *targetname, const char *title) {
int hIndex = 0;
if( HPMHooks.count.HP_nullpo_assert_report_pre ) {
- void (*preHookFunc) (const char *file, int *line, const char *func, const char *targetname, const char *title);
+ void (*preHookFunc) (const char **file, int *line, const char **func, const char **targetname, const char **title);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_nullpo_assert_report_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_nullpo_assert_report_pre[hIndex].func;
- preHookFunc(file, &line, func, targetname, title);
+ preHookFunc(&file, &line, &func, &targetname, &title);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5144,12 +5144,12 @@ int HP_showmsg_showMessageV(const char *string, va_list ap) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_showmsg_showMessageV_pre ) {
- int (*preHookFunc) (const char *string, va_list ap);
+ int (*preHookFunc) (const char **string, va_list ap);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_showmsg_showMessageV_pre; hIndex++ ) {
va_list ap___copy; va_copy(ap___copy, ap);
preHookFunc = HPMHooks.list.HP_showmsg_showMessageV_pre[hIndex].func;
- retVal___ = preHookFunc(string, ap___copy);
+ retVal___ = preHookFunc(&string, ap___copy);
va_end(ap___copy);
}
if( *HPMforce_return ) {
@@ -5310,11 +5310,11 @@ int HP_sockt_make_connection(uint32 ip, uint16 port, struct hSockOpt *opt) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sockt_make_connection_pre ) {
- int (*preHookFunc) (uint32 *ip, uint16 *port, struct hSockOpt *opt);
+ int (*preHookFunc) (uint32 *ip, uint16 *port, struct hSockOpt **opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_make_connection_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_make_connection_pre[hIndex].func;
- retVal___ = preHookFunc(&ip, &port, opt);
+ retVal___ = preHookFunc(&ip, &port, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5629,11 +5629,11 @@ uint32 HP_sockt_host2ip(const char *hostname) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_sockt_host2ip_pre ) {
- uint32 (*preHookFunc) (const char *hostname);
+ uint32 (*preHookFunc) (const char **hostname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_host2ip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_host2ip_pre[hIndex].func;
- retVal___ = preHookFunc(hostname);
+ retVal___ = preHookFunc(&hostname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5656,11 +5656,11 @@ const char* HP_sockt_ip2str(uint32 ip, char *ip_str) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_sockt_ip2str_pre ) {
- const char* (*preHookFunc) (uint32 *ip, char *ip_str);
+ const char* (*preHookFunc) (uint32 *ip, char **ip_str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_ip2str_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_ip2str_pre[hIndex].func;
- retVal___ = preHookFunc(&ip, ip_str);
+ retVal___ = preHookFunc(&ip, &ip_str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5683,11 +5683,11 @@ uint32 HP_sockt_str2ip(const char *ip_str) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_sockt_str2ip_pre ) {
- uint32 (*preHookFunc) (const char *ip_str);
+ uint32 (*preHookFunc) (const char **ip_str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_str2ip_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_str2ip_pre[hIndex].func;
- retVal___ = preHookFunc(ip_str);
+ retVal___ = preHookFunc(&ip_str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5737,11 +5737,11 @@ int HP_sockt_getips(uint32 *ips, int max) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sockt_getips_pre ) {
- int (*preHookFunc) (uint32 *ips, int *max);
+ int (*preHookFunc) (uint32 **ips, int *max);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_getips_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_getips_pre[hIndex].func;
- retVal___ = preHookFunc(ips, &max);
+ retVal___ = preHookFunc(&ips, &max);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5790,11 +5790,11 @@ uint32 HP_sockt_lan_subnet_check(uint32 ip, struct s_subnet *info) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_sockt_lan_subnet_check_pre ) {
- uint32 (*preHookFunc) (uint32 *ip, struct s_subnet *info);
+ uint32 (*preHookFunc) (uint32 *ip, struct s_subnet **info);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_lan_subnet_check_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_lan_subnet_check_pre[hIndex].func;
- retVal___ = preHookFunc(&ip, info);
+ retVal___ = preHookFunc(&ip, &info);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5871,11 +5871,11 @@ int HP_sockt_net_config_read_sub(struct config_setting_t *t, struct s_subnet_vec
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sockt_net_config_read_sub_pre ) {
- int (*preHookFunc) (struct config_setting_t *t, struct s_subnet_vector *list, const char *filename, const char *groupname);
+ int (*preHookFunc) (struct config_setting_t **t, struct s_subnet_vector **list, const char **filename, const char **groupname);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_net_config_read_sub_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_net_config_read_sub_pre[hIndex].func;
- retVal___ = preHookFunc(t, list, filename, groupname);
+ retVal___ = preHookFunc(&t, &list, &filename, &groupname);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5897,11 +5897,11 @@ int HP_sockt_net_config_read_sub(struct config_setting_t *t, struct s_subnet_vec
void HP_sockt_net_config_read(const char *filename) {
int hIndex = 0;
if( HPMHooks.count.HP_sockt_net_config_read_pre ) {
- void (*preHookFunc) (const char *filename);
+ void (*preHookFunc) (const char **filename);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sockt_net_config_read_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sockt_net_config_read_pre[hIndex].func;
- preHookFunc(filename);
+ preHookFunc(&filename);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5925,11 +5925,11 @@ int HP_SQL_Connect(struct Sql *self, const char *user, const char *passwd, const
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_Connect_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *user, const char *passwd, const char *host, uint16 *port, const char *db);
+ int (*preHookFunc) (struct Sql **self, const char **user, const char **passwd, const char **host, uint16 *port, const char **db);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Connect_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_Connect_pre[hIndex].func;
- retVal___ = preHookFunc(self, user, passwd, host, &port, db);
+ retVal___ = preHookFunc(&self, &user, &passwd, &host, &port, &db);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5952,11 +5952,11 @@ int HP_SQL_GetTimeout(struct Sql *self, uint32 *out_timeout) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_GetTimeout_pre ) {
- int (*preHookFunc) (struct Sql *self, uint32 *out_timeout);
+ int (*preHookFunc) (struct Sql **self, uint32 **out_timeout);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetTimeout_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_GetTimeout_pre[hIndex].func;
- retVal___ = preHookFunc(self, out_timeout);
+ retVal___ = preHookFunc(&self, &out_timeout);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -5979,11 +5979,11 @@ int HP_SQL_GetColumnNames(struct Sql *self, const char *table, char *out_buf, si
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_GetColumnNames_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *table, char *out_buf, size_t *buf_len, char *sep);
+ int (*preHookFunc) (struct Sql **self, const char **table, char **out_buf, size_t *buf_len, char *sep);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetColumnNames_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_GetColumnNames_pre[hIndex].func;
- retVal___ = preHookFunc(self, table, out_buf, &buf_len, &sep);
+ retVal___ = preHookFunc(&self, &table, &out_buf, &buf_len, &sep);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6006,11 +6006,11 @@ int HP_SQL_SetEncoding(struct Sql *self, const char *encoding) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_SetEncoding_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *encoding);
+ int (*preHookFunc) (struct Sql **self, const char **encoding);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_SetEncoding_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_SetEncoding_pre[hIndex].func;
- retVal___ = preHookFunc(self, encoding);
+ retVal___ = preHookFunc(&self, &encoding);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6033,11 +6033,11 @@ int HP_SQL_Ping(struct Sql *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_Ping_pre ) {
- int (*preHookFunc) (struct Sql *self);
+ int (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Ping_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_Ping_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6060,11 +6060,11 @@ size_t HP_SQL_EscapeString(struct Sql *self, char *out_to, const char *from) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_EscapeString_pre ) {
- size_t (*preHookFunc) (struct Sql *self, char *out_to, const char *from);
+ size_t (*preHookFunc) (struct Sql **self, char **out_to, const char **from);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_EscapeString_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_EscapeString_pre[hIndex].func;
- retVal___ = preHookFunc(self, out_to, from);
+ retVal___ = preHookFunc(&self, &out_to, &from);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6087,11 +6087,11 @@ size_t HP_SQL_EscapeStringLen(struct Sql *self, char *out_to, const char *from,
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_EscapeStringLen_pre ) {
- size_t (*preHookFunc) (struct Sql *self, char *out_to, const char *from, size_t *from_len);
+ size_t (*preHookFunc) (struct Sql **self, char **out_to, const char **from, size_t *from_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_EscapeStringLen_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_EscapeStringLen_pre[hIndex].func;
- retVal___ = preHookFunc(self, out_to, from, &from_len);
+ retVal___ = preHookFunc(&self, &out_to, &from, &from_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6114,12 +6114,12 @@ int HP_SQL_QueryV(struct Sql *self, const char *query, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_QueryV_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *query, va_list args);
+ int (*preHookFunc) (struct Sql **self, const char **query, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_QueryV_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_SQL_QueryV_pre[hIndex].func;
- retVal___ = preHookFunc(self, query, args___copy);
+ retVal___ = preHookFunc(&self, &query, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -6147,11 +6147,11 @@ int HP_SQL_QueryStr(struct Sql *self, const char *query) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_QueryStr_pre ) {
- int (*preHookFunc) (struct Sql *self, const char *query);
+ int (*preHookFunc) (struct Sql **self, const char **query);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_QueryStr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_QueryStr_pre[hIndex].func;
- retVal___ = preHookFunc(self, query);
+ retVal___ = preHookFunc(&self, &query);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6174,11 +6174,11 @@ uint64 HP_SQL_LastInsertId(struct Sql *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_LastInsertId_pre ) {
- uint64 (*preHookFunc) (struct Sql *self);
+ uint64 (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_LastInsertId_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_LastInsertId_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6201,11 +6201,11 @@ uint32 HP_SQL_NumColumns(struct Sql *self) {
int hIndex = 0;
uint32 retVal___ = 0;
if( HPMHooks.count.HP_SQL_NumColumns_pre ) {
- uint32 (*preHookFunc) (struct Sql *self);
+ uint32 (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_NumColumns_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_NumColumns_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6228,11 +6228,11 @@ uint64 HP_SQL_NumRows(struct Sql *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_NumRows_pre ) {
- uint64 (*preHookFunc) (struct Sql *self);
+ uint64 (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_NumRows_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_NumRows_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6255,11 +6255,11 @@ int HP_SQL_NextRow(struct Sql *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_NextRow_pre ) {
- int (*preHookFunc) (struct Sql *self);
+ int (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_NextRow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_NextRow_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6282,11 +6282,11 @@ int HP_SQL_GetData(struct Sql *self, size_t col, char **out_buf, size_t *out_len
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_GetData_pre ) {
- int (*preHookFunc) (struct Sql *self, size_t *col, char **out_buf, size_t *out_len);
+ int (*preHookFunc) (struct Sql **self, size_t *col, char ***out_buf, size_t **out_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_GetData_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_GetData_pre[hIndex].func;
- retVal___ = preHookFunc(self, &col, out_buf, out_len);
+ retVal___ = preHookFunc(&self, &col, &out_buf, &out_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6308,11 +6308,11 @@ int HP_SQL_GetData(struct Sql *self, size_t col, char **out_buf, size_t *out_len
void HP_SQL_FreeResult(struct Sql *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_FreeResult_pre ) {
- void (*preHookFunc) (struct Sql *self);
+ void (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_FreeResult_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_FreeResult_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6334,11 +6334,11 @@ void HP_SQL_FreeResult(struct Sql *self) {
void HP_SQL_ShowDebug_(struct Sql *self, const char *debug_file, const unsigned long debug_line) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_ShowDebug__pre ) {
- void (*preHookFunc) (struct Sql *self, const char *debug_file, const unsigned long *debug_line);
+ void (*preHookFunc) (struct Sql **self, const char **debug_file, const unsigned long *debug_line);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_ShowDebug__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_ShowDebug__pre[hIndex].func;
- preHookFunc(self, debug_file, &debug_line);
+ preHookFunc(&self, &debug_file, &debug_line);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6360,11 +6360,11 @@ void HP_SQL_ShowDebug_(struct Sql *self, const char *debug_file, const unsigned
void HP_SQL_Free(struct Sql *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_Free_pre ) {
- void (*preHookFunc) (struct Sql *self);
+ void (*preHookFunc) (struct Sql **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_Free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_Free_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6414,11 +6414,11 @@ struct SqlStmt* HP_SQL_StmtMalloc(struct Sql *sql) {
int hIndex = 0;
struct SqlStmt* retVal___ = NULL;
if( HPMHooks.count.HP_SQL_StmtMalloc_pre ) {
- struct SqlStmt* (*preHookFunc) (struct Sql *sql);
+ struct SqlStmt* (*preHookFunc) (struct Sql **sql);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtMalloc_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtMalloc_pre[hIndex].func;
- retVal___ = preHookFunc(sql);
+ retVal___ = preHookFunc(&sql);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6441,12 +6441,12 @@ int HP_SQL_StmtPrepareV(struct SqlStmt *self, const char *query, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtPrepareV_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, const char *query, va_list args);
+ int (*preHookFunc) (struct SqlStmt **self, const char **query, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtPrepareV_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_SQL_StmtPrepareV_pre[hIndex].func;
- retVal___ = preHookFunc(self, query, args___copy);
+ retVal___ = preHookFunc(&self, &query, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -6474,11 +6474,11 @@ int HP_SQL_StmtPrepareStr(struct SqlStmt *self, const char *query) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtPrepareStr_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, const char *query);
+ int (*preHookFunc) (struct SqlStmt **self, const char **query);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtPrepareStr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtPrepareStr_pre[hIndex].func;
- retVal___ = preHookFunc(self, query);
+ retVal___ = preHookFunc(&self, &query);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6501,11 +6501,11 @@ size_t HP_SQL_StmtNumParams(struct SqlStmt *self) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNumParams_pre ) {
- size_t (*preHookFunc) (struct SqlStmt *self);
+ size_t (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNumParams_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNumParams_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6528,11 +6528,11 @@ int HP_SQL_StmtBindParam(struct SqlStmt *self, size_t idx, enum SqlDataType buff
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtBindParam_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, const void *buffer, size_t *buffer_len);
+ int (*preHookFunc) (struct SqlStmt **self, size_t *idx, enum SqlDataType *buffer_type, const void **buffer, size_t *buffer_len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtBindParam_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtBindParam_pre[hIndex].func;
- retVal___ = preHookFunc(self, &idx, &buffer_type, buffer, &buffer_len);
+ retVal___ = preHookFunc(&self, &idx, &buffer_type, &buffer, &buffer_len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6555,11 +6555,11 @@ int HP_SQL_StmtExecute(struct SqlStmt *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtExecute_pre ) {
- int (*preHookFunc) (struct SqlStmt *self);
+ int (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtExecute_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtExecute_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6582,11 +6582,11 @@ uint64 HP_SQL_StmtLastInsertId(struct SqlStmt *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtLastInsertId_pre ) {
- uint64 (*preHookFunc) (struct SqlStmt *self);
+ uint64 (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtLastInsertId_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtLastInsertId_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6609,11 +6609,11 @@ size_t HP_SQL_StmtNumColumns(struct SqlStmt *self) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNumColumns_pre ) {
- size_t (*preHookFunc) (struct SqlStmt *self);
+ size_t (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNumColumns_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNumColumns_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6636,11 +6636,11 @@ int HP_SQL_StmtBindColumn(struct SqlStmt *self, size_t idx, enum SqlDataType buf
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtBindColumn_pre ) {
- int (*preHookFunc) (struct SqlStmt *self, size_t *idx, enum SqlDataType *buffer_type, void *buffer, size_t *buffer_len, uint32 *out_length, int8 *out_is_null);
+ int (*preHookFunc) (struct SqlStmt **self, size_t *idx, enum SqlDataType *buffer_type, void **buffer, size_t *buffer_len, uint32 **out_length, int8 **out_is_null);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtBindColumn_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtBindColumn_pre[hIndex].func;
- retVal___ = preHookFunc(self, &idx, &buffer_type, buffer, &buffer_len, out_length, out_is_null);
+ retVal___ = preHookFunc(&self, &idx, &buffer_type, &buffer, &buffer_len, &out_length, &out_is_null);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6663,11 +6663,11 @@ uint64 HP_SQL_StmtNumRows(struct SqlStmt *self) {
int hIndex = 0;
uint64 retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNumRows_pre ) {
- uint64 (*preHookFunc) (struct SqlStmt *self);
+ uint64 (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNumRows_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNumRows_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6690,11 +6690,11 @@ int HP_SQL_StmtNextRow(struct SqlStmt *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_SQL_StmtNextRow_pre ) {
- int (*preHookFunc) (struct SqlStmt *self);
+ int (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtNextRow_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtNextRow_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6716,11 +6716,11 @@ int HP_SQL_StmtNextRow(struct SqlStmt *self) {
void HP_SQL_StmtFreeResult(struct SqlStmt *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_StmtFreeResult_pre ) {
- void (*preHookFunc) (struct SqlStmt *self);
+ void (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtFreeResult_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtFreeResult_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6742,11 +6742,11 @@ void HP_SQL_StmtFreeResult(struct SqlStmt *self) {
void HP_SQL_StmtFree(struct SqlStmt *self) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_StmtFree_pre ) {
- void (*preHookFunc) (struct SqlStmt *self);
+ void (*preHookFunc) (struct SqlStmt **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtFree_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtFree_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6768,11 +6768,11 @@ void HP_SQL_StmtFree(struct SqlStmt *self) {
void HP_SQL_StmtShowDebug_(struct SqlStmt *self, const char *debug_file, const unsigned long debug_line) {
int hIndex = 0;
if( HPMHooks.count.HP_SQL_StmtShowDebug__pre ) {
- void (*preHookFunc) (struct SqlStmt *self, const char *debug_file, const unsigned long *debug_line);
+ void (*preHookFunc) (struct SqlStmt **self, const char **debug_file, const unsigned long *debug_line);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_SQL_StmtShowDebug__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_SQL_StmtShowDebug__pre[hIndex].func;
- preHookFunc(self, debug_file, &debug_line);
+ preHookFunc(&self, &debug_file, &debug_line);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6822,11 +6822,11 @@ StringBuf* HP_StrBuf_Malloc(void) {
void HP_StrBuf_Init(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Init_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Init_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Init_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6849,12 +6849,12 @@ int HP_StrBuf_Vprintf(StringBuf *self, const char *fmt, va_list args) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_Vprintf_pre ) {
- int (*preHookFunc) (StringBuf *self, const char *fmt, va_list args);
+ int (*preHookFunc) (StringBuf **self, const char **fmt, va_list args);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Vprintf_pre; hIndex++ ) {
va_list args___copy; va_copy(args___copy, args);
preHookFunc = HPMHooks.list.HP_StrBuf_Vprintf_pre[hIndex].func;
- retVal___ = preHookFunc(self, fmt, args___copy);
+ retVal___ = preHookFunc(&self, &fmt, args___copy);
va_end(args___copy);
}
if( *HPMforce_return ) {
@@ -6882,11 +6882,11 @@ int HP_StrBuf_Append(StringBuf *self, const StringBuf *sbuf) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_Append_pre ) {
- int (*preHookFunc) (StringBuf *self, const StringBuf *sbuf);
+ int (*preHookFunc) (StringBuf **self, const StringBuf **sbuf);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Append_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Append_pre[hIndex].func;
- retVal___ = preHookFunc(self, sbuf);
+ retVal___ = preHookFunc(&self, &sbuf);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6909,11 +6909,11 @@ int HP_StrBuf_AppendStr(StringBuf *self, const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_AppendStr_pre ) {
- int (*preHookFunc) (StringBuf *self, const char *str);
+ int (*preHookFunc) (StringBuf **self, const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_AppendStr_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_AppendStr_pre[hIndex].func;
- retVal___ = preHookFunc(self, str);
+ retVal___ = preHookFunc(&self, &str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6936,11 +6936,11 @@ int HP_StrBuf_Length(StringBuf *self) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_StrBuf_Length_pre ) {
- int (*preHookFunc) (StringBuf *self);
+ int (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Length_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Length_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6963,11 +6963,11 @@ char* HP_StrBuf_Value(StringBuf *self) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_StrBuf_Value_pre ) {
- char* (*preHookFunc) (StringBuf *self);
+ char* (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Value_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Value_pre[hIndex].func;
- retVal___ = preHookFunc(self);
+ retVal___ = preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -6989,11 +6989,11 @@ char* HP_StrBuf_Value(StringBuf *self) {
void HP_StrBuf_Clear(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Clear_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Clear_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Clear_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7015,11 +7015,11 @@ void HP_StrBuf_Clear(StringBuf *self) {
void HP_StrBuf_Destroy(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Destroy_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Destroy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Destroy_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7041,11 +7041,11 @@ void HP_StrBuf_Destroy(StringBuf *self) {
void HP_StrBuf_Free(StringBuf *self) {
int hIndex = 0;
if( HPMHooks.count.HP_StrBuf_Free_pre ) {
- void (*preHookFunc) (StringBuf *self);
+ void (*preHookFunc) (StringBuf **self);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_StrBuf_Free_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_StrBuf_Free_pre[hIndex].func;
- preHookFunc(self);
+ preHookFunc(&self);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7069,11 +7069,11 @@ char* HP_strlib_jstrescape(char *pt) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_jstrescape_pre ) {
- char* (*preHookFunc) (char *pt);
+ char* (*preHookFunc) (char **pt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jstrescape_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_jstrescape_pre[hIndex].func;
- retVal___ = preHookFunc(pt);
+ retVal___ = preHookFunc(&pt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7096,11 +7096,11 @@ char* HP_strlib_jstrescapecpy(char *pt, const char *spt) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_jstrescapecpy_pre ) {
- char* (*preHookFunc) (char *pt, const char *spt);
+ char* (*preHookFunc) (char **pt, const char **spt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jstrescapecpy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_jstrescapecpy_pre[hIndex].func;
- retVal___ = preHookFunc(pt, spt);
+ retVal___ = preHookFunc(&pt, &spt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7123,11 +7123,11 @@ int HP_strlib_jmemescapecpy(char *pt, const char *spt, int size) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_jmemescapecpy_pre ) {
- int (*preHookFunc) (char *pt, const char *spt, int *size);
+ int (*preHookFunc) (char **pt, const char **spt, int *size);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_jmemescapecpy_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_jmemescapecpy_pre[hIndex].func;
- retVal___ = preHookFunc(pt, spt, &size);
+ retVal___ = preHookFunc(&pt, &spt, &size);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7150,11 +7150,11 @@ int HP_strlib_remove_control_chars_(char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_remove_control_chars__pre ) {
- int (*preHookFunc) (char *str);
+ int (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_remove_control_chars__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_remove_control_chars__pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7177,11 +7177,11 @@ char* HP_strlib_trim_(char *str) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_trim__pre ) {
- char* (*preHookFunc) (char *str);
+ char* (*preHookFunc) (char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_trim__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_trim__pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7204,11 +7204,11 @@ char* HP_strlib_normalize_name_(char *str, const char *delims) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_normalize_name__pre ) {
- char* (*preHookFunc) (char *str, const char *delims);
+ char* (*preHookFunc) (char **str, const char **delims);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_normalize_name__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_normalize_name__pre[hIndex].func;
- retVal___ = preHookFunc(str, delims);
+ retVal___ = preHookFunc(&str, &delims);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7231,11 +7231,11 @@ const char* HP_strlib_stristr_(const char *haystack, const char *needle) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_stristr__pre ) {
- const char* (*preHookFunc) (const char *haystack, const char *needle);
+ const char* (*preHookFunc) (const char **haystack, const char **needle);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_stristr__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_stristr__pre[hIndex].func;
- retVal___ = preHookFunc(haystack, needle);
+ retVal___ = preHookFunc(&haystack, &needle);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7258,11 +7258,11 @@ size_t HP_strlib_strnlen_(const char *string, size_t maxlen) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_strlib_strnlen__pre ) {
- size_t (*preHookFunc) (const char *string, size_t *maxlen);
+ size_t (*preHookFunc) (const char **string, size_t *maxlen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strnlen__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_strnlen__pre[hIndex].func;
- retVal___ = preHookFunc(string, &maxlen);
+ retVal___ = preHookFunc(&string, &maxlen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7285,11 +7285,11 @@ char* HP_strlib_strtok_r_(char *s1, const char *s2, char **lasts) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_strtok_r__pre ) {
- char* (*preHookFunc) (char *s1, const char *s2, char **lasts);
+ char* (*preHookFunc) (char **s1, const char **s2, char ***lasts);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strtok_r__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_strtok_r__pre[hIndex].func;
- retVal___ = preHookFunc(s1, s2, lasts);
+ retVal___ = preHookFunc(&s1, &s2, &lasts);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7312,11 +7312,11 @@ int HP_strlib_e_mail_check_(char *email) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_e_mail_check__pre ) {
- int (*preHookFunc) (char *email);
+ int (*preHookFunc) (char **email);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_e_mail_check__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_e_mail_check__pre[hIndex].func;
- retVal___ = preHookFunc(email);
+ retVal___ = preHookFunc(&email);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7339,11 +7339,11 @@ int HP_strlib_config_switch_(const char *str) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_config_switch__pre ) {
- int (*preHookFunc) (const char *str);
+ int (*preHookFunc) (const char **str);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_config_switch__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_config_switch__pre[hIndex].func;
- retVal___ = preHookFunc(str);
+ retVal___ = preHookFunc(&str);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7366,11 +7366,11 @@ char* HP_strlib_safestrncpy_(char *dst, const char *src, size_t n) {
int hIndex = 0;
char* retVal___ = NULL;
if( HPMHooks.count.HP_strlib_safestrncpy__pre ) {
- char* (*preHookFunc) (char *dst, const char *src, size_t *n);
+ char* (*preHookFunc) (char **dst, const char **src, size_t *n);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_safestrncpy__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_safestrncpy__pre[hIndex].func;
- retVal___ = preHookFunc(dst, src, &n);
+ retVal___ = preHookFunc(&dst, &src, &n);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7393,11 +7393,11 @@ size_t HP_strlib_safestrnlen_(const char *string, size_t maxlen) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_strlib_safestrnlen__pre ) {
- size_t (*preHookFunc) (const char *string, size_t *maxlen);
+ size_t (*preHookFunc) (const char **string, size_t *maxlen);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_safestrnlen__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_safestrnlen__pre[hIndex].func;
- retVal___ = preHookFunc(string, &maxlen);
+ retVal___ = preHookFunc(&string, &maxlen);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7420,11 +7420,11 @@ int HP_strlib_strline_(const char *str, size_t pos) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_strlib_strline__pre ) {
- int (*preHookFunc) (const char *str, size_t *pos);
+ int (*preHookFunc) (const char **str, size_t *pos);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_strlib_strline__pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_strlib_strline__pre[hIndex].func;
- retVal___ = preHookFunc(str, &pos);
+ retVal___ = preHookFunc(&str, &pos);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7447,11 +7447,11 @@ 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, const 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;
- retVal___ = preHookFunc(output, input, &count);
+ retVal___ = preHookFunc(&output, &input, &count);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7475,11 +7475,11 @@ int HP_sv_parse_next(struct s_svstate *svstate) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sv_parse_next_pre ) {
- int (*preHookFunc) (struct s_svstate *svstate);
+ int (*preHookFunc) (struct s_svstate **svstate);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_parse_next_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_parse_next_pre[hIndex].func;
- retVal___ = preHookFunc(svstate);
+ retVal___ = preHookFunc(&svstate);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7502,11 +7502,11 @@ int HP_sv_parse(const char *str, int len, int startoff, char delim, int *out_pos
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sv_parse_pre ) {
- int (*preHookFunc) (const char *str, int *len, int *startoff, char *delim, int *out_pos, int *npos, enum e_svopt *opt);
+ int (*preHookFunc) (const char **str, int *len, int *startoff, char *delim, int **out_pos, int *npos, enum e_svopt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_parse_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_parse_pre[hIndex].func;
- retVal___ = preHookFunc(str, &len, &startoff, &delim, out_pos, &npos, &opt);
+ retVal___ = preHookFunc(&str, &len, &startoff, &delim, &out_pos, &npos, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7529,11 +7529,11 @@ int HP_sv_split(char *str, int len, int startoff, char delim, char **out_fields,
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_sv_split_pre ) {
- int (*preHookFunc) (char *str, int *len, int *startoff, char *delim, char **out_fields, int *nfields, enum e_svopt *opt);
+ int (*preHookFunc) (char **str, int *len, int *startoff, char *delim, char ***out_fields, int *nfields, enum e_svopt *opt);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_split_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_split_pre[hIndex].func;
- retVal___ = preHookFunc(str, &len, &startoff, &delim, out_fields, &nfields, &opt);
+ retVal___ = preHookFunc(&str, &len, &startoff, &delim, &out_fields, &nfields, &opt);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7556,11 +7556,11 @@ size_t HP_sv_escape_c(char *out_dest, const char *src, size_t len, const char *e
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_sv_escape_c_pre ) {
- size_t (*preHookFunc) (char *out_dest, const char *src, size_t *len, const char *escapes);
+ size_t (*preHookFunc) (char **out_dest, const char **src, size_t *len, const char **escapes);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_escape_c_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_escape_c_pre[hIndex].func;
- retVal___ = preHookFunc(out_dest, src, &len, escapes);
+ retVal___ = preHookFunc(&out_dest, &src, &len, &escapes);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7583,11 +7583,11 @@ size_t HP_sv_unescape_c(char *out_dest, const char *src, size_t len) {
int hIndex = 0;
size_t retVal___ = 0;
if( HPMHooks.count.HP_sv_unescape_c_pre ) {
- size_t (*preHookFunc) (char *out_dest, const char *src, size_t *len);
+ size_t (*preHookFunc) (char **out_dest, const char **src, size_t *len);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_unescape_c_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_unescape_c_pre[hIndex].func;
- retVal___ = preHookFunc(out_dest, src, &len);
+ retVal___ = preHookFunc(&out_dest, &src, &len);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7610,11 +7610,11 @@ const char* HP_sv_skip_escaped_c(const char *p) {
int hIndex = 0;
const char* retVal___ = NULL;
if( HPMHooks.count.HP_sv_skip_escaped_c_pre ) {
- const char* (*preHookFunc) (const char *p);
+ const char* (*preHookFunc) (const char **p);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_skip_escaped_c_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_skip_escaped_c_pre[hIndex].func;
- retVal___ = preHookFunc(p);
+ retVal___ = preHookFunc(&p);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -7637,11 +7637,11 @@ bool HP_sv_readdb(const char *directory, const char *filename, char delim, int m
int hIndex = 0;
bool retVal___ = false;
if( HPMHooks.count.HP_sv_readdb_pre ) {
- bool (*preHookFunc) (const char *directory, const char *filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( *parseproc ) (char *fields[], int columns, int current));
+ bool (*preHookFunc) (const char **directory, const char **filename, char *delim, int *mincols, int *maxcols, int *maxrows, bool ( **parseproc ) (char *fields[], int columns, int current));
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_sv_readdb_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_sv_readdb_pre[hIndex].func;
- retVal___ = preHookFunc(directory, filename, &delim, &mincols, &maxcols, &maxrows, parseproc);
+ retVal___ = preHookFunc(&directory, &filename, &delim, &mincols, &maxcols, &maxrows, &parseproc);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -8365,11 +8365,11 @@ int HP_timer_add_func_list(TimerFunc func, char *name) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_timer_add_func_list_pre ) {
- int (*preHookFunc) (TimerFunc *func, char *name);
+ int (*preHookFunc) (TimerFunc *func, char **name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_timer_add_func_list_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_timer_add_func_list_pre[hIndex].func;
- retVal___ = preHookFunc(&func, name);
+ retVal___ = preHookFunc(&func, &name);
}
if( *HPMforce_return ) {
*HPMforce_return = false;