aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc_private.h
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-08-25 08:30:48 +0200
committerSimon Busch <morphis@gravedo.de>2011-08-25 08:31:08 +0200
commit43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542 (patch)
tree8157fa9a34aa0cbb2761ab31e4e585e188a4a67c /samsung-ipc/ipc_private.h
parenta76fbd11508d1390e8c0ea65afef6222a29ff247 (diff)
downloadexternal_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.zip
external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.tar.gz
external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.tar.bz2
Name ipc code lines not visible for the public with private postfix
Diffstat (limited to 'samsung-ipc/ipc_private.h')
-rw-r--r--samsung-ipc/ipc_private.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h
new file mode 100644
index 0000000..8eb34d9
--- /dev/null
+++ b/samsung-ipc/ipc_private.h
@@ -0,0 +1,33 @@
+/**
+ * This file is part of libsamsung-ipc.
+ *
+ * Copyright (C) 2011 Simon Busch <morphis@gravedo.de>
+ *
+ * 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 __IPC_PRIVATE_H__
+#define __IPC_PRIVATE_H__
+
+struct ipc_ops {
+ int (*open)(void);
+ int (*close)(void);
+ int (*power_on)(void);
+ int (*power_off)(void);
+ int (*send)(struct ipc_request*);
+ int (*recv)(struct ipc_response*);
+};
+
+#endif