summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest.h')
-rw-r--r--src/rest.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rest.h b/src/rest.h
index 58129d7..ff1486b 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -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 {