aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-03-08 10:02:26 +0000
committerThomas Adam <thomas@xteddy.org>2018-03-08 10:02:26 +0000
commit9fd995275201893a604d15bb426e0f5a7f7971e6 (patch)
tree5680ec4fe61bc9a544507a402c6598ccd41f45d3 /tmux.h
parent3c451a64b59a20dac9be9455b02266ca575f4d3b (diff)
parent19f3a5c6120c5d845eb942e67413c03c0c008a87 (diff)
downloadrtmux-9fd995275201893a604d15bb426e0f5a7f7971e6.tar.gz
rtmux-9fd995275201893a604d15bb426e0f5a7f7971e6.tar.bz2
rtmux-9fd995275201893a604d15bb426e0f5a7f7971e6.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 542b8d53..29d30708 100644
--- a/tmux.h
+++ b/tmux.h
@@ -626,6 +626,9 @@ struct job {
JOB_CLOSED
} state;
+ int flags;
+#define JOB_NOWAIT 0x1
+
char *cmd;
pid_t pid;
int status;
@@ -1653,7 +1656,7 @@ extern const struct options_table_entry options_table[];
/* job.c */
extern struct joblist all_jobs;
struct job *job_run(const char *, struct session *, const char *,
- job_update_cb, job_complete_cb, job_free_cb, void *);
+ job_update_cb, job_complete_cb, job_free_cb, void *, int);
void job_free(struct job *);
void job_died(struct job *, int);