diff options
Diffstat (limited to 'hicn-light/src/hicn/config/controlRemovePunting.c')
-rw-r--r-- | hicn-light/src/hicn/config/controlRemovePunting.c | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/hicn-light/src/hicn/config/controlRemovePunting.c b/hicn-light/src/hicn/config/controlRemovePunting.c index bf00389d6..84d096b81 100644 --- a/hicn-light/src/hicn/config/controlRemovePunting.c +++ b/hicn-light/src/hicn/config/controlRemovePunting.c @@ -31,10 +31,14 @@ static CommandReturn _controlRemovePunting_Execute(CommandParser *parser, CommandOps *ops, - PARCList *args); + PARCList *args, + char *output, + size_t output_size); static CommandReturn _controlRemovePunting_HelpExecute(CommandParser *parser, CommandOps *ops, - PARCList *args); + PARCList *args, + char *output, + size_t output_size); // =================================================== @@ -60,16 +64,20 @@ CommandOps *controlRemovePunting_HelpCreate(ControlState *state) { static CommandReturn _controlRemovePunting_HelpExecute(CommandParser *parser, CommandOps *ops, - PARCList *args) { - printf("remove punting <symbolic> <prefix>\n"); + PARCList *args, + char *output, + size_t output_size) { + snprintf(output, output_size, "remove punting <symbolic> <prefix>\n"); return CommandReturn_Success; } static CommandReturn _controlRemovePunting_Execute(CommandParser *parser, CommandOps *ops, - PARCList *args) { - printf("command not implemented\n"); - return _controlRemovePunting_HelpExecute(parser, ops, args); + PARCList *args, + char *output, + size_t output_size) { + snprintf(output, output_size, "command not implemented\n"); + return _controlRemovePunting_HelpExecute(parser, ops, args, output, output_size); } // ================================================== |