| 112 | } |
| 113 | |
| 114 | static bool plugins_all_in_state(const struct plugins *plugins, |
| 115 | enum plugin_state state) |
| 116 | { |
| 117 | const struct plugin *p; |
| 118 | |
| 119 | list_for_each(&plugins->plugins, p, list) { |
| 120 | if (p->plugin_state != state) |
| 121 | return false; |
| 122 | } |
| 123 | return true; |
| 124 | } |
| 125 | |
| 126 | /* Once they've all replied with their manifests, we can order them. */ |
| 127 | static void check_plugins_manifests(struct plugins *plugins, |
no outgoing calls
no test coverage detected