diff options
author | Angelo Mantellini <angelo.mantellini@cisco.com> | 2020-06-15 10:02:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-06-15 10:02:57 +0000 |
commit | 961352d7801c4f4bbee2990690b7d5ac5e3c88d6 (patch) | |
tree | 20f3915fa8220caec629cfbc1dd918acc359e0e4 /hicn-light/src/hicn/config/controlState.h | |
parent | 0f3841ea94ed9019a538516d774f5936b301e9a0 (diff) | |
parent | 9e2c045d6118ef264d6cf8fc655b72d7c4c403dc (diff) |
Merge "[HICN-626] Return output from libhicnlight"
Diffstat (limited to 'hicn-light/src/hicn/config/controlState.h')
-rw-r--r-- | hicn-light/src/hicn/config/controlState.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 |