cli_msg() moved to cli.h, so that it can be used outside the parser.

This commit is contained in:
Martin Mares 1999-11-25 15:34:51 +00:00
parent ea32afb765
commit 3579376927
2 changed files with 1 additions and 2 deletions

View file

@ -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 {

View file

@ -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 */