diff options
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index e753860b82..adee3e807e 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1290,6 +1290,8 @@ struct jobvar_S buf_T *jv_in_buf; /* buffer from "in-name" */ int jv_refcount; /* reference count */ + int jv_copyID; + channel_T *jv_channel; /* channel for I/O, reference counted */ }; @@ -1425,11 +1427,12 @@ struct channel_S { job_T *ch_job; /* Job that uses this channel; this does not * count as a reference to avoid a circular - * reference. */ + * reference, the job refers to the channel. */ int ch_job_killed; /* TRUE when there was a job and it was killed * or we know it died. */ int ch_refcount; /* reference count */ + int ch_copyID; }; #define JO_MODE 0x0001 /* channel mode */ |