]> git.ozlabs.org Git - ccan/blob - ccan/opt/private.h
5d9eca23a0ddf55b81f812009b2b09e0fed104d7
[ccan] / ccan / opt / private.h
1 #ifndef CCAN_OPT_PRIVATE_H
2 #define CCAN_OPT_PRIVATE_H
3
4 extern struct opt_table *opt_table;
5 extern unsigned int opt_count, opt_num_short, opt_num_short_arg, opt_num_long;
6
7 extern const char *opt_argv0;
8
9 #define subtable_of(entry) ((struct opt_table *)((entry)->names))
10
11 const char *first_sopt(unsigned *i);
12 const char *next_sopt(const char *names, unsigned *i);
13
14 #endif /* CCAN_OPT_PRIVATE_H */