X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=7e2598c3167559df675c71df2f9d6ebcf624464a;hp=60707499efcf559b2848d1778763eeba809ffa67;hb=608148436caa82ffe78d758253c6b7eb5232cb70;hpb=0248fa2c84bdf4b5117d2672a68d89505aacae8f diff --git a/tools/tools.h b/tools/tools.h index 60707499..7e2598c3 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -43,6 +43,12 @@ char **get_safe_ccan_deps(const void *ctx, const char *dir, const char *style, char **get_libs(const void *ctx, const char *dir, const char *style, char *(*get_info)(const void *ctx, const char *dir)); +char **get_cflags(const void *ctx, const char *dir, + char *(*get_info)(const void *ctx, const char *dir)); + +bool get_ported(const void *ctx, const char *dir, bool recurse, + char *(*get_info)(const void *ctx, const char *dir)); + /* From tools.c */ /* If set, print all commands run, all output they give and exit status. */ extern bool tools_verbose; @@ -57,7 +63,6 @@ void keep_temp_dir(void); bool move_file(const char *oldname, const char *newname); void *do_tal_realloc(void *p, size_t size); -void *tal_grab_file(const void *ctx, const char *filename, size_t *size); /* Freed on exit: a good parent for auto cleanup. */ tal_t *autofree(void);