tools.h 652 B

1234567891011121314151617181920
  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 SPACE_CHARS " \f\n\r\t\v"
  8. #define CFLAGS "-O3 -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I."
  9. /* This actually compiles and runs the _info.c file to get dependencies. */
  10. char **get_deps(const void *ctx, const char *dir, bool recurse);
  11. /* This is safer: just looks for ccan/ strings in _info.c */
  12. char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse);
  13. #endif /* CCAN_TOOLS_H */