| 1510 | } |
| 1511 | |
| 1512 | static struct plugin_opt *plugin_opt_find(const struct plugin *plugin, |
| 1513 | const char *name) |
| 1514 | { |
| 1515 | struct plugin_opt *opt; |
| 1516 | |
| 1517 | list_for_each(&plugin->plugin_opts, opt, list) { |
| 1518 | if (streq(opt->name + 2, name)) |
| 1519 | return opt; |
| 1520 | } |
| 1521 | return NULL; |
| 1522 | } |
| 1523 | |
| 1524 | /* Find the plugin_opt for this ot */ |
| 1525 | static struct plugin *plugin_opt_find_any(const struct plugins *plugins, |
no outgoing calls
no test coverage detected