| 109 | } |
| 110 | |
| 111 | static bool plugins_any_in_state(const struct plugins *plugins, |
| 112 | enum plugin_state state) |
| 113 | { |
| 114 | const struct plugin *p; |
| 115 | |
| 116 | list_for_each(&plugins->plugins, p, list) { |
| 117 | if (p->plugin_state == state) |
| 118 | return true; |
| 119 | } |
| 120 | return false; |
| 121 | } |
| 122 | |
| 123 | static bool plugins_all_in_state(const struct plugins *plugins, |
| 124 | enum plugin_state state) |
no outgoing calls
no test coverage detected