]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.h
tools: explicit find_ccan_dir()
[ccan] / tools / tools.h
index 4ac9818307212ed790d5008061a79f06a2084744..8d1ae04887493206107990ec810c209e475f1cb0 100644 (file)
@@ -75,4 +75,6 @@ extern const unsigned int default_timeout_ms;
 /* Talloc destructor which unlinks file. */
 int unlink_file_destructor(char *filename);
 
+/* Get ccan/ top dir, given a directory within it. */
+const char *find_ccan_dir(const char *base);
 #endif /* CCAN_TOOLS_H */