diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-11 22:19:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-11 22:19:44 +0100 |
commit | de27989157f35172b25f9e01e0c147ed8f6ae3ce (patch) | |
tree | ac52ee2ae7bf82a4cc85f31b1c7b6f2993348c81 /src/structs.h | |
parent | 9e496854a9fe56699687a4f86003fad115b3b375 (diff) |
patch 7.4.1536v7.4.1536
Problem: Cannot re-use a channel for another job.
Solution: Add the "channel" option to job_start().
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 373405ce0e..9ccc09a121 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1412,6 +1412,7 @@ struct channel_S { #define JO_OUT_BUF 0x1000000 /* "out-buf" */ #define JO_ERR_BUF 0x2000000 /* "err-buf" (JO_OUT_BUF << 1) */ #define JO_IN_BUF 0x4000000 /* "in-buf" (JO_OUT_BUF << 2) */ +#define JO_CHANNEL 0x8000000 /* "channel" */ #define JO_ALL 0xfffffff #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) @@ -1443,6 +1444,7 @@ typedef struct char_u jo_io_name_buf[4][NUMBUFLEN]; char_u *jo_io_name[4]; /* not allocated! */ int jo_io_buf[4]; + channel_T *jo_channel; linenr_T jo_in_top; linenr_T jo_in_bot; |