]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
build_assert: relicense to public domain.
[ccan] / tools / ccanlint / ccanlint.h
index d73ffc6bade59bff35ec82a666d57afecededead..b9965f75a5852364ef923ee98ca3b2e792745ceb 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef CCAN_LINT_H
 #define CCAN_LINT_H
+#include "config.h"
 #include <ccan/list/list.h>
 #include <stdbool.h>
 #include "../doc_extract.h"
    4 == Describe every action. */
 extern int verbose;
 
+enum license {
+       LICENSE_LGPLv2_PLUS,
+       LICENSE_LGPLv2,
+       LICENSE_LGPLv3,
+       LICENSE_LGPL,
+       LICENSE_GPLv2_PLUS,
+       LICENSE_GPLv2,
+       LICENSE_GPLv3,
+       LICENSE_GPL,
+       LICENSE_BSD,
+       LICENSE_MIT,
+       LICENSE_PUBLIC_DOMAIN,
+       LICENSE_UNKNOWN
+};
+
 struct manifest {
        char *dir;
        /* The module name, ie. final element of dir name */
@@ -42,6 +58,9 @@ struct manifest {
 
        /* From tests/check_depends_exist.c */
        struct list_head deps;
+
+       /* From tests/license_exists.c */
+       enum license license;
 };
 
 /* Get the manifest for a given directory. */