ctsvc_client_handle_remove in CTS_MUTEX_CONNECTION during disconnect_on_thread
[platform/core/pim/contacts-service.git] / client / ctsvc_client_service_helper.h
1 /*
2  * Contacts Service
3  *
4  * Copyright (c) 2010 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Dohyung Jin <dh.jin@samsung.com>
7  *                 Jongwon Lee <gogosing.lee@samsung.com>
8  *                 Donghee Ye <donghee.ye@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 __CTSVC_CLIENT_SERVICE_HELPER_H__
25 #define __CTSVC_CLIENT_SERVICE_HELPER_H__
26
27 int ctsvc_client_connect_with_flags(contacts_h contact, unsigned int flags);
28 int ctsvc_client_connect(contacts_h contact);
29 int ctsvc_client_disconnect(contacts_h contact);
30 int ctsvc_client_connect_on_thread(contacts_h contact);
31 int ctsvc_client_disconnect_on_thread(contacts_h contact);
32 int ctsvc_client_get_thread_connection_count();
33
34 #endif /* __CTSVC_CLIENT_SERVICE_HELPER_H__ */