summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-20 19:56:13 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-20 19:56:13 +0100
commit6f3a544228c1faf92211cbaf8bbedb1dff883f90 (patch)
tree92dd5414be493707e137ccf6a5d59e1d5cef13ad /src/structs.h
parentfffd5560c6c8840be3233ef1c8da3c9e5dd424ea (diff)
downloadvim-6f3a544228c1faf92211cbaf8bbedb1dff883f90.zip
patch 7.4.1372
Problem: channel read implementation is incomplete. Solution: Add ch_read() and options for ch_readraw().
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index e93313e3b..814b3f747 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1377,6 +1377,8 @@ struct channel_S {
#define JO_CALLBACK 2 /* channel callback */
#define JO_WAITTIME 4 /* only for ch_open() */
#define JO_TIMEOUT 8 /* all timeouts */
+#define JO_PART 16 /* "part" */
+#define JO_ID 32 /* "id" */
#define JO_ALL 0xffffff
/*
@@ -1390,6 +1392,8 @@ typedef struct
char_u *jo_callback; /* not allocated! */
int jo_waittime;
int jo_timeout;
+ int jo_part;
+ int jo_id;
} jobopt_T;