aboutsummaryrefslogtreecommitdiff
path: root/include/evanix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/evanix.h')
-rw-r--r--include/evanix.h7
1 files changed, 6 insertions, 1 deletions
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);