3 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5 * Contact: Atul Kumar Rai <a.rai@samsung.com>
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 #ifndef _BT_HAL_HDP_DBUS_HANDLER_H_
23 #define _BT_HAL_HDP_DBUS_HANDLER_H_
26 #include <sys/types.h>
29 #include "bt-hal-log.h"
30 #include "bt-hal-msg.h"
32 #include "bt-hal-event-receiver.h"
38 void _bt_hal_register_hdp_dbus_handler_cb(handle_stack_msg cb);
39 void _bt_hal_unregister_hdp_dbus_handler_cb();
40 bt_status_t _bt_hal_dbus_handler_hdp_register_application(int role,
41 int data_type, int channel_type, const char *description, int *app_id);
42 bt_status_t _bt_hal_dbus_handler_hdp_unregister_application(int app_id);
43 bt_status_t _bt_hal_dbus_handler_hdp_connect_channel(int app_id, bt_bdaddr_t *bd_addr, int *channel_id);
44 bt_status_t _bt_hal_dbus_handler_hdp_destroy_channel(int channel_id);
48 #endif /* __cplusplus */
49 #endif /* _BT_HAL_HDP_DBUS_HANDLER_H_ */