summaryrefslogtreecommitdiff
path: root/src/lib/ipc_client.h
blob: f1b6e719c14c824d4a097ddf332c2892469debe1 (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
/**
 * @file        ipc_client.h
 * @brief       client 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 __IPC_CLIENT_H__
#define __IPC_CLIENT_H__

/**
 * @fn        int IPC_CallFunction(char *data, int size, char **retbuf)
 * @brief     this function to send data through IPC
 * @param     *data         [in] send data
 * @param     size          [in] size of data
 * @param     **retbuf      [in] return buffer string
 * @return    int       result of function
 */
int IPC_CallFunction(char *data, int size, char **retbuf);

/**
 * @fn        int IPC_RegisterCallback(void)
 * @brief     this function to register callback
 * @return    int   result of function
 */
int IPC_RegisterCallback(void);

#endif  /* __IPC_CLIENT_H__ */