aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-12-30 21:58:30 +0100
committerPaulK <contact@paulk.fr>2011-12-30 21:58:30 +0100
commita1a3b71633b40a327c9f45ae884946fe380c9013 (patch)
tree63b25a8b74d976b8963929d7518fa55a35487daa /include
parentb3ae1307d322ad481de85203f1b5e06361815680 (diff)
downloadexternal_libsamsung-ipc-a1a3b71633b40a327c9f45ae884946fe380c9013.zip
external_libsamsung-ipc-a1a3b71633b40a327c9f45ae884946fe380c9013.tar.gz
external_libsamsung-ipc-a1a3b71633b40a327c9f45ae884946fe380c9013.tar.bz2
Added accuracy to crespo's struct ipc_gen_phone_res and added check function
Diffstat (limited to 'include')
-rw-r--r--include/device/crespo/gen.h5
-rw-r--r--include/device/h1/gen.h3
-rw-r--r--include/gen.h2
3 files changed, 7 insertions, 3 deletions
diff --git a/include/device/crespo/gen.h b/include/device/crespo/gen.h
index 131ada3..0e69260 100644
--- a/include/device/crespo/gen.h
+++ b/include/device/crespo/gen.h
@@ -23,8 +23,9 @@
#define __DEVICE_CRESPO_GEN_H__
struct ipc_gen_phone_res {
- unsigned char group, type;
- unsigned char unk;
+ unsigned char group;
+ unsigned char index;
+ unsigned char type;
unsigned short code;
} __attribute__((__packed__));
diff --git a/include/device/h1/gen.h b/include/device/h1/gen.h
index 519f207..b4af515 100644
--- a/include/device/h1/gen.h
+++ b/include/device/h1/gen.h
@@ -23,7 +23,8 @@
#define __DEVICE_H1_GEN_H__
struct ipc_gen_phone_res {
- unsigned char group, type;
+ unsigned char group;
+ unsigned char index;
unsigned short code;
unsigned char unk;
} __attribute__((__packed__));
diff --git a/include/gen.h b/include/gen.h
index a7cc2e1..0a83104 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -29,6 +29,8 @@
#define IPC_GEN_PHONE_RES 0x8001
+int ipc_gen_phone_res_check(struct ipc_gen_phone_res *res);
+
#endif
// vim:ts=4:sw=4:expandtab