Add --function= arg to doc_extract so we can use it on normal ccan C
[ccan] / tools / tools.h
1 #ifndef CCAN_TOOLS_H
2 #define CCAN_TOOLS_H
3 #include <stdbool.h>
4
5 #define IDENT_CHARS     "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
6                         "abcdefghijklmnopqrstuvwxyz" \
7                         "01234567889_"
8
9 #define CFLAGS "-O3 -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I."
10
11 /* This actually compiles and runs the _info.c file to get dependencies. */
12 char **get_deps(const void *ctx, const char *dir, bool recurse);
13
14 /* This is safer: just looks for ccan/ strings in _info.c */
15 char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse);
16
17 #endif /* CCAN_TOOLS_H */
18