summaryrefslogtreecommitdiff
path: root/src/ipc_server.h
blob: 534d9fffdc395a5d061b2207b7ddd2bb4c403cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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__ */