mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +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 "nest/cli.h"
|
||||||
#include "filter/filter.h"
|
#include "filter/filter.h"
|
||||||
|
|
||||||
#define cli_msg(x...) cli_printf(this_cli, x)
|
|
||||||
|
|
||||||
CF_DECLS
|
CF_DECLS
|
||||||
|
|
||||||
%union {
|
%union {
|
||||||
|
@ -41,6 +41,7 @@ extern struct cli *this_cli; /* Used during parsing */
|
|||||||
/* Functions to be called by command handlers */
|
/* Functions to be called by command handlers */
|
||||||
|
|
||||||
void cli_printf(cli *, int, char *, ...);
|
void cli_printf(cli *, int, char *, ...);
|
||||||
|
#define cli_msg(x...) cli_printf(this_cli, x)
|
||||||
|
|
||||||
/* Functions provided to sysdep layer */
|
/* Functions provided to sysdep layer */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user