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

Function main

tests/listrigs.c:88–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87
88int main(int argc, char *argv[])
89{
90 int status;
91
92 rig_load_all_backends();
93
94 printf(" Rig# \tMfg \tModel \tVersion \tStatus \tType \tMacro\n");
95
96 status = rig_list_foreach(print_caps_sum, NULL);
97
98 if (status != RIG_OK)
99 {
100 printf("rig_list_foreach: error = %s \n", rigerror(status));
101 exit(3);
102 }
103
104 return 0;
105}

Callers

nothing calls this directly

Calls 3

rig_load_all_backendsFunction · 0.85
rig_list_foreachFunction · 0.85
rigerrorFunction · 0.85

Tested by

no test coverage detected