diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-11-22 11:47:19 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-11-22 11:47:19 +0000 |
commit | ab5de0c3939158ce42f347100dc4a066862fd93d (patch) | |
tree | 481d8287d66a224bb3c25ef6afa355aa2113ddb9 /hcid | |
parent | 51c890931321ca0f16377dfe02e11091ed81ac26 (diff) |
Use AddServiceRecordFromXML as method name
Diffstat (limited to 'hcid')
-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); |