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

Function parse_arg

tests/rigctl_parse.c:546–559  ·  view source on GitHub ↗

* TODO: use Lex? */

Source from the content-addressed store, hash-verified

544 * TODO: use Lex?
545 */
546static char parse_arg(const char *arg)
547{
548 int i;
549
550 for (i = 0; test_list[i].cmd != 0x00; i++)
551 {
552 if (!strncmp(arg, test_list[i].name, MAXNAMSIZ))
553 {
554 return test_list[i].cmd;
555 }
556 }
557
558 return 0;
559}
560
561
562/*

Callers 1

rigctl_parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected