| 9207 | } |
| 9208 | |
| 9209 | static void print_detected_registry_agents(const char *home, bool *any) { |
| 9210 | cbm_agent_registry_context_t registry; |
| 9211 | cbm_init_agent_registry_context(home, ®istry); |
| 9212 | for (size_t index = 0U; index < cbm_agent_client_count(); index++) { |
| 9213 | const cbm_agent_client_profile_t *profile = cbm_agent_client_at(index); |
| 9214 | if (profile && |
| 9215 | (!g_client_selection || |
| 9216 | cli_clients_selects_registry_client(g_client_selection, profile->id)) && |
| 9217 | cbm_agent_client_detect(profile->id, ®istry.options)) { |
| 9218 | printf(" %s", profile->display_name); |
| 9219 | *any = true; |
| 9220 | } |
| 9221 | } |
| 9222 | } |
| 9223 | |
| 9224 | static void cbm_agent_installed_binary_path(const char *home, char *binary_path, |
| 9225 | size_t binary_path_size) { |
no test coverage detected