summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-22 06:06:36 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-22 06:06:36 +0000
commit214cc18ef97fcaa0a4c3746e183caf5820bc811b (patch)
tree0441366702a36735f000cd462b6aa2ededb9a72e /hcid/dbus-api.txt
parent4195a470a54c20d830a2faea6d617d8f67427f5e (diff)
Add first draft XML based service record registration
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)