upload tizen1.0 source
[framework/telephony/libslp-tapi.git] / include / tapi / tapi_proxy_internal.h
1 /*
2  * libslp-tapi
3  *
4  * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Ja-young Gu <jygu@samsung.com>
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20
21 #ifndef _TAPI_PROXY_INTERNAL_H_
22 #define _TAPI_PROXY_INTERNAL_H_
23
24 #include <glib-2.0/glib.h>
25 #include <dbus/dbus-protocol.h>
26 #include <dbus/dbus-glib.h>
27
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #endif
32
33 /*
34  * This function is used to check the connection status with telephony server through DBUS.
35  *
36  * @return              True / False
37  * @param[in]           NONE
38  * @param[out]  None
39  * @remark
40  * @Refer
41  */
42 int tapi_check_dbus_status_internal(void);
43
44  /*
45  *      This function is invoked to start as a thread and this thread will be in gmain loop to serve the
46  *      the internal requests from clients (Tapi API's).
47  *
48  * @param       None
49  * @return      None
50  * @remark      If this functions exits, then it is an error or crash
51  *
52  */
53 int tapi_send_request_internal( int tapi_service, int tapi_service_function,
54                         GArray *in_param1, GArray *in_param2, GArray *in_param3, GArray *in_param4,
55                         GArray **out_param1, GArray **out_param2, GArray **out_param3,GArray **out_param4);
56
57
58 #ifdef __cplusplus
59 }
60 #endif
61
62 #endif /*_TAPI_PROXY_H_ */