tools.h 617 B

123456789101112131415161718
  1. #ifndef CCAN_TOOLS_H
  2. #define CCAN_TOOLS_H
  3. #include <stdbool.h>
  4. #define IDENT_CHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
  5. "abcdefghijklmnopqrstuvwxyz" \
  6. "01234567889_"
  7. #define CFLAGS "-O3 -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I."
  8. /* This actually compiles and runs the _info.c file to get dependencies. */
  9. char **get_deps(const void *ctx, const char *dir, bool recurse);
  10. /* This is safer: just looks for ccan/ strings in _info.c */
  11. char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse);
  12. #endif /* CCAN_TOOLS_H */