Lines Matching refs:options
48 } options = { variable
67 options.test_no = atoi(argv[count]); in getopts()
73 options.connection = argv[count]; in getopts()
74 printf("\nSetting connection to %s\n", options.connection); in getopts()
81 options.hacount = 0; in getopts()
82 options.haconnections = malloc(sizeof(char*) * 5); in getopts()
84 options.haconnections[options.hacount] = malloc(strlen(tok) + 1); in getopts()
85 strcpy(options.haconnections[options.hacount], tok); in getopts()
86 options.hacount++; in getopts()
93 options.verbose = 1; in getopts()
113 if (LOGA_level == LOGA_DEBUG && options.verbose == 0) { in MyLog()
305 int test1(struct Options options) in test1() argument
349 int test2(struct Options options) in test2() argument
407 int test3(struct Options options) in test3() argument
461 int test4(struct Options options) in test4() argument
506 int test5(struct Options options) in test5() argument
554 int test6(struct Options options) in test6() argument
598 if (options.test_no == 0) { /* run all the tests */ in main()
599 for (options.test_no = 1; options.test_no < ARRAY_SIZE(tests); ++options.test_no) { in main()
600 … rc += tests[options.test_no](options); /* return number of failures. 0 = test succeeded */ in main()
603 rc = tests[options.test_no](options); /* run just the selected test */ in main()