summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/command.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 386572ed..55f950bf 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -305,6 +305,14 @@ int parse_line(char *line, char *words[], int max_words)
return nwords;
}
+void command_output_text( command_context_t *context, const char *data )
+{
+ if( context && context->output_handler && data ){
+ context->output_handler( context, data );
+ }
+}
+
+
void command_print_n(command_context_t *context, char *format, ...)
{
char *string;