4 * Copyright (c) 2014 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__
30 * @addtogroup CAPI_TELEPHONY_SERVICE
39 * @brief Definition for the telephony service name.
41 #define DBUS_TELEPHONY_SERVICE "org.tizen.telephony"
44 * @brief Definition for the telephony object path.
46 #define DBUS_TELEPHONY_DEFAULT_PATH "/org/tizen/telephony"
49 * @brief The structure type containing the TAPI handle.
51 typedef struct tapi_handle TapiHandle;
54 * @brief Called for the TAPI notification.
55 * @param[in] handle The #TapiHandle obtained from tel_init()
56 * @param[in] noti_id The notification ID for a callback has to be invoked
57 * @param[in] data The notification data
58 * @param[in] user_data The user data
60 typedef void (*tapi_notification_cb)(TapiHandle *handle, const char *noti_id, void *data, void *user_data);
63 * @brief Called for the TAPI response.
64 * @param[in] handle The #TapiHandle obtained from tel_init()
65 * @param[in] result The result of the operation
66 * @param[in] data The response data from the operation
67 * @param[in] user_data The user data
69 typedef void (*tapi_response_cb)(TapiHandle *handle, int result, void *data, void *user_data);
79 #endif /* __TAPI_TYPE_H__ */