resource_callback
(void) hp_traverse(root, &arg, resource_callback);
static int resource_callback(hp_node_t node, void *argp);