| 71 | } |
| 72 | |
| 73 | static void destroy_hook_instance(struct hook_instance *h, |
| 74 | struct plugin_hook *hook) |
| 75 | { |
| 76 | /* NULL it out. */ |
| 77 | remove_hook_instance(h, hook->hooks); |
| 78 | |
| 79 | /* If there's a pending set of hooks, remove ourselves there too! */ |
| 80 | if (hook->new_hooks) |
| 81 | remove_hook_instance(h, hook->new_hooks); |
| 82 | } |
| 83 | |
| 84 | /* Filters in an array of strings */ |
| 85 | static const char *parse_str_filters(const tal_t *ctx, |
nothing calls this directly
no test coverage detected