summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-25 15:34:51 +0000
committerMartin Mares <mj@ucw.cz>1999-11-25 15:34:51 +0000
commit35793769273f7286aafa0455547d1d7cfeef3931 (patch)
tree17a7c986279fd35e952a52d63b85359859b378d4 /nest
parentea32afb765381e642a525409a8f6cdff99aa0225 (diff)
cli_msg() moved to cli.h, so that it can be used outside the parser.
Diffstat (limited to 'nest')
-rw-r--r--nest/cli.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/cli.h b/nest/cli.h
index 2d748db1..3af1885d 100644
--- a/nest/cli.h
+++ b/nest/cli.h
@@ -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 */