1 #ifndef CCAN_OPT_TEST_UTILS_H
2 #define CCAN_OPT_TEST_UTILS_H
3 #include <ccan/opt/opt.h>
6 bool parse_args(int *argc, char ***argv, ...);
7 extern char *err_output;
9 extern unsigned int test_cb_called;
10 char *test_noarg(void *arg);
11 char *test_arg(const char *optarg, const char *arg);
12 void show_arg(char buf[OPT_SHOW_LEN], const char *arg);
14 extern struct opt_table short_table[];
15 extern struct opt_table long_table[];
16 extern struct opt_table long_and_short_table[];
17 extern struct opt_table subtables[];
18 #endif /* CCAN_OPT_TEST_UTILS_H */