From 9e2c045d6118ef264d6cf8fc655b72d7c4c403dc Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Tue, 9 Jun 2020 14:48:02 +0200 Subject: [HICN-626] Return output from libhicnlight Signed-off-by: Angelo Mantellini Change-Id: I2351ce4dcefa1311fa09049f87e8317c8fe449f4 --- hicn-light/src/hicn/config/controlState.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hicn-light/src/hicn/config/controlState.h') diff --git a/hicn-light/src/hicn/config/controlState.h b/hicn-light/src/hicn/config/controlState.h index cc38cbe37..52b1f6655 100644 --- a/hicn-light/src/hicn/config/controlState.h +++ b/hicn-light/src/hicn/config/controlState.h @@ -143,6 +143,8 @@ void controlState_RegisterCommand(ControlState *state, CommandOps *command); * * @param [in] state The allocated ControlState * @param [in] args Each command_line word parsed to the ordered list + * @param [in] output Output string + * @param [in] output_length output string max length * * @return CommandReturn_Success the command was successful * @return CommandReturn_Failure the command failed or was not found @@ -154,7 +156,10 @@ void controlState_RegisterCommand(ControlState *state, CommandOps *command); * <#example#> * @endcode */ -CommandReturn controlState_DispatchCommand(ControlState *state, PARCList *args); +CommandReturn controlState_DispatchCommand(ControlState *state, + PARCList *args, + char *output, + size_t output_length); /** * Begin an interactive shell -- cgit 1.2.3-korg