X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=b9965f75a5852364ef923ee98ca3b2e792745ceb;hp=23b6492dff68759576fd593f0a74b3e4850cbf32;hb=8de1e8a6faef77773cbf8ed237eb4e330143d2f2;hpb=da8558a174da778aeb9dd95e62e023d39349b948 diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index 23b6492d..b9965f75 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -16,6 +16,21 @@ 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 */ @@ -43,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. */