dbus_message_unref(reply);
}
-int bluetooth_register_profile(DBusConnection *conn, const char *uuid,
+int bt_register_profile(DBusConnection *conn, const char *uuid,
const char *name, const char *object)
{
DBusMessageIter iter, dict;
return 0;
}
-void bluetooth_unregister_profile(DBusConnection *conn, const char *object)
+void bt_unregister_profile(DBusConnection *conn, const char *object)
{
DBusMessageIter iter;
DBusPendingCall *c;
int bt_bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2);
-int bluetooth_register_profile(DBusConnection *conn, const char *uuid,
+int bt_register_profile(DBusConnection *conn, const char *uuid,
const char *name, const char *object);
-void bluetooth_unregister_profile(DBusConnection *conn, const char *object);
+void bt_unregister_profile(DBusConnection *conn, const char *object);
if (modems != NULL)
return;
- bluetooth_unregister_profile(conn, HFP_AG_EXT_PROFILE_PATH);
+ bt_unregister_profile(conn, HFP_AG_EXT_PROFILE_PATH);
return;
}
if (modems->next != NULL)
return;
- bluetooth_register_profile(conn, HFP_AG_UUID, "hfp_ag",
+ bt_register_profile(conn, HFP_AG_UUID, "hfp_ag",
HFP_AG_EXT_PROFILE_PATH);
}
{
DBG("Registering External Profile handler ...");
- bluetooth_register_profile(conn, HFP_HS_UUID, "hfp_hf",
+ bt_register_profile(conn, HFP_HS_UUID, "hfp_hf",
HFP_EXT_PROFILE_PATH);
}
{
DBusConnection *conn = ofono_dbus_get_connection();
- bluetooth_unregister_profile(conn, HFP_EXT_PROFILE_PATH);
+ bt_unregister_profile(conn, HFP_EXT_PROFILE_PATH);
g_dbus_unregister_interface(conn, HFP_EXT_PROFILE_PATH,
BLUEZ_PROFILE_INTERFACE);
ofono_modem_driver_unregister(&hfp_driver);