summaryrefslogtreecommitdiffstats
path: root/include/samsung-ril-socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/samsung-ril-socket.h')
-rw-r--r--include/samsung-ril-socket.h29
1 files changed, 21 insertions, 8 deletions
diff --git a/include/samsung-ril-socket.h b/include/samsung-ril-socket.h
index c7b5e0d..59be2f2 100644
--- a/include/samsung-ril-socket.h
+++ b/include/samsung-ril-socket.h
@@ -40,6 +40,19 @@
#define SRS_CONTROL_CAFFE 0xCAFFE
+struct srs_header {
+ unsigned int length;
+ unsigned char group;
+ unsigned char index;
+} __attribute__((__packed__));
+
+struct srs_message {
+ unsigned short command;
+ int length;
+ void *data;
+};
+
+
enum srs_snd_type {
SRS_SND_TYPE_VOICE,
SRS_SND_TYPE_SPEAKER,
@@ -66,16 +79,16 @@ struct srs_snd_call_volume {
int volume;
} __attribute__((__packed__));
-struct srs_header {
- unsigned int length;
- unsigned char group;
- unsigned char index;
+struct srs_snd_call_audio_path {
+ enum srs_snd_path path;
} __attribute__((__packed__));
-struct srs_message {
- unsigned short command;
- int data_len;
- void *data;
+struct srs_snd_call_clock_sync {
+ unsigned char sync;
+} __attribute__((__packed__));
+
+struct srs_control_ping {
+ int caffe;
} __attribute__((__packed__));
#endif