summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-12-10 12:27:32 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-12-10 12:27:32 +0200
commit59ecfcb3e5d2f9b04f6f4d5c9f4851395ba8591b (patch)
tree70d1e22e5d4c7f446942086172a9cf356dd6ace9 /src/manager.c
parent87318d768c9bf6842ec4dc74f03220ee8b6a9c72 (diff)
downloadconnman-59ecfcb3e5d2f9b04f6f4d5c9f4851395ba8591b.tar.gz
connman-59ecfcb3e5d2f9b04f6f4d5c9f4851395ba8591b.tar.bz2
connman-59ecfcb3e5d2f9b04f6f4d5c9f4851395ba8591b.zip
manager: Remove support for ProvisionService method
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/manager.c b/src/manager.c
index 78821c79..528abcb7 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -337,20 +337,6 @@ static DBusMessage *get_services(DBusConnection *conn,
return reply;
}
-static DBusMessage *provision_service(DBusConnection *conn, DBusMessage *msg,
- void *data)
-{
- int err;
-
- DBG("conn %p", conn);
-
- err = __connman_service_provision(msg);
- if (err < 0)
- return __connman_error_failed(msg, -err);
-
- return NULL;
-}
-
static DBusMessage *connect_provider(DBusConnection *conn,
DBusMessage *msg, void *data)
{
@@ -538,8 +524,6 @@ static GDBusMethodTable manager_methods[] = {
{ "DisableTechnology", "s", "", disable_technology,
G_DBUS_METHOD_FLAG_ASYNC },
{ "GetServices", "", "a(oa{sv})", get_services },
- { "ProvisionService", "s", "", provision_service,
- G_DBUS_METHOD_FLAG_ASYNC },
{ "ConnectProvider", "a{sv}", "o", connect_provider,
G_DBUS_METHOD_FLAG_ASYNC },
{ "RegisterAgent", "o", "", register_agent },