diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-02 23:23:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-02 23:23:02 +0100 |
commit | d7ece1008ee6173afda6d173bed486ae79c1c38a (patch) | |
tree | bde78dfcd1a51924896910ee85774cf2697918ed /src/proto/channel.pro | |
parent | d087566a419cc107adab77db997b184ea0e433ad (diff) |
patch 7.4.1246v7.4.1246
Problem: The channel functionality isn't tested.
Solution: Add a test using a Python test server.
Diffstat (limited to 'src/proto/channel.pro')
-rw-r--r-- | src/proto/channel.pro | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index 16946eb791..f53ac6680e 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -4,23 +4,22 @@ int channel_open(char *hostname, int port_in, void (*close_cb)(void)); void channel_set_json_mode(int idx, int json_mode); void channel_set_callback(int idx, char_u *callback); void channel_set_req_callback(int idx, char_u *callback); +char_u *channel_get(int idx); +int channel_collapse(int idx); int channel_is_open(int idx); void channel_close(int idx); int 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); int channel_get_id(void); void channel_read(int idx); char_u *channel_read_block(int idx); int channel_read_json_block(int ch_idx, int id, typval_T **rettv); -void channel_read_json(int ch_idx); int channel_socket2idx(sock_T fd); int 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); -void channel_parse_messages(void); +int channel_parse_messages(void); /* vim: set ft=c : */ |