summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-11-08 18:55:39 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-11-08 18:55:39 +0000
commitb5d6d92b7087dd418c12b86ffa682aa1a52018c9 (patch)
tree8274ed9da65c9c823acb904eaf70f3f2f887417e /hcid
parent34a3fbf5f13e556e2a6e0c91a28b4a857ec67b62 (diff)
Removed shadow service methods
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-api.txt17
-rw-r--r--hcid/dbus-manager.c15
2 files changed, 0 insertions, 32 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index c3a7026d..9464ed05 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -179,23 +179,6 @@ Methods uint32 InterfaceVersion()
match the same value that has been used on
registration.
- void RegisterShadowService(string path)
-
- This registers a new shadow service agent. The
- service will not be available through ListServices().
-
- The path parameter defines the object path of the
- service agent that will be called when someone
- requests information through org.bluez.Service
- interface.
-
- void UnregisterShadowService(string path)
-
- This unregisters a shadow service agent that has
- been previously registered. The path parameter
- must match the same value that has been used on
- registration.
-
uint32 AddServiceRecord(string path, array{byte})
Add a new service record to the service agent
diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c
index 6022f97c..4697a51e 100644
--- a/hcid/dbus-manager.c
+++ b/hcid/dbus-manager.c
@@ -359,19 +359,6 @@ static DBusHandlerResult unregister_service(DBusConnection *conn,
return send_message_and_unref(conn, dbus_message_new_method_return(msg));
}
-static DBusHandlerResult register_shadow_service(DBusConnection *conn,
- DBusMessage *msg, void *data)
-{
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
-}
-
-
-static DBusHandlerResult unregister_shadow_service(DBusConnection *conn,
- DBusMessage *msg, void *data)
-{
- return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
-}
-
static sdp_buf_t *service_record_extract(DBusMessageIter *iter)
{
sdp_buf_t *sdp_buf;
@@ -550,8 +537,6 @@ static struct service_data methods[] = {
{ "ListServices", list_services },
{ "RegisterService", register_service },
{ "UnregisterService", unregister_service },
- { "RegisterShadowService", register_shadow_service },
- { "UnregistershadowService", unregister_shadow_service },
{ "AddServiceRecord", add_service_record },
{ "RemoveServiceRecord", remove_service_record },
{ NULL, NULL }