- /* 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.
+ * keep is set if you should keep the results.
+ * If timeleft is set to 0, means it timed out. */
+ void *(*check)(struct manifest *m, bool keep, unsigned int *timeleft);