| 2168 | |
| 2169 | |
| 2170 | void list_models() |
| 2171 | { |
| 2172 | int status; |
| 2173 | |
| 2174 | rig_load_all_backends(); |
| 2175 | |
| 2176 | printf(" Rig # Mfg Model Version Status Macro\n"); |
| 2177 | status = rig_list_foreach(hash_model_list, NULL); |
| 2178 | |
| 2179 | if (status != RIG_OK) |
| 2180 | { |
| 2181 | fprintf(stderr, "rig_list_foreach: error = %s \n", rigerror2(status)); |
| 2182 | exit(2); |
| 2183 | } |
| 2184 | |
| 2185 | hash_sort_by_model_id(); |
| 2186 | print_model_list(); |
| 2187 | hash_delete_all(); |
| 2188 | } |
| 2189 | |
| 2190 | /* |
| 2191 | * static int (f)(RIG *rig, FILE *fout, int interactive, const struct test_table *cmd, |
nothing calls this directly
no test coverage detected