#include <stdbool.h>
#include "../doc_extract.h"
#include "../manifest.h"
+#include "../tools.h"
#include "licenses.h"
AUTODATA_TYPE(ccanlint_tests, struct ccanlint);
void score_file_error(struct score *, struct ccan_file *f, unsigned line,
const char *errorfmt, ...);
+/* Append message to the score->error */
+void score_error(struct score *score, const char * source,
+ const char *errorfmt, ...);
+
/* Start a command in the background. */
void run_command_async(const void *ctx, unsigned int time_ms,
const char *fmt, ...);
bool is_excluded(const char *name);
/* Called to add options from _info, once it's located. */
-void add_info_options(struct ccan_file *info);
+void add_info_options(struct manifest *m);
/* Are we happy to compile stuff, or just non-intrusive tests? */
extern bool safe_mode;
/* Did the user want to keep all the results? */
extern bool keep_results;
-/* Compiler and CFLAGS, from config.h if available. */
-extern const char *compiler, *cflags;
+/* Did we find non-ccan dependencies? */
+extern bool non_ccan_deps;
+
+/* Did we fail to build? */
+extern bool build_failed;
/* Contents of config.h (or NULL if not found) */
extern const char *config_header;