|
|
| version 1.8.2.1, 2013/11/20 16:04:42 | version 1.9.4.2, 2013/11/22 14:46:01 |
|---|---|
| Line 226 typedef SLIST_HEAD(slCommandHead, tagCommand) commands | Line 226 typedef SLIST_HEAD(slCommandHead, tagCommand) commands |
| /* Main structure, Buffer for CLI work with thread models ;-) special designed by M.Punov */ | /* Main structure, Buffer for CLI work with thread models ;-) special designed by M.Punov */ |
| typedef struct { | typedef struct { |
| int line_kill; | |
| char line_mode; | char line_mode; |
| char *line_prompt; | char *line_prompt; |
| Line 558 int cliLoop(linebuffer_t * __restrict cli_buffer, cons | Line 559 int cliLoop(linebuffer_t * __restrict cli_buffer, cons |
| */ | */ |
| int cliNetLoop(linebuffer_t * __restrict cli_buffer, const char *csHistFile, | int cliNetLoop(linebuffer_t * __restrict cli_buffer, const char *csHistFile, |
| int sock, int timeout); | int sock, int timeout); |
| #define cliKillLoop(_x) (assert((_x)), (_x)->line_kill = 1) | |
| #endif | #endif |