| 1656 | |
| 1657 | |
| 1658 | void 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 | |
| 1678 | declare_proto_rot(get_conf) |
| 1679 | { |
no test coverage detected