int h_conf_read_end;
int h_outbound_msgbuf;
int h_rehash;
+int h_priv_change;
+int h_cap_change;
void
init_hook(void)
h_conf_read_end = register_hook("conf_read_end");
h_outbound_msgbuf = register_hook("outbound_msgbuf");
h_rehash = register_hook("rehash");
+ h_priv_change = register_hook("priv_change");
+ h_cap_change = register_hook("cap_change");
}
/* grow_hooktable()
RB_DLINK_FOREACH(ptr, hooks[i].hooks.head)
{
struct hook_entry *o = ptr->data;
- if (entry->priority < o->priority)
+ if (entry->priority <= o->priority)
{
rb_dlinkAddBefore(ptr, entry, &entry->node, &hooks[i].hooks);
return;