| 37 | }; |
| 38 | |
| 39 | static struct plugin_hook **get_hooks(size_t *num) |
| 40 | { |
| 41 | static struct plugin_hook **hooks = NULL; |
| 42 | static size_t num_hooks; |
| 43 | if (!hooks) |
| 44 | hooks = autodata_get(hooks, &num_hooks); |
| 45 | *num = num_hooks; |
| 46 | return hooks; |
| 47 | } |
| 48 | |
| 49 | static struct plugin_hook *plugin_hook_by_name(const char *name) |
| 50 | { |
no outgoing calls
no test coverage detected