summaryrefslogtreecommitdiff
path: root/src/dzl_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dzl_server.h')
-rw-r--r--src/dzl_server.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/dzl_server.h b/src/dzl_server.h
new file mode 100644
index 0000000..3a8b2ab
--- /dev/null
+++ b/src/dzl_server.h
@@ -0,0 +1,45 @@
+/**
+* @file dzl_server.h
+* @brief server part using ipc methods
+
+* 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 __DZL_SERVER_H__
+#define __DZL_SERVER_H__
+
+#ifdef __cplusplus
+extern "C" {
+
+#endif /*
+*/
+
+/**
+* @fn int IPC_StartServer(char *(*pFunc)(char *, int))
+* @brief this function to start IPC server
+* @param *(*pFunc)(char *, int) [in] function pointer
+* @return int result of function
+*/
+int IPC_StartServer(char *(*pFunc) (char *, int));
+
+/**
+* @fn int IPC_RegisterCallback(char *data, int size)
+* @brief this function to register callback through IPC
+* @param *data [in] callback function and params data
+* @param *size [in] size of data
+* @return int function return
+*/
+int IPC_RegisterCallback(char *data, int size);
+
+
+#ifdef __cplusplus
+}
+#endif /*
+*/
+
+#endif /* __DZL_SERVER_H__ */