]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.h
Fix tracing for tdb_chainunlock.
[ccan] / tools / tools.h
index a7612c7a4022043f76c40e929dbc362fddc1ef58..4bdb8077e26c82b3f6934877a2b7f82706ccf0e0 100644 (file)
@@ -2,12 +2,18 @@
 #define CCAN_TOOLS_H
 #include <stdbool.h>
 
+#define IDENT_CHARS    "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
+                       "abcdefghijklmnopqrstuvwxyz" \
+                       "01234567889_"
+
+#define SPACE_CHARS    " \f\n\r\t\v"
+
 #define CFLAGS "-O3 -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I."
 
-/* This actually compiles and runs the _info.c file to get dependencies. */
+/* This actually compiles and runs the info file to get dependencies. */
 char **get_deps(const void *ctx, const char *dir, bool recurse);
 
-/* This is safer: just looks for ccan/ strings in _info.c */
+/* This is safer: just looks for ccan/ strings in info */
 char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse);
 
 #endif /* CCAN_TOOLS_H */