Merge "bt-api: Do not log the _bt_check_privilege() using macro" into tizen_3.0
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-emul / include / bt-service-opp-client.h
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
19 #ifndef _BT_SERVICE_OPP_CLIENT_H_
20 #define _BT_SERVICE_OPP_CLIENT_H_
21
22 #include <glib.h>
23 #include <sys/types.h>
24 #include <gio/gio.h>
25 #include "bluetooth-api.h"
26 #include "bt-internal-types.h"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 typedef struct {
33         char path[BT_FILE_PATH_MAX];
34 } bt_file_path_t;
35
36 int _bt_opp_client_push_files(int request_id, GDBusMethodInvocation *context,
37                                 bluetooth_device_address_t *remote_address,
38                                 char **file_path, int file_count);
39
40 int _bt_opp_client_cancel_push(void);
41
42 int _bt_opp_client_cancel_all_transfers(void);
43
44 int _bt_opp_client_is_sending(gboolean *sending);
45
46 #ifdef __cplusplus
47 }
48 #endif /* __cplusplus */
49 #endif /*_BT_SERVICE_OPP_CLIENT_H_*/
50