From 20c02f68b803850aab925f57b5eaee120fb8f17a Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 22 Oct 2013 14:46:09 +0200 Subject: [PATCH] android: Define helper payload field in hal_msg_hdr This will allow for convenient access to payload. --- android/hal-msg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/android/hal-msg.h b/android/hal-msg.h index 9dcfbf642..a1b539fd2 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -29,6 +29,7 @@ struct hal_msg_hdr { uint8_t service_id; uint8_t opcode; uint16_t len; + uint8_t payload[0]; } __attribute__((packed)); #define HAL_SERVICE_ID_CORE 0 -- 2.47.3