diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 15:04:47 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-06-21 15:05:26 +0200 |
commit | 6cbe69e89e716f81a71f7541e2e0f036b297a2fc (patch) | |
tree | e6564b12103c1a19c07bfb702aee70c65ad3629d /src/rest.h | |
parent | 12d5caf6a6af5cb4870d375e185341909fc61b7e (diff) |
rest: add cmd to shell/output
Add "cmd" field to json that provides the original command string, so it is
provided with the output and the return code.
Diffstat (limited to 'src/rest.h')
-rw-r--r-- | src/rest.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ struct og_client { uint32_t speed; uint32_t seq; struct { + const char *cmd; const char *output; uint32_t retcode; } shell; |