Fix mem leak.
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-emul / bt-service-opp-client.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 <string.h>
20
21 #include "bluetooth-api.h"
22 #include "bt-internal-types.h"
23
24 #include "bt-service-common.h"
25 #include "bt-service-event.h"
26 #include "bt-service-util.h"
27 #include "bt-service-opp-client.h"
28
29 int _bt_opp_client_push_files(int request_id, GDBusMethodInvocation *context,
30                                 bluetooth_device_address_t *remote_address,
31                                 char **file_path, int file_count)
32 {
33         BT_CHECK_PARAMETER(remote_address, return);
34         BT_CHECK_PARAMETER(file_path, return);
35
36         return BLUETOOTH_ERROR_NOT_SUPPORT;
37 }
38
39 int _bt_opp_client_cancel_push(void)
40 {
41         return BLUETOOTH_ERROR_NOT_SUPPORT;
42 }
43
44 int _bt_opp_client_cancel_all_transfers(void)
45 {
46         return BLUETOOTH_ERROR_NOT_SUPPORT;
47 }
48
49 int _bt_opp_client_is_sending(gboolean *sending)
50 {
51         BT_CHECK_PARAMETER(sending, return);
52
53         return BLUETOOTH_ERROR_NOT_SUPPORT;
54 }
55