Disconnect rfcomm connections
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-emul / bt-service-pbap.c
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *              http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 #include <glib.h>
19 #include <unistd.h>
20
21 #include "bt-internal-types.h"
22 #include "bt-service-common.h"
23 #include "bt-service-event.h"
24 #include "bt-service-pbap.h"
25
26 int _bt_pbap_connect(const bluetooth_device_address_t *address)
27 {
28         BT_CHECK_PARAMETER(address, return);
29
30         return BLUETOOTH_ERROR_NOT_SUPPORT;
31 }
32
33 int _bt_pbap_disconnect(const bluetooth_device_address_t *address)
34 {
35         BT_CHECK_PARAMETER(address, return);
36
37         return BLUETOOTH_ERROR_NOT_SUPPORT;
38 }
39
40 int _bt_pbap_get_phonebook_size(const bluetooth_device_address_t *address,
41                 int source, int type)
42 {
43         BT_CHECK_PARAMETER(address, return);
44
45         return BLUETOOTH_ERROR_NOT_SUPPORT;
46 }
47
48 int _bt_pbap_get_phonebook(const bluetooth_device_address_t *address,
49                 int source, int type, bt_pbap_pull_parameters_t *app_param)
50 {
51         BT_CHECK_PARAMETER(address, return);
52
53         return BLUETOOTH_ERROR_NOT_SUPPORT;
54 }
55
56 int _bt_pbap_get_list(const bluetooth_device_address_t *address, int source,
57                 int type,  bt_pbap_list_parameters_t *app_param)
58 {
59         BT_CHECK_PARAMETER(address, return);
60
61         return BLUETOOTH_ERROR_NOT_SUPPORT;
62 }
63
64
65 int _bt_pbap_pull_vcard(const bluetooth_device_address_t *address,
66                 int source, int type, bt_pbap_pull_vcard_parameters_t *app_param)
67 {
68         BT_CHECK_PARAMETER(address, return);
69
70         return BLUETOOTH_ERROR_NOT_SUPPORT;
71 }
72
73 int _bt_pbap_phonebook_search(const bluetooth_device_address_t *address,
74                 int source, int type, bt_pbap_search_parameters_t *app_param)
75 {
76         BT_CHECK_PARAMETER(address, return);
77
78         return BLUETOOTH_ERROR_NOT_SUPPORT;
79 }
80