| 7863 | } |
| 7864 | |
| 7865 | static void print_detected_registry_agents(const char *home, bool *any) { |
| 7866 | cbm_agent_registry_context_t registry; |
| 7867 | cbm_init_agent_registry_context(home, ®istry); |
| 7868 | for (size_t index = 0U; index < cbm_agent_client_count(); index++) { |
| 7869 | const cbm_agent_client_profile_t *profile = cbm_agent_client_at(index); |
| 7870 | if (profile && cbm_agent_client_detect(profile->id, ®istry.options)) { |
| 7871 | printf(" %s", profile->display_name); |
| 7872 | *any = true; |
| 7873 | } |
| 7874 | } |
| 7875 | } |
| 7876 | |
| 7877 | static void cbm_agent_installed_binary_path(const char *home, char *binary_path, |
| 7878 | size_t binary_path_size) { |
no test coverage detected