X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;fp=tools%2Ftools.h;h=7368e93208688291e8ea1eaa1ee9e1a2574a1bb6;hp=56e9de610620a0c944da84fc7f58337c3ae66393;hb=1842f55199e6a5da273ca21b6fbe8afa6ecdfe11;hpb=166e9c6200bcc9e5a94b2e3ba46f202d2bbde1c0 diff --git a/tools/tools.h b/tools/tools.h index 56e9de61..7368e932 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -23,11 +23,13 @@ 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,