summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-16 21:03:07 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-16 21:03:07 +0100
commit910b8aac5dc4693c4508b7acd2cef0bbfac04242 (patch)
treecb88e93372558043a8a0050d6ff5fa6704e74f02 /src/proto
parent7d63f624603ebeae336d4c504f82ab3da3481f46 (diff)
downloadvim-910b8aac5dc4693c4508b7acd2cef0bbfac04242.zip
patch 7.4.1341
Problem: It's difficult to add more arguments to ch_sendraw() and ch_sendexpr(). Solution: Make the third option a dictionary.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/channel.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro
index e1c88627f..a4acfe6d1 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -7,9 +7,10 @@ void channel_gui_register_all(void);
channel_T *channel_open(char *hostname, int port_in, int waittime, void (*close_cb)(void));
void channel_set_pipes(channel_T *channel, sock_T in, sock_T out, sock_T err);
void channel_set_job(channel_T *channel, job_T *job);
-void channel_set_mode(channel_T *channel, ch_mode_T ch_mode);
+void channel_set_mode(channel_T *channel, ch_mode_T mode);
void channel_set_timeout(channel_T *channel, int timeout);
void channel_set_callback(channel_T *channel, char_u *callback);
+void channel_set_options(channel_T *channel, jobopt_T *options);
void channel_set_req_callback(channel_T *channel, char_u *callback, int id);
char_u *channel_get(channel_T *channel);
int channel_collapse(channel_T *channel);