diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-31 00:05:42 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-31 00:37:03 +0100 |
commit | 16cc22df3eec0acca53df3178be22f862bf9fa99 (patch) | |
tree | 6cf547f442a62d3cdf84a1d8e1051e16cd131497 /src/rest.h | |
parent | 2febb50a92adb91e88825a7839c1f055c10ba6cf (diff) |
src: place last client command information in struct
just a preparation, no functional changes are intended.
Diffstat (limited to 'src/rest.h')
-rw-r--r-- | src/rest.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -66,9 +66,11 @@ struct og_client { int content_length; char auth_token[64]; enum og_client_status status; - enum og_cmd_type last_cmd; - unsigned int last_cmd_id; - enum og_cmd_result last_cmd_result; + struct { + enum og_cmd_type type; + unsigned int id; + enum og_cmd_result result; + } last_cmd; uint32_t speed; uint32_t seq; struct { |