aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/evanix.h1
-rw-r--r--include/jobs.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/evanix.h b/include/evanix.h
index aa53b9f..c4285fc 100644
--- a/include/evanix.h
+++ b/include/evanix.h
@@ -7,6 +7,7 @@ struct evanix_opts_t {
bool isdryrun;
bool ispipelined;
bool close_stderr_exec;
+ char *system;
};
extern struct evanix_opts_t evanix_opts;
diff --git a/include/jobs.h b/include/jobs.h
index 11f6b01..37445c1 100644
--- a/include/jobs.h
+++ b/include/jobs.h
@@ -9,7 +9,7 @@ struct output {
};
struct job {
- char *name, *drv_path;
+ char *name, *drv_path, *attr;
bool transitive;
bool insubstituters;
@@ -32,6 +32,7 @@ typedef enum {
JOB_READ_EVAL_ERR = 2,
JOB_READ_JSON_INVAL = 3,
JOB_READ_CACHED = 4,
+ JOB_READ_SYS_MISMATCH = 5,
} job_read_state_t;
int job_read(FILE *stream, struct job **jobs);