Merge "Invoke HAL_DISCOVERY_STATE_STOPPED event once" into tizen
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-hf-client-dbus-handler.h
1 /*
2  * BLUETOOTH HAL
3  *
4  * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *              http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21 #ifndef _BT_HAL_HF_CLIENT_DBUS_HANDLER_H_
22 #define _BT_HAL_HF_CLIENT_DBUS_HANDLER_H_
23
24 #include <glib.h>
25 #include <sys/types.h>
26
27 #include "bt-hal.h"
28 #include "bt-hal-log.h"
29 #include "bt-hal-msg.h"
30
31 #include "bt-hal-event-receiver.h"
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 void _bt_hal_register_hf_client_dbus_handler_cb(handle_stack_msg cb);
38
39 void _bt_hal_unregister_hf_client_dbus_handler_cb();
40
41 bt_status_t _bt_hal_dbus_handler_hf_client_connect(bt_bdaddr_t *bd_addr);
42
43 bt_status_t _bt_hal_dbus_handler_hf_client_disconnect(bt_bdaddr_t *bd_addr);
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48 #endif /* _BT_HAL_HF_CLIENT_DBUS_HANDLER_H_*/