X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Ftools.h;h=cfbe871f9bfb0228016f1e2ab80f0085480592ae;hb=3022d16de40870c66c891a4aa75280e194ddf89f;hp=60707499efcf559b2848d1778763eeba809ffa67;hpb=0248fa2c84bdf4b5117d2672a68d89505aacae8f;p=ccan diff --git a/tools/tools.h b/tools/tools.h index 60707499..cfbe871f 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -43,6 +43,9 @@ 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)); + /* From tools.c */ /* If set, print all commands run, all output they give and exit status. */ extern bool tools_verbose; @@ -57,7 +60,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);