X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=954bb30a0b9d06782bdd1c3ecc817666c21b1673;hb=d379e0ae835bdd047a5d277f7ded41f180134e27;hp=6fcca5fa8eb26fbf40153e244a27c4d9e66e0922;hpb=d8c9fdc0e6b70ab4fced949ee6488dc585a711f4;p=ccan diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 6fcca5fa..954bb30a 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -164,6 +164,9 @@ void compile_and_link_async(const void *ctx, unsigned int time_ms, /* Get results of a command, returning ctx (and free it). */ void *collect_command(bool *ok, char **output); +/* Find manifest for this dir and return compiled _info filename. */ +char *get_or_compile_info(const void *ctx, const char *dir); + /* Normal tests. */ extern struct ccanlint trailing_whitespace; @@ -191,4 +194,7 @@ extern const char *compiler, *cflags; /* Contents of config.h (or NULL if not found) */ extern const char *config_header; +/* Where is the ccan dir? */ +extern const char *ccan_dir; + #endif /* CCAN_LINT_H */