aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-08-25 08:32:39 +0200
committerSimon Busch <morphis@gravedo.de>2011-08-25 08:32:39 +0200
commit7d80f41d7cda80978db6c93e6e50422c93f133d4 (patch)
treed054322eb0190e926a6742a25297fde7e6f241dc /include
parent8d44ee21f7d49bc80cc94054ab5b67ae3363f5fe (diff)
downloadexternal_libsamsung-ipc-7d80f41d7cda80978db6c93e6e50422c93f133d4.zip
external_libsamsung-ipc-7d80f41d7cda80978db6c93e6e50422c93f133d4.tar.gz
external_libsamsung-ipc-7d80f41d7cda80978db6c93e6e50422c93f133d4.tar.bz2
Export new API functions with library headers
Diffstat (limited to 'include')
-rw-r--r--include/radio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/radio.h b/include/radio.h
index 47b0022..24c770b 100644
--- a/include/radio.h
+++ b/include/radio.h
@@ -24,6 +24,9 @@
#include "types.h"
#include "util.h"
+#define IPC_CLIENT_TYPE_CRESPO 1
+#define IPC_CLIENT_TYPE_H1 2
+
#define IPC_COMMAND(f) ((f->group << 8) | f->index)
#define IPC_GROUP(m) (m >> 8)
#define IPC_INDEX(m) (m & 0xff)
@@ -51,6 +54,7 @@ struct ipc_response {
unsigned char *data;
};
+int ipc_init(int client_type);
int ipc_open();
int ipc_close();