Displaying 1 result from an estimated 1 matches for "reg_common_open_loc".
Did you mean:
reg_common_open_local
2009 Mar 23
0
regpatch problem ?
...one
What about something like that ?
if (remote) {
h = reg_common_open_remote (remote, ev_ctx, cmdline_lp_ctx,
cmdline_credentials);
+ } else if (file != NULL) {
+ start_key = reg_common_open_file(file, ev_ctx, cmdline_lp_ctx,
cmdline_credentials);
} else {
h = reg_common_open_local (cmdline_credentials, ev_ctx,
cmdline_lp_ctx);
}
But the problem is that start_key is a reg_key struct, and
reg_diff_apply needs a reg_context struct, so start_key has to be
"mounted" over a predefined key, passed by the user ? maybe by an option
: -K, for example :
regpatch...