aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-28 15:41:36 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-28 15:44:44 +0530
commit63c4f3d603650b90b182e6d6b1b92a272538ce5d (patch)
tree217d023febcbf3284cdf2502bece1aa43088aa3f /include
parent6f246fb247b87bcc7f5ad0ca070392cc92071dfc (diff)
evanix: add --system flag
Diffstat (limited to 'include')
-rw-r--r--include/evanix.h1
-rw-r--r--include/jobs.h1
2 files changed, 2 insertions, 0 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..66ddcec 100644
--- a/include/jobs.h
+++ b/include/jobs.h
@@ -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);