]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - tools/ccanlint/ccanlint.h
ccanlint: make sure fullname is always full path name.
[ccan-lca-2011.git] / tools / ccanlint / ccanlint.h
index cf277393d8c05db444c1733bfd5add2a728d4d4f..6680f4f0406f8764270273bd9aeeef61a4736a95 100644 (file)
@@ -31,8 +31,6 @@ struct manifest {
 
        /* From tests/check_depends_exist.c */
        struct list_head dep_dirs;
-       /* From tests/check_depends_built.c */
-       struct list_head dep_objs;
 };
 
 struct manifest *get_manifest(const void *ctx, const char *dir);
@@ -52,8 +50,9 @@ struct ccanlint {
        /* Can we run this test?  Return string explaining why, if not. */
        const char *(*can_run)(struct manifest *m);
 
-       /* If this returns non-NULL, it means the check failed. */
-       void *(*check)(struct manifest *m);
+       /* If this returns non-NULL, it means the check failed.
+        * If timeleft is set to 0, means it timed out. */
+       void *(*check)(struct manifest *m, unsigned int *timeleft);
 
        /* The non-NULL return from check is passed to one of these: */