X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.h;h=2ddbf37ae89b199819ead3a62fa6d34cf91aa0e0;hp=cf277393d8c05db444c1733bfd5add2a728d4d4f;hb=304652023042670b3173de0ad5dc0eb7c836618c;hpb=83182e8fdff4c78518a680dd70e261ef82e640c5 diff --git a/tools/ccanlint/ccanlint.h b/tools/ccanlint/ccanlint.h index cf277393..2ddbf37a 100644 --- a/tools/ccanlint/ccanlint.h +++ b/tools/ccanlint/ccanlint.h @@ -52,8 +52,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: */