[Adaprt: OAL] Implement create and remove bond
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-device-dbus-handler.h
1 /* Bluetooth-frwk
2  *
3  * Copyright (c) 20015 - 2016 Samsung Electronics Co., Ltd. All rights reserved.
4  *
5  * Contact: Anupam Roy <anupam.r@samsung.com>
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *              http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21
22 #ifndef _BT_HAL_DEVICE_DBUS_HANDLER_H_
23 #define _BT_HAL_DEVICE_DBUS_HANDLER_H_
24
25 #include <glib.h>
26 #include <sys/types.h>
27
28 #include "bt-hal.h"
29 #include "bt-hal-log.h"
30 #include "bt-hal-msg.h"
31
32 #include "bt-hal-event-receiver.h"
33
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38
39 int _bt_hal_device_create_bond(const bt_bdaddr_t *bd_addr, unsigned short transport);
40
41 int _bt_hal_device_remove_bond(const bt_bdaddr_t *bd_addr);
42
43 int _bt_hal_dbus_get_remote_device_properties(bt_bdaddr_t *remote_addr);
44
45 int _bt_hal_dbus_set_remote_device_property(
46                 bt_bdaddr_t *remote_addr, const bt_property_t *property);
47
48 #ifdef __cplusplus
49 }
50 #endif /* __cplusplus */
51 #endif /* _BT_HAL_DEVICE_DBUS_HANDLER_H_ */