]> git.ozlabs.org Git - ccan/blob - ccan/opt/private.h
b1a189234974bb8250102cd3a073f00b6bb503e2
[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;
6
7 extern const char *opt_argv0;
8
9 #define subtable_of(entry) ((struct opt_table *)((entry)->longopt))
10
11 #endif /* CCAN_OPT_PRIVATE_H */