Add network methods for connect and disconnect
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2008 21:55:10 +0000 (22:55 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2008 21:55:10 +0000 (22:55 +0100)
src/element.c

index eb91fc9..0eda55c 100644 (file)
@@ -669,6 +669,8 @@ static GDBusMethodTable device_methods[] = {
 static GDBusMethodTable network_methods[] = {
        { "GetProperties", "",   "a{sv}", get_network_properties },
        { "SetProperty",   "sv", "",      set_network_property   },
+       { "Connect",       "",   "",      do_enable              },
+       { "Disconnect",    "",   "",      do_disable             },
        { },
 };