aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 2601e9a5..b0d009d8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -718,6 +718,12 @@ struct options {
/* Scheduled job. */
struct job {
+ enum {
+ JOB_RUNNING,
+ JOB_DEAD,
+ JOB_CLOSED
+ } state;
+
char *cmd;
pid_t pid;
int status;