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

Function list_models

tests/rotctl_parse.c:1658–1676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1656
1657
1658void list_models()
1659{
1660 int status;
1661
1662 rot_load_all_backends();
1663
1664 printf(" Rot # Mfg Model Version Status Macro\n");
1665 status = rot_list_foreach(hash_model_list, NULL);
1666
1667 if (status != RIG_OK)
1668 {
1669 fprintf(stderr, "rot_list_foreach: error = %s \n", rigerror2(status));
1670 exit(2);
1671 }
1672
1673 hash_sort_by_model_id();
1674 print_model_list();
1675 hash_delete_all();
1676}
1677
1678declare_proto_rot(get_conf)
1679{

Callers 9

mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70

Calls 6

rot_load_all_backendsFunction · 0.85
rot_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