summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-api.txt')
-rw-r--r--hcid/dbus-api.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index da2bd54d..c9661616 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -191,6 +191,17 @@ Methods uint32 InterfaceVersion()
registered, otherwise the record will be available
when the service agent Start method is called.
+ uint32 AddServiceRecordAsXML(string path, string record)
+
+ Add a new service record to the service agent
+ and returns the assigned handle.
+
+ The path parameter is the object path of the
+ service agent. The record parameter is the XML
+ representation of a service record. If the service
+ agent is running the service record will be automatically
+ registered, otherwise the record will be available
+ when the service agent Start method is called.
void RemoveServiceRecord(string path, uint32 handle)