#include <glib.h>
#include <sys/types.h>
#include "bluetooth-api.h"
+#include "alarm.h"
#ifdef __cplusplus
extern "C" {
BT_LE_DEACTIVATING,
} bt_le_status_t;
+int _bt_adapter_request_delayed(int function);
+
+int _bt_enable_adapter_check_status(void);
+
int _bt_enable_adapter(void);
+int _bt_disable_adapter_check_status(void);
+
+void _bt_keep_bt_status_vconf(void);
+
int _bt_disable_adapter(void);
int _bt_recover_adapter(void);
int _bt_reset_adapter(void);
+void _bt_set_bluetooth_status(void);
+
int _bt_enable_core(void);
void _bt_handle_adapter_added(void);
void *_bt_get_adapter_agent(void);
+void _bt_service_register_poweroff_event(void);
+
+void _bt_service_unregister_poweroff_event(void);
+
void _bt_service_register_vconf_handler(void);
void _bt_service_unregister_vconf_handler(void);
+gboolean _bt_is_deactivated_by_flight_ps_mode(void);
+
void _bt_set_discovery_status(gboolean mode);
int _bt_get_local_address(bluetooth_device_address_t *local_address);
int _bt_get_bonded_devices(GArray **dev_list);
+int _bt_get_profile_connected_devices(char *profile_uuid, GArray **addr_list);
+
int _bt_get_bonded_device_info(bluetooth_device_address_t *device_address,
bluetooth_device_info_t *dev_info);
+int _bt_is_alias_set(bluetooth_device_address_t *device_address, gboolean *is_alias_set);
+
int _bt_get_timeout_value(int *timeout);
gboolean _bt_is_discovering(void);
bt_le_status_t _bt_adapter_get_le_status(void);
+void _bt_adapter_set_vconf_status(gboolean enable);
+
+void _bt_set_booting_time_flag(gboolean flag);
+
+void _bt_set_le_intended_status(gboolean value);
+
void _bt_adapter_start_enable_timer(void);
void _bt_adapter_start_le_enable_timer(void);
int _bt_set_le_privacy(gboolean set_privacy);
+int _bt_set_le_static_random_address(gboolean is_enable);
+
int _bt_set_manufacturer_data(bluetooth_manufacturer_data_t *m_data);
-int __bt_disable_cb(void);
+void _bt_start_log_dump(const char *path);
+
+int _bt_disable_cb(void);
int _bt_get_enable_timer_id(void);
+void _bt_force_hci_dump(int timeout);
+
+typedef int (*bt_set_alarm_cb) (alarm_id_t alarm_id, void* user_param);
+
+int _bt_service_set_alarm(int timeout, bt_set_alarm_cb call_back,
+ void *user_data, alarm_id_t *alarm_id);
+
+int _bt_service_remove_alarm(alarm_id_t alarm_id);
+
+gint compare_alarm(gconstpointer list_data, gconstpointer data);
#ifdef __cplusplus
}
#endif /* __cplusplus */