version 1.4, 2015/12/16 21:50:37 |
version 1.5, 2016/10/10 21:29:23 |
|
|
}; |
}; |
|
|
static int hooks_cmp(struct hook *, struct hook *); |
static int hooks_cmp(struct hook *, struct hook *); |
RB_PROTOTYPE(hooks_tree, hook, entry, hooks_cmp); |
RB_GENERATE_STATIC(hooks_tree, hook, entry, hooks_cmp); |
RB_GENERATE(hooks_tree, hook, entry, hooks_cmp); |
|
|
|
static struct hook *hooks_find1(struct hooks *, const char *); |
static struct hook *hooks_find1(struct hooks *, const char *); |
static void hooks_free1(struct hooks *, struct hook *); |
static void hooks_free1(struct hooks *, struct hook *); |