1 #ifndef CCANLINT_LICENSES_H
2 #define CCANLINT_LICENSES_H
16 LICENSE_PUBLIC_DOMAIN,
24 const char *shortname;
25 /* Edit distance is expensive, and this works quite well. */
26 const char *clause[NUM_CLAUSES];
29 /* Is [project license][file license] compatible? */
30 bool license_compatible[LICENSE_UNKNOWN+1][LICENSE_UNKNOWN];
32 extern const struct license_info licenses[];
35 bool find_boilerplate(struct ccan_file *f, enum license license);
38 enum license which_license(struct doc_section *d);
41 struct doc_section *find_license_tag(const struct manifest *m);
43 #endif /* CCANLINT_LICENSES_H */