summaryrefslogtreecommitdiff
path: root/src/ipc_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc_server.h')
-rw-r--r--src/ipc_server.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/ipc_server.h b/src/ipc_server.h
new file mode 100644
index 0000000..534d9ff
--- /dev/null
+++ b/src/ipc_server.h
@@ -0,0 +1,38 @@
+/**
+ * @file interface.h
+ * @brief API interface server
+
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * This software is the confidential and proprietary information
+ * of Samsung Electronics, Inc. ("Confidential Information"). You
+ * shall not disclose such Confidential Information and shall use
+ * it only in accordance with the terms of the license agreement
+ * you entered into with Samsung.
+ */
+
+#ifndef __IPC_SERVER_H__
+#define __IPC_SERVER_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+/**
+ * @fn int IPC_StartServer(char *(*pFunc)(char *, int))
+ * @brief this function to start IPC Server
+ * @param char *(*pFunc)(char *, int)
+ * @return int
+ */
+ int IPC_StartServer(char *(*pFunc) (char *, int));
+
+/**
+ * @fn int callback_init_connection(void)
+ * @brief this function to initialize callback fuction
+ * @param void
+ * @return int
+ */
+ int callback_init_connection(void);
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* __IPC_SERVER_H__ */