]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/licenses.h
tools: use tal instead of talloc.
[ccan] / tools / ccanlint / licenses.h
index 72b14d2516a47ba3faa030f0f937e9640c9ed5b1..ed1e9ad7fbacec775ef05a8e927bc4952bbb4f91 100644 (file)
@@ -13,6 +13,7 @@ enum license {
        LICENSE_GPL,
        LICENSE_BSD,
        LICENSE_MIT,
+       LICENSE_CC0,
        LICENSE_PUBLIC_DOMAIN,
        LICENSE_UNKNOWN
 };
@@ -34,4 +35,10 @@ 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 */