4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * Girishashok Joshi <girish.joshi@samsung.com>
8 * Chanyeol Park <chanyeol.park@samsung.com>
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
14 * http://www.apache.org/licenses/LICENSE-2.0
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.
24 #ifndef BT_SERVICE_PBAP_H
25 #define BT_SERVICE_PBAP_H
29 #include <dbus/dbus-glib.h>
30 #include <dbus/dbus-glib-lowlevel.h>
37 #include <dbus/dbus-glib.h>
40 #define LOG_TAG "BLUETOOTH_FRWK_SERVICE"
41 #define ERR(fmt, args...) SLOGE(fmt, ##args)
43 int _bt_pbap_connect(const bluetooth_device_address_t *address);
45 int _bt_pbap_disconnect(const bluetooth_device_address_t *address);
47 int _bt_pbap_get_phonebook_size(const bluetooth_device_address_t *address,
48 int source, int type);
50 int _bt_pbap_get_phonebook(const bluetooth_device_address_t *address,
51 int source, int type, bt_pbap_pull_parameters_t *app_param);
53 int _bt_pbap_get_list(const bluetooth_device_address_t *address, int source,
54 int type, bt_pbap_list_parameters_t *app_param);
56 int _bt_pbap_pull_vcard(const bluetooth_device_address_t *address,
57 int source, int type, bt_pbap_pull_vcard_parameters_t *app_param);
59 int _bt_pbap_phonebook_search(const bluetooth_device_address_t *address,
60 int source, int type, bt_pbap_search_parameters_t *app_param);
62 void _bt_pbap_obex_transfer_completed(const char *transfer_path, gboolean transfer_status);