summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-18 22:23:34 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-18 22:23:34 +0100
commit81661fb86801e6d6e5194b43dfd27d73fcc016ec (patch)
tree7aa3fcc1a790e4b97c17a2515950ac4fdd1e436d /src/proto
parentec70bdd68a531762a62728747ab529d7a6dfc842 (diff)
downloadvim-git-81661fb86801e6d6e5194b43dfd27d73fcc016ec.tar.gz
patch 7.4.1351v7.4.1351
Problem: When the port isn't opened yet when ch_open() is called it may fail instead of waiting for the specified time. Solution: Loop when select() succeeds but when connect() failed. Also use channel logging for jobs. Add ch_log().
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/channel.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro
index a4acfe6d1..265fe0519 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -1,5 +1,8 @@
/* channel.c */
void ch_logfile(FILE *file);
+int ch_log_active(void);
+void ch_log(channel_T *ch, char *msg);
+void ch_logs(channel_T *ch, char *msg, char *name);
channel_T *add_channel(void);
void channel_free(channel_T *channel);
void channel_gui_register(channel_T *channel);