mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
cli_msg() moved to cli.h, so that it can be used outside the parser.
This commit is contained in:
parent
ea32afb765
commit
3579376927
@ -19,8 +19,6 @@ CF_HDR
|
||||
#include "nest/cli.h"
|
||||
#include "filter/filter.h"
|
||||
|
||||
#define cli_msg(x...) cli_printf(this_cli, x)
|
||||
|
||||
CF_DECLS
|
||||
|
||||
%union {
|
||||
|
@ -41,6 +41,7 @@ extern struct cli *this_cli; /* Used during parsing */
|
||||
/* Functions to be called by command handlers */
|
||||
|
||||
void cli_printf(cli *, int, char *, ...);
|
||||
#define cli_msg(x...) cli_printf(this_cli, x)
|
||||
|
||||
/* Functions provided to sysdep layer */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user