diff options
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 { |