Mercurial > vim
view src/proto/channel.pro @ 7780:e09af43f98f7 v7.4.1187
commit https://github.com/vim/vim/commit/85be35f33ea848b50e84d57321a45ebfedfad669
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 27 21:08:18 2016 +0100
patch 7.4.1187
Problem: MS-Windows channel code only supports one channel. Doesn't build
without netbeans support.
Solution: Get the channel index from the socket in the message. Closes https://github.com/vim/vim/issues/600.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 27 Jan 2016 21:15:05 +0100 |
parents | 42c1a4e63d12 |
children | 192ae655ac91 |
line wrap: on
line source
/* channel.c */ void channel_gui_register_all(void); int channel_open(char *hostname, int port_in, void (*close_cb)(void)); int channel_is_open(int idx); void channel_close(int idx); void channel_save(int idx, char_u *buf, int len); char_u *channel_peek(int idx); char_u *channel_get(int idx); int channel_collapse(int idx); void channel_clear(int idx); void channel_read(int idx); int channel_socket2idx(sock_T fd); void channel_send(int idx, char_u *buf, char *fun); int channel_poll_setup(int nfd_in, void *fds_in); int channel_poll_check(int ret_in, void *fds_in); int channel_select_setup(int maxfd_in, void *rfds_in); int channel_select_check(int ret_in, void *rfds_in); /* vim: set ft=c : */