typedef struct dpm_profile_val dpm_profile_state_t;
int _bt_launch_dpm_popup(char *mode);
-dpm_result_t _bt_dpm_set_allow_bluetooth_mode(dpm_bt_allow_t value);
-dpm_bt_allow_t _bt_dpm_get_allow_bluetooth_mode(void);
-dpm_result_t _bt_dpm_activate_bluetooth_device_restriction(dpm_status_t value);
-dpm_status_t _bt_dpm_is_bluetooth_device_restriction_active(void);
-dpm_result_t _bt_dpm_activate_bluetoooth_uuid_restriction(dpm_status_t value);
-dpm_status_t _bt_dpm_is_bluetooth_uuid_restriction_active(void);
-dpm_result_t _bt_dpm_add_bluetooth_devices_to_blacklist(bluetooth_device_address_t *bd_addr);
-dpm_result_t _bt_dpm_add_bluetooth_devices_to_whitelist(bluetooth_device_address_t *bd_addr);
-dpm_result_t _bt_dpm_add_bluetooth_uuids_to_blacklist(const char *uuid);
-dpm_result_t _bt_dpm_add_bluetooth_uuids_to_whitelist(const char *uuid);
-dpm_result_t _bt_dpm_set_allow_bluetooth_outgoing_call(dpm_status_t value);
-dpm_status_t _bt_dpm_get_allow_bluetooth_outgoing_call(void);
-dpm_result_t _bt_dpm_clear_bluetooth_devices_from_blacklist(void);
-dpm_result_t _bt_dpm_clear_bluetooth_devices_from_whitelist(void);
-dpm_result_t _bt_dpm_clear_bluetooth_uuids_from_blacklist(void);
-dpm_result_t _bt_dpm_clear_bluetooth_uuids_from_whitelist(void);
-dpm_result_t _bt_dpm_get_bluetooth_devices_from_blacklist(GArray **out_param1);
-dpm_result_t _bt_dpm_get_bluetooth_devices_from_whitelist(GArray **out_param1);
-dpm_result_t _bt_dpm_get_bluetooth_uuids_from_blacklist(GArray **out_param1);
-dpm_result_t _bt_dpm_get_bluetooth_uuids_from_whitelist(GArray **out_param1);
-dpm_status_t _bt_dpm_is_bluetooth_device_restriction_active(void);
-dpm_status_t _bt_dpm_is_bluetooth_uuid_restriction_active(void);
-dpm_status_t _bt_dpm_set_bluetooth_pairing_state(dpm_status_t value);
-dpm_status_t _bt_dpm_get_bluetooth_pairing_state(void);
-dpm_status_t _bt_dpm_set_bluetooth_profile_state(dpm_profile_t profile, dpm_status_t value);
-dpm_status_t _bt_dpm_get_bluetooth_profile_state(dpm_profile_t profile);
-dpm_status_t _bt_dpm_set_bluetooth_desktop_connectivity_state(dpm_status_t value);
-dpm_status_t _bt_dpm_get_bluetooth_desktop_connectivity_state(void);
-dpm_status_t _bt_dpm_set_bluetooth_discoverable_state(dpm_status_t value);
-dpm_status_t _bt_dpm_get_bluetooth_discoverable_state(void);
-dpm_result_t _bt_dpm_clear_bluetooth_devices_from_list(void);
-dpm_result_t _bt_dpm_clear_bluetooth_uuids_from_list(void);
-dpm_status_t _bt_dpm_set_bluetooth_limited_discoverable_state(dpm_status_t value);
-dpm_status_t _bt_dpm_get_bluetooth_limited_discoverable_state(void);
-dpm_status_t _bt_dpm_set_bluetooth_data_transfer_state(dpm_status_t value);
-dpm_status_t _bt_dpm_get_allow_bluetooth_data_transfer_state(void);
-dpm_result_t _bt_dpm_remove_bluetooth_devices_from_whitelist(bluetooth_device_address_t *bd_addr);
-dpm_result_t _bt_dpm_remove_bluetooth_devices_from_blacklist(bluetooth_device_address_t *bd_addr);
-dpm_result_t _bt_dpm_remove_bluetooth_uuids_from_whitelist(const char *uuids);
-dpm_result_t _bt_dpm_remove_bluetooth_uuids_from_blacklist(const char *uuids);
+int _bt_dpm_set_allow_bluetooth_mode(dpm_bt_allow_t value);
+int _bt_dpm_get_allow_bluetooth_mode(int *value);
+int _bt_dpm_activate_bluetooth_device_restriction(dpm_status_t value);
+int _bt_dpm_is_bluetooth_device_restriction_active(int *value);
+int _bt_dpm_activate_bluetoooth_uuid_restriction(dpm_status_t value);
+int _bt_dpm_is_bluetooth_uuid_restriction_active(int *value);
+int _bt_dpm_add_bluetooth_devices_to_blacklist(bluetooth_device_address_t *bd_addr);
+int _bt_dpm_add_bluetooth_devices_to_whitelist(bluetooth_device_address_t *bd_addr);
+int _bt_dpm_add_bluetooth_uuids_to_blacklist(const char *uuid);
+int _bt_dpm_add_bluetooth_uuids_to_whitelist(const char *uuid);
+int _bt_dpm_set_allow_bluetooth_outgoing_call(dpm_status_t value);
+int _bt_dpm_get_allow_bluetooth_outgoing_call(int *value);
+int _bt_dpm_clear_bluetooth_devices_from_blacklist(void);
+int _bt_dpm_clear_bluetooth_devices_from_whitelist(void);
+int _bt_dpm_clear_bluetooth_uuids_from_blacklist(void);
+int _bt_dpm_clear_bluetooth_uuids_from_whitelist(void);
+int _bt_dpm_get_bluetooth_devices_from_blacklist(GArray **out_param1);
+int _bt_dpm_get_bluetooth_devices_from_whitelist(GArray **out_param1);
+int _bt_dpm_get_bluetooth_uuids_from_blacklist(GArray **out_param1);
+int _bt_dpm_get_bluetooth_uuids_from_whitelist(GArray **out_param1);
+int _bt_dpm_is_bluetooth_device_restriction_active(int *value);
+int _bt_dpm_is_bluetooth_uuid_restriction_active(int *value);
+int _bt_dpm_set_bluetooth_pairing_state(dpm_status_t value);
+int _bt_dpm_get_bluetooth_pairing_state(int *value);
+int _bt_dpm_set_bluetooth_profile_state(dpm_profile_t profile, dpm_status_t value);
+int _bt_dpm_get_bluetooth_profile_state(dpm_profile_t profile, int *value);
+int _bt_dpm_set_bluetooth_desktop_connectivity_state(dpm_status_t value);
+int _bt_dpm_get_bluetooth_desktop_connectivity_state(int *value);
+int _bt_dpm_set_bluetooth_discoverable_state(dpm_status_t value);
+int _bt_dpm_get_bluetooth_discoverable_state(int *value);
+int _bt_dpm_clear_bluetooth_devices_from_list(void);
+int _bt_dpm_clear_bluetooth_uuids_from_list(void);
+int _bt_dpm_set_bluetooth_limited_discoverable_state(dpm_status_t value);
+int _bt_dpm_get_bluetooth_limited_discoverable_state(int *value);
+int _bt_dpm_set_bluetooth_data_transfer_state(dpm_status_t value);
+int _bt_dpm_get_allow_bluetooth_data_transfer_state(int *value);
+int _bt_dpm_remove_bluetooth_devices_from_whitelist(bluetooth_device_address_t *bd_addr);
+int _bt_dpm_remove_bluetooth_devices_from_blacklist(bluetooth_device_address_t *bd_addr);
+int _bt_dpm_remove_bluetooth_uuids_from_whitelist(const char *uuids);
+int _bt_dpm_remove_bluetooth_uuids_from_blacklist(const char *uuids);
#ifdef __cplusplus
}