]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
tools: more intelligent caching for compile _info.
[ccan] / tools / ccanlint / ccanlint.h
index 6fcca5fa8eb26fbf40153e244a27c4d9e66e0922..954bb30a0b9d06782bdd1c3ecc817666c21b1673 100644 (file)
@@ -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 */