aboutsummaryrefslogtreecommitdiffstats
path: root/include/protocol.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-07-03 16:42:40 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-07-03 16:42:40 +0200
commit026a7f442ad2d319ee0f1f68a7a41fe482f93c68 (patch)
tree9af685e5013c0fe4ef8777d5d791260d7e653483 /include/protocol.h
parentd1e05cfad4a5d96885622326ae080b6658ed08a9 (diff)
downloadexternal_libsamsung-ipc-026a7f442ad2d319ee0f1f68a7a41fe482f93c68.zip
external_libsamsung-ipc-026a7f442ad2d319ee0f1f68a7a41fe482f93c68.tar.gz
external_libsamsung-ipc-026a7f442ad2d319ee0f1f68a7a41fe482f93c68.tar.bz2
Rename ipc_header to ipc_fmt_header, add ipc_rfs_header and utility functions
Change-Id: I4559319bd4c56a5994f2966fa3b853429ccc921a Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 5a9c2cc..db651ea 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -75,7 +75,7 @@
* Structures
*/
-struct ipc_header {
+struct ipc_fmt_header {
unsigned short length;
unsigned char mseq;
unsigned char aseq;
@@ -84,6 +84,12 @@ struct ipc_header {
unsigned char type;
} __attribute__((__packed__));
+struct ipc_rfs_header {
+ unsigned int length;
+ unsigned char index;
+ unsigned char id;
+} __attribute__((__packed__));
+
#endif
// vim:ts=4:sw=4:expandtab