aboutsummaryrefslogtreecommitdiffstats
path: root/include/gen.h
diff options
context:
space:
mode:
authorJoerie de Gram <j.de.gram@gmail.com>2011-08-17 23:00:35 +0200
committerJoerie de Gram <j.de.gram@gmail.com>2011-08-17 23:00:35 +0200
commit7bb4a47d77b7c09319a82c42948c6b385fd3b81d (patch)
tree45c5c83de2b402458f2ccceee81cbdd88e001931 /include/gen.h
parent4dea3cd4bbc899a88715b752e8201a4ee9e5b65b (diff)
downloadexternal_libsamsung-ipc-7bb4a47d77b7c09319a82c42948c6b385fd3b81d.zip
external_libsamsung-ipc-7bb4a47d77b7c09319a82c42948c6b385fd3b81d.tar.gz
external_libsamsung-ipc-7bb4a47d77b7c09319a82c42948c6b385fd3b81d.tar.bz2
Massive cleanup & device specific frame handling
- Introduced device specific frame handling - Removed all IPC command helper functions - General cleanup
Diffstat (limited to 'include/gen.h')
-rw-r--r--include/gen.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/gen.h b/include/gen.h
new file mode 100644
index 0000000..4b6b7bd
--- /dev/null
+++ b/include/gen.h
@@ -0,0 +1,33 @@
+/**
+ * This file is part of libsamsung-ipc.
+ *
+ * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
+ *
+ * libsamsung-ipc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * libsamsung-ipc is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef __GEN_H__
+#define __GEN_H__
+
+#define IPC_GEN_PHONE_RES 0x8001
+
+struct ipc_gen_phone_res {
+ unsigned char group, type;
+ unsigned short code;
+ unsigned char unk;
+} __attribute__((__packed__));
+
+#endif
+