| 121 | } |
| 122 | |
| 123 | static bool plugins_all_in_state(const struct plugins *plugins, |
| 124 | enum plugin_state state) |
| 125 | { |
| 126 | const struct plugin *p; |
| 127 | |
| 128 | list_for_each(&plugins->plugins, p, list) { |
| 129 | if (p->plugin_state != state) |
| 130 | return false; |
| 131 | } |
| 132 | return true; |
| 133 | } |
| 134 | |
| 135 | /* Once they've all replied with their manifests, we can order them. */ |
| 136 | static void check_plugins_manifests(struct plugins *plugins) |
no outgoing calls
no test coverage detected