X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=9fd1e1f6b908e4f7a004d5b89b74198fcef84f04;hp=6ac4e66fcbc78b865e655d0182f4a4e7ead6cb0f;hb=61088f5c752c555172e2ab6cf93a7967f79f3f2c;hpb=3460418c419dfcc84316ad65497b0a00950480b9 diff --git a/tools/tools.h b/tools/tools.h index 6ac4e66f..9fd1e1f6 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -19,7 +19,13 @@ char **get_deps(const void *ctx, const char *dir, const char *name, char **get_safe_ccan_deps(const void *ctx, const char *dir, const char *name, bool recurse); +/* This also needs to compile the info file. */ +char **get_libs(const void *ctx, const char *dir, + const char *name, unsigned int *num); + +/* From tools.c */ char *talloc_basename(const void *ctx, const char *dir); char *talloc_dirname(const void *ctx, const char *dir); char *talloc_getcwd(const void *ctx); +char *run_command(const void *ctx, const char *fmt, ...); #endif /* CCAN_TOOLS_H */