From ee76b7aaf3e39fac459ac819d25b2c64c848bb3e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 24 Aug 2024 20:06:12 +0530 Subject: jobs/job_cost_estimate: init --- include/evanix.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/evanix.h b/include/evanix.h index 62dd22d..1d3d661 100644 --- a/include/evanix.h +++ b/include/evanix.h @@ -6,6 +6,11 @@ #ifndef EVANIX_H +struct estimate { + struct sqlite3 *db; + sqlite3_stmt *statement; +}; + struct evanix_opts_t { bool isflake; bool isdryrun; @@ -15,7 +20,7 @@ struct evanix_opts_t { bool check_cache_status; bool break_evanix; char *system; - struct sqlite3 *estimate; + struct estimate estimate; uint32_t max_builds; uint32_t max_time; int (*solver)(struct job **, struct job_clist *, int32_t); -- cgit v1.2.3