Add 3.0 APIs and sync APIs same as 2.4
[platform/core/convergence/service-adaptor.git] / common / ipc-client / sal_ipc_client_core.h
1 /*
2  * Service Adaptor Client Core IPC
3  *
4  * Copyright (c) 2014 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Yongjin Kim <youth.kim@samsung.com>
7  *          Jinhyeong Ahn <jinh.ahn@samsung.com>
8  *          Jiwon Kim <jiwon177.kim@samsung.com>
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */
23
24 #ifndef __TIZEN_CONVERGENCE_SAL_IPC_CLIENT_CORE_H__
25 #define __TIZEN_CONVERGENCE_SAL_IPC_CLIENT_CORE_H__
26
27 #ifndef API
28 #define API __attribute__ ((visibility("default")))
29 #endif
30
31 #ifdef __cplusplus
32 extern "C"
33 {
34 #endif
35
36 #include <glib.h>
37
38 int ipc_service_adaptor_connect(const char *uri, GList **plugins);
39 int ipc_service_adaptor_disconnect(const char *uri);
40 int ipc_service_plugin_create(const char *uri);
41 int ipc_service_plugin_destroy(const char *uri);
42
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif /* __TIZEN_CONVERGENCE_SAL_IPC_CLIENT_CORE_H__ */
49