core: port NMManager to gdbus

This commit is contained in:
Dan Winship 2015-04-15 14:53:30 -04:00
parent 6c8f860820
commit 34ba4e14b8
2 changed files with 330 additions and 385 deletions

View file

@ -8,7 +8,6 @@
<tp:docstring> <tp:docstring>
Get the list of network devices. Get the list of network devices.
</tp:docstring> </tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/>
<arg name="devices" type="ao" direction="out"> <arg name="devices" type="ao" direction="out">
<tp:docstring> <tp:docstring>
List of object paths of network devices known to the system. List of object paths of network devices known to the system.
@ -22,7 +21,6 @@
interface name. Note that some devices (usually modems) only have an interface name. Note that some devices (usually modems) only have an
IP interface name when they are connected. IP interface name when they are connected.
</tp:docstring> </tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_device_by_ip_iface"/>
<arg name="iface" type="s" direction="in"> <arg name="iface" type="s" direction="in">
<tp:docstring> <tp:docstring>
Interface name of the device to find. Interface name of the device to find.
@ -36,8 +34,6 @@
</method> </method>
<method name="ActivateConnection"> <method name="ActivateConnection">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_connection"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Activate a connection using the supplied device. Activate a connection using the supplied device.
</tp:docstring> </tp:docstring>
@ -76,8 +72,6 @@
</method> </method>
<method name="AddAndActivateConnection"> <method name="AddAndActivateConnection">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_add_and_activate_connection"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Adds a new connection using the given details (if any) as a template Adds a new connection using the given details (if any) as a template
(automatically filling in missing settings with the capabilities of the (automatically filling in missing settings with the capabilities of the
@ -121,8 +115,6 @@
<tp:docstring> <tp:docstring>
Deactivate an active connection. Deactivate an active connection.
</tp:docstring> </tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_deactivate_connection"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg name="active_connection" type="o" direction="in"> <arg name="active_connection" type="o" direction="in">
<tp:docstring> <tp:docstring>
The currently active connection to deactivate. The currently active connection to deactivate.
@ -131,8 +123,6 @@
</method> </method>
<method name="Sleep"> <method name="Sleep">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Control the NetworkManager daemon's sleep state. When asleep, all Control the NetworkManager daemon's sleep state. When asleep, all
interfaces that it manages are deactivated. When awake, devices are interfaces that it manages are deactivated. When awake, devices are
@ -147,8 +137,6 @@
</method> </method>
<method name="Enable"> <method name="Enable">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_enable"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Control whether overall networking is enabled or disabled. When Control whether overall networking is enabled or disabled. When
disabled, all interfaces that NM manages are deactivated. When enabled, disabled, all interfaces that NM manages are deactivated. When enabled,
@ -165,8 +153,6 @@
</method> </method>
<method name="GetPermissions"> <method name="GetPermissions">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_permissions"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Returns the permissions a caller has for various authenticated operations Returns the permissions a caller has for various authenticated operations
that NetworkManager provides, like Enable/Disable networking, changing that NetworkManager provides, like Enable/Disable networking, changing
@ -193,8 +179,6 @@
</signal> </signal>
<method name="SetLogging"> <method name="SetLogging">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_set_logging"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Set logging verbosity and which operations are logged. Set logging verbosity and which operations are logged.
</tp:docstring> </tp:docstring>
@ -223,7 +207,6 @@
</method> </method>
<method name="GetLogging"> <method name="GetLogging">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_logging"/>
<tp:docstring> <tp:docstring>
Get current logging verbosity level and operations domains. Get current logging verbosity level and operations domains.
</tp:docstring> </tp:docstring>
@ -240,8 +223,6 @@
</method> </method>
<method name="CheckConnectivity"> <method name="CheckConnectivity">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_check_connectivity"/>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<tp:docstring> <tp:docstring>
Re-check the network connectivity state. Re-check the network connectivity state.
</tp:docstring> </tp:docstring>
@ -257,7 +238,6 @@
The overall networking state as determined by the NetworkManager daemon, The overall networking state as determined by the NetworkManager daemon,
based on the state of network devices under it's management. based on the state of network devices under it's management.
</tp:docstring> </tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_state"/>
<arg name="state" type="u" direction="out" tp:type="NM_STATE"/> <arg name="state" type="u" direction="out" tp:type="NM_STATE"/>
</method> </method>

File diff suppressed because it is too large Load diff