]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
ccanlint: add ccanlint section to _info
[ccan] / tools / ccanlint / ccanlint.h
index 41a569fab89c8fd906d6951fe635e14e9dae6c97..f5f7b51d8bbb89078d83fa82aa356c305856da70 100644 (file)
@@ -82,6 +82,11 @@ struct ccanlint {
        /* Can we do something about it? (NULL if not) */
        void (*handle)(struct manifest *m, struct score *score);
 
+       /* Options from _info. */
+       char *options;
+       /* If not set, we'll give an error if they try to set options. */
+       bool takes_options;
+
        /* Internal use fields: */
        /* Who depends on us? */
        struct list_head dependencies;