- reh_register(__PACKAGE__ "::custom", reht_custom_comp, reht_custom_exec);
- reht_custom_var = NULL;
+ {
+ reh_config custom_cfg;
+ custom_cfg.comp_node = reht_custom_comp_node;
+ custom_cfg.exec_node = reht_custom_exec_node;
+ reh_register(__PACKAGE__ "::custom", &custom_cfg);
+ reht_custom_var = NULL;
+ }