MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / list_models

Function list_models

tests/ampctl_parse.c:1574–1592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572
1573
1574void list_models()
1575{
1576 int status;
1577
1578 amp_load_all_backends();
1579
1580 printf(" Amp # Mfg Model Version Status Macro\n");
1581 status = amp_list_foreach(hash_model_list, NULL);
1582
1583 if (status != RIG_OK)
1584 {
1585 fprintf(stderr, "amp_list_foreach: error = %s \n", rigerror2(status));
1586 exit(2);
1587 }
1588
1589 hash_sort_by_model_id();
1590 print_model_list();
1591 hash_delete_all();
1592}
1593
1594int set_conf(AMP *my_amp, char *conf_parms)
1595{

Callers

nothing calls this directly

Calls 6

amp_load_all_backendsFunction · 0.85
amp_list_foreachFunction · 0.85
rigerror2Function · 0.85
hash_sort_by_model_idFunction · 0.70
print_model_listFunction · 0.70
hash_delete_allFunction · 0.70

Tested by

no test coverage detected