]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.h
tools: add testdepends handling in _info.
[ccan] / tools / tools.h
index 56e9de610620a0c944da84fc7f58337c3ae66393..7368e93208688291e8ea1eaa1ee9e1a2574a1bb6 100644 (file)
 char *compile_info(const void *ctx, const char *dir);
 
 /* This actually compiles and runs the info file to get dependencies. */
-char **get_deps(const void *ctx, const char *dir, bool recurse,
+char **get_deps(const void *ctx, const char *dir, const char *style,
+               bool recurse,
                char *(*get_info)(const void *ctx, const char *dir));
 
 /* This is safer: just looks for ccan/ strings in info */
-char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse);
+char **get_safe_ccan_deps(const void *ctx, const char *dir, const char *style,
+                         bool recurse);
 
 /* This also needs to compile the info file. */
 char **get_libs(const void *ctx, const char *dir, bool recurse,