diff options
author | Pavel TvrdĂk <pawel.tvrdik@gmail.cz> | 2015-05-19 08:53:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-06-08 02:24:08 +0200 |
commit | ae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch) | |
tree | be0c9427556557ff5b06b0250bc64ff33062199e /nest/cli.h | |
parent | e348ef01b433e06888310c1098a05291034a856c (diff) |
unsigned [int] -> uint
Diffstat (limited to 'nest/cli.h')
-rw-r--r-- | nest/cli.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -40,10 +40,10 @@ typedef struct cli { struct linpool *parser_pool; /* Pool used during parsing */ byte *ring_buf; /* Ring buffer for asynchronous messages */ byte *ring_end, *ring_read, *ring_write; /* Pointers to the ring buffer */ - unsigned int ring_overflow; /* Counter of ring overflows */ - unsigned int log_mask; /* Mask of allowed message levels */ - unsigned int log_threshold; /* When free < log_threshold, store only important messages */ - unsigned int async_msg_size; /* Total size of async messages queued in tx_buf */ + uint ring_overflow; /* Counter of ring overflows */ + uint log_mask; /* Mask of allowed message levels */ + uint log_threshold; /* When free < log_threshold, store only important messages */ + uint async_msg_size; /* Total size of async messages queued in tx_buf */ } cli; extern pool *cli_pool; @@ -55,7 +55,7 @@ extern struct cli *this_cli; /* Used during parsing */ void cli_printf(cli *, int, char *, ...); #define cli_msg(x...) cli_printf(this_cli, x) -void cli_set_log_echo(cli *, unsigned int mask, unsigned int size); +void cli_set_log_echo(cli *, uint mask, uint size); /* Functions provided to sysdep layer */ @@ -64,7 +64,7 @@ void cli_init(void); void cli_free(cli *); void cli_kick(cli *); void cli_written(cli *); -void cli_echo(unsigned int class, byte *msg); +void cli_echo(uint class, byte *msg); static inline int cli_access_restricted(void) { |