| 1522 | } |
| 1523 | |
| 1524 | static struct plugin_opt *plugin_opt_find(const struct plugin *plugin, |
| 1525 | const char *name) |
| 1526 | { |
| 1527 | struct plugin_opt *opt; |
| 1528 | |
| 1529 | list_for_each(&plugin->plugin_opts, opt, list) { |
| 1530 | if (streq(opt->name + 2, name)) |
| 1531 | return opt; |
| 1532 | } |
| 1533 | return NULL; |
| 1534 | } |
| 1535 | |
| 1536 | /* Find the plugin_opt for this ot */ |
| 1537 | static struct plugin *plugin_opt_find_any(const struct plugins *plugins, |
no outgoing calls
no test coverage detected