Mercurial > vim
comparison src/proto/channel.pro @ 7770:42c1a4e63d12 v7.4.1182
commit https://github.com/vim/vim/commit/d04a020a8a8d7a438b091d49218c438880beb50c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 26 23:30:18 2016 +0100
patch 7.4.1182
Problem: Still socket code intertwined with netbeans.
Solution: Move code from netbeans.c to channel.c
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Jan 2016 23:45:05 +0100 |
parents | 6069f43cea4e |
children | e09af43f98f7 |
comparison
equal
deleted
inserted
replaced
7769:3bdef7bd2244 | 7770:42c1a4e63d12 |
---|---|
1 /* channel.c */ | 1 /* channel.c */ |
2 int channel_add_netbeans(sock_T fd); | 2 void channel_gui_register_all(void); |
3 void channel_remove_netbeans(void); | 3 int channel_open(char *hostname, int port_in, void (*close_cb)(void)); |
4 int channel_is_open(int idx); | |
5 void channel_close(int idx); | |
6 void channel_save(int idx, char_u *buf, int len); | |
7 char_u *channel_peek(int idx); | |
8 char_u *channel_get(int idx); | |
9 int channel_collapse(int idx); | |
10 void channel_clear(int idx); | |
11 void channel_read(int idx); | |
12 void channel_send(int idx, char_u *buf, char *fun); | |
4 int channel_poll_setup(int nfd_in, void *fds_in); | 13 int channel_poll_setup(int nfd_in, void *fds_in); |
5 int channel_poll_check(int ret_in, void *fds_in); | 14 int channel_poll_check(int ret_in, void *fds_in); |
6 int channel_select_setup(int maxfd_in, void *rfds_in); | 15 int channel_select_setup(int maxfd_in, void *rfds_in); |
7 int channel_select_check(int ret_in, void *rfds_in); | 16 int channel_select_check(int ret_in, void *rfds_in); |
8 /* vim: set ft=c : */ | 17 /* vim: set ft=c : */ |