4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Ja-young Gu <jygu@samsung.com>
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #ifndef __TAPI_TYPE_H__
22 #define __TAPI_TYPE_H__
25 * @addtogroup TAPI_COMMON
36 /** Telephony service name */
37 #define DBUS_TELEPHONY_SERVICE "org.tizen.telephony"
39 /** Telephony object path */
40 #define DBUS_TELEPHONY_DEFAULT_PATH "/org/tizen/telephony"
45 typedef struct tapi_handle TapiHandle;
48 * TAPI Notification Callback Type
49 * @param handle #TapiHandle obtained from tel_init()
50 * @param noti_id Notification ID for which this callback has to be invoked
51 * @param data Notification Data
52 * @param user_data User Data
54 typedef void (*tapi_notification_cb)(TapiHandle *handle, const char *noti_id, void *data, void *user_data);
57 * TAPI Response Callback Type
58 * @param handle #TapiHandle obtained from tel_init()
59 * @param result Result of operation
60 * @param data Response Data from operation
61 * @param user_data User Data
63 typedef void (*tapi_response_cb)(TapiHandle *handle, int result, void *data, void *user_data);
71 #endif /* __TAPI_TYPE_H__ */