]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/licenses.h
ccanlint: remove argument to -k/--keep
[ccan] / tools / ccanlint / licenses.h
index 7b70bfac2109f2279c417738b49a1b3463abdd53..48aad16719bb958374d6842d756971df7699bac5 100644 (file)
@@ -26,9 +26,18 @@ struct license_info {
        const char *clause[NUM_CLAUSES];
 };
 
+/* Is [project license][file license] compatible? */
+bool license_compatible[LICENSE_UNKNOWN+1][LICENSE_UNKNOWN];
+
 extern const struct license_info licenses[];
 
 struct ccan_file;
 bool find_boilerplate(struct ccan_file *f, enum license license);
 
+struct doc_section;
+enum license which_license(struct doc_section *d);
+
+struct manifest;
+struct doc_section *find_license_tag(const struct manifest *m);
+
 #endif /* CCANLINT_LICENSES_H */