comparison src/proto/channel.pro @ 7967:45ea5ebf3a98 v7.4.1279

commit https://github.com/vim/vim/commit/595e64e259faefb330866852e1b9f6168544572a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 7 19:19:53 2016 +0100 patch 7.4.1279 Problem: jsonencode() is not producing strict JSON. Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode() strict.
author Christian Brabandt <cb@256bit.org>
date Sun, 07 Feb 2016 19:30:05 +0100
parents 3f2e0b62003d
children 8e0d4cd8157a
comparison
equal deleted inserted replaced
7966:79c5a86fcdfe 7967:45ea5ebf3a98
1 /* channel.c */ 1 /* channel.c */
2 void channel_gui_register_all(void); 2 void channel_gui_register_all(void);
3 int channel_open(char *hostname, int port_in, int waittime, void (*close_cb)(void)); 3 int channel_open(char *hostname, int port_in, int waittime, void (*close_cb)(void));
4 void channel_set_json_mode(int idx, int json_mode); 4 void channel_set_json_mode(int idx, ch_mode_T ch_mode);
5 void channel_set_timeout(int idx, int timeout); 5 void channel_set_timeout(int idx, int timeout);
6 void channel_set_callback(int idx, char_u *callback); 6 void channel_set_callback(int idx, char_u *callback);
7 void channel_set_req_callback(int idx, char_u *callback, int id); 7 void channel_set_req_callback(int idx, char_u *callback, int id);
8 char_u *channel_get(int idx); 8 char_u *channel_get(int idx);
9 int channel_collapse(int idx); 9 int channel_collapse(int idx);