comparison src/proto/channel.pro @ 8122:39532ee7dd43 v7.4.1355

commit https://github.com/vim/vim/commit/ed5a78e11c80c7b13b233149fd4273b71fc96262 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 19 21:05:03 2016 +0100 patch 7.4.1355 Problem: Win32 console and GUI handle channels differently. Solution: Consolidate code between Win32 console and GUI.
author Christian Brabandt <cb@256bit.org>
date Fri, 19 Feb 2016 21:15:05 +0100
parents 4aea0b0aa714
children 310dd635e8c9
comparison
equal deleted inserted replaced
8121:a479e3694985 8122:39532ee7dd43
28 int channel_get_id(void); 28 int channel_get_id(void);
29 void channel_read(channel_T *channel, int which, char *func); 29 void channel_read(channel_T *channel, int which, char *func);
30 char_u *channel_read_block(channel_T *channel); 30 char_u *channel_read_block(channel_T *channel);
31 int channel_read_json_block(channel_T *channel, int id, typval_T **rettv); 31 int channel_read_json_block(channel_T *channel, int id, typval_T **rettv);
32 channel_T *channel_fd2channel(sock_T fd, int *whichp); 32 channel_T *channel_fd2channel(sock_T fd, int *whichp);
33 void channel_handle_events(void);
33 int channel_send(channel_T *channel, char_u *buf, char *fun); 34 int channel_send(channel_T *channel, char_u *buf, char *fun);
34 int channel_poll_setup(int nfd_in, void *fds_in); 35 int channel_poll_setup(int nfd_in, void *fds_in);
35 int channel_poll_check(int ret_in, void *fds_in); 36 int channel_poll_check(int ret_in, void *fds_in);
36 int channel_select_setup(int maxfd_in, void *rfds_in); 37 int channel_select_setup(int maxfd_in, void *rfds_in);
37 int channel_select_check(int ret_in, void *rfds_in); 38 int channel_select_check(int ret_in, void *rfds_in);