summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-21 14:10:13 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-21 14:12:02 +0200
commit12d5caf6a6af5cb4870d375e185341909fc61b7e (patch)
tree11809851babe6041b5705447e9e53f876bcaf7a7 /src/rest.h
parent98fab52b74ea9cbf7bdac7a022504fc6be90be88 (diff)
rest: add retcode to shell/output
Add retcode field to specify return code of shell invocation.
Diffstat (limited to 'src/rest.h')
-rw-r--r--src/rest.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rest.h b/src/rest.h
index 4880c6a..0fb1776 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -71,7 +71,10 @@ struct og_client {
bool autorun;
uint32_t speed;
uint32_t seq;
- const char *shell_output;
+ struct {
+ const char *output;
+ uint32_t retcode;
+ } shell;
};
void og_client_add(struct og_client *cli);