1 #ifndef CCANLINT_LICENSES_H
2 #define CCANLINT_LICENSES_H
17 LICENSE_PUBLIC_DOMAIN,
25 const char *shortname;
26 /* Edit distance is expensive, and this works quite well. */
27 const char *clause[NUM_CLAUSES];
30 /* Is [project license][file license] compatible? */
31 bool license_compatible[LICENSE_UNKNOWN+1][LICENSE_UNKNOWN];
33 extern const struct license_info licenses[];
36 bool find_boilerplate(struct ccan_file *f, enum license license);
39 enum license which_license(struct doc_section *d);
42 struct doc_section *find_license_tag(const struct manifest *m);
44 #endif /* CCANLINT_LICENSES_H */