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 __DEF_BT_PB_VCARD_H_
25 #define __DEF_BT_PB_VCARD_H_
29 #define SIM_ADDRESSBOOK_PREFIX "http://tizen.samsung.com/addressbook/sim"
32 PBAP_ADDRESSBOOK_PHONE,
34 } bt_pbap_addressbook_e;
37 int _bluetooth_get_contact_addressbook(gint person_id);
39 gchar *_bluetooth_pb_vcard_contact(gint person_id,
43 gchar *_bluetooth_pb_vcard_contact_owner(const gchar *number,
47 gchar *_bluetooth_pb_vcard_call(gint phonelog_id,
52 gchar *_bluetooth_pb_fn_from_person_id(gint person_id);
54 gchar *_bluetooth_pb_name_from_person_id(gint person_id);
56 gchar *_bluetooth_pb_number_from_person_id(gint person_id);
58 gchar *_bluetooth_pb_fn_from_phonelog_id(gint phonelog_id);
60 gchar *_bluetooth_pb_name_from_phonelog_id(gint phonelog_id);
62 gchar *_bluetooth_pb_number_from_phonelog_id(gint phonelog_id);
64 gchar *_bluetooth_pb_owner_name(void);
66 bool _bt_is_sim_addressbook(const char *addressbook);