Mercurial > vim
comparison src/structs.h @ 8157:74b44d06d3c7 v7.4.1372
commit https://github.com/vim/vim/commit/6f3a544228c1faf92211cbaf8bbedb1dff883f90
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 20 19:56:13 2016 +0100
patch 7.4.1372
Problem: channel read implementation is incomplete.
Solution: Add ch_read() and options for ch_readraw().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 20 Feb 2016 20:00:05 +0100 |
parents | aa845d10c6fb |
children | d8a8e86f39ad |
comparison
equal
deleted
inserted
replaced
8156:d5ab593ed881 | 8157:74b44d06d3c7 |
---|---|
1375 | 1375 |
1376 #define JO_MODE 1 /* all modes */ | 1376 #define JO_MODE 1 /* all modes */ |
1377 #define JO_CALLBACK 2 /* channel callback */ | 1377 #define JO_CALLBACK 2 /* channel callback */ |
1378 #define JO_WAITTIME 4 /* only for ch_open() */ | 1378 #define JO_WAITTIME 4 /* only for ch_open() */ |
1379 #define JO_TIMEOUT 8 /* all timeouts */ | 1379 #define JO_TIMEOUT 8 /* all timeouts */ |
1380 #define JO_PART 16 /* "part" */ | |
1381 #define JO_ID 32 /* "id" */ | |
1380 #define JO_ALL 0xffffff | 1382 #define JO_ALL 0xffffff |
1381 | 1383 |
1382 /* | 1384 /* |
1383 * Options for job and channel commands. | 1385 * Options for job and channel commands. |
1384 */ | 1386 */ |
1388 | 1390 |
1389 ch_mode_T jo_mode; | 1391 ch_mode_T jo_mode; |
1390 char_u *jo_callback; /* not allocated! */ | 1392 char_u *jo_callback; /* not allocated! */ |
1391 int jo_waittime; | 1393 int jo_waittime; |
1392 int jo_timeout; | 1394 int jo_timeout; |
1395 int jo_part; | |
1396 int jo_id; | |
1393 } jobopt_T; | 1397 } jobopt_T; |
1394 | 1398 |
1395 | 1399 |
1396 /* structure used for explicit stack while garbage collecting hash tables */ | 1400 /* structure used for explicit stack while garbage collecting hash tables */ |
1397 typedef struct ht_stack_S | 1401 typedef struct ht_stack_S |