]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.h
tdb2: fix tdb_check() return when free table entries missing.
[ccan] / tools / ccanlint / ccanlint.h
index 76e14a2aac0c8f9b77631dd4f296b55637dcf495..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;
@@ -192,7 +197,6 @@ char *get_symbol_token(void *ctx, const char **line);
 /* Similarly for ->doc_sections */
 struct list_head *get_ccan_file_docs(struct ccan_file *f);
 
-
 /* Add an error about this file (and line, if non-zero) to the score struct */
 void score_file_error(struct score *, struct ccan_file *f, unsigned line,
                      const char *error);