i = register_hook(name);
- dlinkAddAlloc(fn, &hooks[i].hooks);
+ rb_dlinkAddAlloc(fn, &hooks[i].hooks);
}
/* remove_hook()
if((i = find_hook(name)) < 0)
return;
- dlinkFindDestroy(fn, &hooks[i].hooks);
+ rb_dlinkFindDestroy(fn, &hooks[i].hooks);
}
/* call_hook()
call_hook(int id, void *arg)
{
hookfn fn;
- dlink_node *ptr;
+ rb_dlink_node *ptr;
/* The ID we were passed is the position in the hook table of this
* hook