Revision ae80a2de nest/cli.c
nest/cli.c | ||
---|---|---|
163 | 163 |
cli_copy_message(cli *c) |
164 | 164 |
{ |
165 | 165 |
byte *p, *q; |
166 |
unsigned int cnt = 2;
|
|
166 |
uint cnt = 2; |
|
167 | 167 |
|
168 | 168 |
if (c->ring_overflow) |
169 | 169 |
{ |
... | ... | |
230 | 230 |
|
231 | 231 |
|
232 | 232 |
static byte *cli_rh_pos; |
233 |
static unsigned int cli_rh_len;
|
|
233 |
static uint cli_rh_len; |
|
234 | 234 |
static int cli_rh_trick_flag; |
235 | 235 |
struct cli *this_cli; |
236 | 236 |
|
237 | 237 |
static int |
238 |
cli_cmd_read_hook(byte *buf, unsigned int max, UNUSED int fd)
|
|
238 |
cli_cmd_read_hook(byte *buf, uint max, UNUSED int fd) |
|
239 | 239 |
{ |
240 | 240 |
if (!cli_rh_trick_flag) |
241 | 241 |
{ |
... | ... | |
330 | 330 |
static int cli_log_inited; |
331 | 331 |
|
332 | 332 |
void |
333 |
cli_set_log_echo(cli *c, unsigned int mask, unsigned int size)
|
|
333 |
cli_set_log_echo(cli *c, uint mask, uint size)
|
|
334 | 334 |
{ |
335 | 335 |
if (c->ring_buf) |
336 | 336 |
{ |
... | ... | |
351 | 351 |
} |
352 | 352 |
|
353 | 353 |
void |
354 |
cli_echo(unsigned int class, byte *msg)
|
|
354 |
cli_echo(uint class, byte *msg) |
|
355 | 355 |
{ |
356 | 356 |
unsigned len, free, i, l; |
357 | 357 |
cli *c; |
Also available in: Unified diff