From e22c6e05e9ebc6cce941762020c5710b8014677b Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 18 Mar 2011 20:17:47 +0100 Subject: Imported Upstream version 0.8.3.998 --- docs/spec.html | 81 ++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 54 insertions(+), 27 deletions(-) (limited to 'docs/spec.html') diff --git a/docs/spec.html b/docs/spec.html index 07ac632f..3873a98c 100644 --- a/docs/spec.html +++ b/docs/spec.html @@ -112,7 +112,7 @@ General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

-

Interfaces

+

Interfaces

org.freedesktop.NetworkManager

Methods:

GetDevices ( ) → @@ -439,6 +439,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.o - (read)
Object path of the Ip6Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state. +
Dhcp6Config - + o - + (read)
+ Object path of the Dhcp6Config object describing the DHCP options + returned by the DHCP server. Only valid when the device is in the + NM_DEVICE_STATE_ACTIVATED state.
Managed - b - (read)
@@ -822,6 +828,47 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Interface has no properties.

+

org.freedesktop.NetworkManagerSettings.System

+ Implemented by the system settings service to provide additional settings to NetworkManager. +

Methods:

SaveHostname ( + s: hostname + ) → + nothing

+ Save the hostname to persistent configuration. +

Parameters

hostname - + s
+ The hostname to save to persistent configuration. If blank, the persistent hostname is cleared. +

GetPermissions ( + + ) → + u

+ Returns a bitfield indicating certain operations the caller is permitted to perform. Some of these operations may require authorization by the user. +

Returns

permissions - + u + (NM_SETTINGS_SYSTEM_PERMISSIONS) +
+ A bitfield of permitted operations. Some of these operations may require the user to authorize via password entry or other means. +

Signals:

PropertiesChanged ( + a{sv}: properties + )

Parameters

properties - + a{sv} + (String_Variant_Map) +
+ A dictionary mapping property names to variant boxed values +

CheckPermissions ( + + )

+ Emitted when system authorization details change, indicating that clients may wish to recheck permissions with GetPermissions. +

Properties:

Hostname - + s - + (read)
+ The machine hostname stored in persistent configuration. +
CanModify - + b - + (read)
+ If true, adding and modifying connections is supported. +

Sets of flags:

NM_SETTINGS_SYSTEM_PERMISSIONS

NM_SETTINGS_SYSTEM_PERMISSION_NONE = 0x0
No permissions.
NM_SETTINGS_SYSTEM_PERMISSION_CONNECTION_MODIFY = 0x1
Can modify/add/delete connections.
NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARING_PROTECTED = 0x2
Can share connections via a encrypted user-created WiFi network.
NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARING_OPEN = 0x4
Can share connections via a open/unencrypted user-created WiFi network.
NM_SETTINGS_SYSTEM_PERMISSION_HOSTNAME_MODIFY = 0x8
Can modify the persistent system hostname.
+

org.freedesktop.NetworkManagerSettings.Connection

Represents a single network connection configuration. @@ -921,31 +968,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -

org.freedesktop.NetworkManager.Connection.Active

Interface has no methods.

Signals:

PropertiesChanged ( - a{sv}: properties - )

Parameters

properties - - a{sv} - (String_Variant_Map) -
- A dictionary mapping property names to variant boxed values -

Properties:

ServiceName - - s - - (read)
The D-Bus service name providing this connection.
Connection - - o - - (read)
The path of the connection.
SpecificObject - - o - - (read)
A specific object associated with the active connection.
Devices - - ao - - (read)
Array of object paths representing devices which are part of this active connection.
State - - u - - (read) - (NM_ACTIVE_CONNECTION_STATE) -
The state of this active connection.
Default - - b - - (read)
Whether this active connection is the default connection, i.e. whether it currently owns the default route.
Vpn - - b - - (read)
Whether this active connection is also a VPN connection.
-

org.freedesktop.NetworkManager.VPN.Connection

Represents an active connection to a Virtual Private Network.

Interface has no methods.

Signals:

PropertiesChanged ( @@ -1011,6 +1033,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
NM_VPN_CONNECTION_STATE_REASON_NO_SECRETS = 9
Necessary secrets for the VPN connection were not provided. +
NM_VPN_CONNECTION_STATE_REASON_LOGIN_FAILED = 10
+ Authentication to the VPN server failed. +
NM_VPN_CONNECTION_STATE_REASON_CONNECTION_REMOVED = 11
+ The connection was deleted from settings.

org.freedesktop.NetworkManager.VPN.Plugin

@@ -1160,7 +1186,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.org.freedesktop.NetworkManager.VPN.Error.BadArgumentsInvalid arguments were passed with the request. FIXME: too general.

org.freedesktop.NetworkManager.VPN.Error.LaunchFailed

A binary providing the service failed to launch.

org.freedesktop.NetworkManager.VPN.Error.ConnectionInvalid

The request could not be processed because the VPN connection settings were invalid. -

Index

Index of interfaces

Index of types