diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/protocol.h | 8 | ||||
-rw-r--r-- | include/samsung-ipc.h | 10 |
2 files changed, 14 insertions, 4 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 diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h index b68f6fc..1868709 100644 --- a/include/samsung-ipc.h +++ b/include/samsung-ipc.h @@ -37,7 +37,9 @@ struct ipc_client; struct ipc_handlers; -struct ipc_header; + +struct ipc_fmt_header; +struct ipc_rfs_header; struct ipc_message_info { unsigned char mseq; @@ -115,8 +117,10 @@ void ipc_client_log_recv(struct ipc_client *client, struct ipc_message_info *response, const char *prefix); void ipc_client_log_send(struct ipc_client *client, struct ipc_message_info *request, const char *prefix); -void ipc_header_fill(struct ipc_header *header, struct ipc_message_info *message); -void ipc_message_info_fill(struct ipc_header *header, struct ipc_message_info *message); +void ipc_fmt_header_fill(struct ipc_fmt_header *header, struct ipc_message_info *message); +void ipc_fmt_message_fill(struct ipc_fmt_header *header, struct ipc_message_info *message); +void ipc_rfs_header_fill(struct ipc_rfs_header *header, struct ipc_message_info *message); +void ipc_rfs_message_fill(struct ipc_rfs_header *header, struct ipc_message_info *message); /* * Samsung-IPC protocol |