diff options
-rw-r--r-- | hcid/dbus-api.txt | 2 | ||||
-rw-r--r-- | hcid/dbus-manager.c | 2 | ||||
-rw-r--r-- | hcid/service-agent.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index c9661616..9305deb2 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -191,7 +191,7 @@ Methods uint32 InterfaceVersion() registered, otherwise the record will be available when the service agent Start method is called. - uint32 AddServiceRecordAsXML(string path, string record) + uint32 AddServiceRecordFromXML(string path, string record) Add a new service record to the service agent and returns the assigned handle. diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c index 9ac6b0e4..a07d30d4 100644 --- a/hcid/dbus-manager.c +++ b/hcid/dbus-manager.c @@ -634,7 +634,7 @@ static struct service_data methods[] = { { "RegisterService", register_service }, { "UnregisterService", unregister_service }, { "AddServiceRecord", add_service_record }, - { "AddServiceRecordAsXML", add_service_record_xml }, + { "AddServiceRecordFromXML", add_service_record_xml }, { "RemoveServiceRecord", remove_service_record }, { NULL, NULL } }; diff --git a/hcid/service-agent.c b/hcid/service-agent.c index 9c46dd1f..e57c114c 100644 --- a/hcid/service-agent.c +++ b/hcid/service-agent.c @@ -254,7 +254,7 @@ static int add_record(DBusConnection *conn, const char *service_path) const char *method; int err; - method = filename ? "AddServiceRecordAsXML" : "AddServiceRecord"; + method = filename ? "AddServiceRecordFromXML" : "AddServiceRecord"; msg = dbus_message_new_method_call("org.bluez", "/org/bluez", INTERFACE, method); |