From 59c3714a494c3b3765657c0551ad82842d98a7d2 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 26 Apr 2014 20:55:09 +0200 Subject: Imported Upstream version 0.9.8.10 --- docs/libnm-glib/html/NMAccessPoint.html | 1152 ++++---- docs/libnm-glib/html/NMActiveConnection.html | 847 +++--- docs/libnm-glib/html/NMClient.html | 3089 +++++++++++--------- docs/libnm-glib/html/NMDHCP4Config.html | 309 +- docs/libnm-glib/html/NMDHCP6Config.html | 309 +- docs/libnm-glib/html/NMDevice.html | 2389 ++++++++------- docs/libnm-glib/html/NMDeviceAdsl.html | 340 ++- docs/libnm-glib/html/NMDeviceBond.html | 528 ++-- docs/libnm-glib/html/NMDeviceBridge.html | 534 ++-- docs/libnm-glib/html/NMDeviceBt.html | 539 ++-- docs/libnm-glib/html/NMDeviceEthernet.html | 618 ++-- docs/libnm-glib/html/NMDeviceInfiniband.html | 451 +-- docs/libnm-glib/html/NMDeviceModem.html | 393 +-- docs/libnm-glib/html/NMDeviceOlpcMesh.html | 510 ++-- docs/libnm-glib/html/NMDeviceVlan.html | 526 ++-- docs/libnm-glib/html/NMDeviceWifi.html | 1084 +++---- docs/libnm-glib/html/NMDeviceWimax.html | 1075 +++---- docs/libnm-glib/html/NMIP4Config.html | 585 ++-- docs/libnm-glib/html/NMIP6Config.html | 511 ++-- docs/libnm-glib/html/NMObject.html | 444 ++- docs/libnm-glib/html/NMRemoteConnection.html | 713 ++--- docs/libnm-glib/html/NMRemoteSettings.html | 1016 ++++--- docs/libnm-glib/html/NMSecretAgent.html | 1152 ++++---- docs/libnm-glib/html/NMVPNConnection.html | 396 +-- docs/libnm-glib/html/NMWimaxNsp.html | 587 ++-- docs/libnm-glib/html/annotation-glossary.html | 83 +- docs/libnm-glib/html/api-index-full.html | 1011 +++---- docs/libnm-glib/html/ch02.html | 20 +- docs/libnm-glib/html/home.png | Bin 654 -> 256 bytes docs/libnm-glib/html/index.html | 14 +- docs/libnm-glib/html/index.sgml | 759 ++--- docs/libnm-glib/html/left-insensitive.png | Bin 0 -> 395 bytes docs/libnm-glib/html/left.png | Bin 459 -> 262 bytes docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html | 454 +-- docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html | 388 --- .../html/libnm-glib-NMVpnPluginUiWidget.html | 446 +++ docs/libnm-glib/html/libnm-glib-nm-types.html | 45 +- .../html/libnm-glib-nm-vpn-plugin-utils.html | 195 +- docs/libnm-glib/html/libnm-glib.devhelp2 | 897 +++--- docs/libnm-glib/html/object-tree.html | 70 +- docs/libnm-glib/html/ref-overview.html | 18 +- docs/libnm-glib/html/right-insensitive.png | Bin 0 -> 373 bytes docs/libnm-glib/html/right.png | Bin 472 -> 261 bytes docs/libnm-glib/html/style.css | 247 +- docs/libnm-glib/html/up-insensitive.png | Bin 0 -> 374 bytes docs/libnm-glib/html/up.png | Bin 406 -> 260 bytes 46 files changed, 13238 insertions(+), 11506 deletions(-) create mode 100644 docs/libnm-glib/html/left-insensitive.png delete mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html create mode 100644 docs/libnm-glib/html/right-insensitive.png create mode 100644 docs/libnm-glib/html/up-insensitive.png (limited to 'docs/libnm-glib/html') diff --git a/docs/libnm-glib/html/NMAccessPoint.html b/docs/libnm-glib/html/NMAccessPoint.html index dfa604c6..ee09109e 100644 --- a/docs/libnm-glib/html/NMAccessPoint.html +++ b/docs/libnm-glib/html/NMAccessPoint.html @@ -2,36 +2,28 @@ -NMAccessPoint +libnm-glib Reference Manual: NMAccessPoint - + - - - - - - - - - - + + + + + + +
@@ -39,649 +31,823 @@

NMAccessPoint

NMAccessPoint

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMAccessPoint
-
-
-
-

Implemented Interfaces

-

-NMAccessPoint implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "bssid"                    gchar*                : Read
-  "flags"                    guint                 : Read
-  "frequency"                guint                 : Read
-  "hw-address"               gchar*                : Read
-  "max-bitrate"              guint                 : Read
-  "mode"                     guint                 : Read
-  "rsn-flags"                guint                 : Read
-  "ssid"                     NMSsid*               : Read
-  "strength"                 guchar                : Read
-  "wpa-flags"                guint                 : Read
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_ACCESS_POINT_FLAGS

-
#define NM_ACCESS_POINT_FLAGS       "flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_WPA_FLAGS

-
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_RSN_FLAGS

-
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
-
-

-

-
-
-
-

NM_ACCESS_POINT_SSID

-
#define NM_ACCESS_POINT_SSID        "ssid"
-
-

-

-
-
-
-

NM_ACCESS_POINT_BSSID

-
#define NM_ACCESS_POINT_BSSID       "bssid"
-
-

-

-
-
-
-

NM_ACCESS_POINT_FREQUENCY

-
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
-
-

-

-
-
-
-

NM_ACCESS_POINT_MODE

-
#define NM_ACCESS_POINT_MODE        "mode"
-
-

-

-
-
-
-

NM_ACCESS_POINT_MAX_BITRATE

-
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
-
-

-

-
-
-
-

NM_ACCESS_POINT_STRENGTH

-
#define NM_ACCESS_POINT_STRENGTH    "strength"
-
-

-

-
-
-
-

NM_ACCESS_POINT_HW_ADDRESS

-
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

NMAccessPoint

-
typedef struct _NMAccessPoint NMAccessPoint;
-

-

-
-
-
-

NMAccessPointClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMAccessPointClass;
-
-

-

-
-
-
-

nm_access_point_new ()

-
GObject *           nm_access_point_new                 (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMAccessPoint. -

-
+

Functions

+
--++ - - + - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

connection :

the DBusGConnection + +GObject * + +nm_access_point_new ()

path :

the DBusobject path of the access point +NM80211ApFlags + +nm_access_point_get_flags () +
+NM80211ApSecurityFlags + +nm_access_point_get_wpa_flags () +

Returns :

a new access point. [transfer full] + +NM80211ApSecurityFlags + +nm_access_point_get_rsn_flags () +
const GByteArray * + +nm_access_point_get_ssid () +
const char * + +nm_access_point_get_bssid () +
+guint32 + +nm_access_point_get_frequency () +
+NM80211Mode + +nm_access_point_get_mode () +
+guint32 + +nm_access_point_get_max_bitrate () +
+guint8 + +nm_access_point_get_strength () +
+GSList * + +nm_access_point_filter_connections () +
+gboolean + +nm_access_point_connection_valid () +
const char * + +nm_access_point_get_hw_address ()
-
-
-

nm_access_point_get_flags ()

-
NM80211ApFlags      nm_access_point_get_flags           (NMAccessPoint *ap);
-

-Gets the flags of the access point. -

-
+
+

Properties

+
--+++ - - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + +

ap :

a NMAccessPoint - +gchar *bssidRead
guintflagsRead
guintfrequencyRead
+gchar *hw-addressRead
guintmax-bitrateRead

Returns :

the flagsguintmodeRead
guintrsn-flagsRead
+NMSsid *ssidRead
gucharstrengthRead
guintwpa-flagsRead
-
-
-

nm_access_point_get_wpa_flags ()

-
NM80211ApSecurityFlags nm_access_point_get_wpa_flags    (NMAccessPoint *ap);
-

-Gets the WPA (version 1) flags of the access point. -

-
+
+

Types and Values

+
--++ - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + +

ap :

a NMAccessPoint -#defineNM_ACCESS_POINT_FLAGS
#defineNM_ACCESS_POINT_WPA_FLAGS
#defineNM_ACCESS_POINT_RSN_FLAGS
#defineNM_ACCESS_POINT_SSID
#defineNM_ACCESS_POINT_BSSID
#defineNM_ACCESS_POINT_FREQUENCY
#defineNM_ACCESS_POINT_MODE

Returns :

the WPA flags#defineNM_ACCESS_POINT_MAX_BITRATE
#defineNM_ACCESS_POINT_STRENGTH
#defineNM_ACCESS_POINT_HW_ADDRESS
-
-
-

nm_access_point_get_rsn_flags ()

-
NM80211ApSecurityFlags nm_access_point_get_rsn_flags    (NMAccessPoint *ap);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMAccessPoint
+
+
+
+

Description

-Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access -point.

-
+ +
+

Functions

+
+

nm_access_point_new ()

+
GObject *
+nm_access_point_new (DBusGConnection *connection,
+                     const char *path);
+

Creates a new NMAccessPoint.

+
+

Parameters

+
--+++ - - + + + - - + + +

ap :

a NMAccessPoint -

connection

the DBusGConnection

 

Returns :

the RSN flags

path

the DBusobject path of the access point

 
+
+

Returns

+

a new access point.

+

[transfer full]

+
+

-

nm_access_point_get_ssid ()

-
const GByteArray *  nm_access_point_get_ssid            (NMAccessPoint *ap);
-

-Gets the SSID of the access point. -

-
+

nm_access_point_get_flags ()

+
NM80211ApFlags
+nm_access_point_get_flags (NMAccessPoint *ap);
+

Gets the flags of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the GByteArray containing the SSID. This is the internal copy used by the -access point, and must not be modified.

ap

a NMAccessPoint

 
+
+

Returns

+

the flags

+

+
+

-

nm_access_point_get_bssid ()

-
const char *        nm_access_point_get_bssid           (NMAccessPoint *ap);
-

-Gets the Basic Service Set ID (BSSID) of the WiFi access point. -

-
+

nm_access_point_get_wpa_flags ()

+
NM80211ApSecurityFlags
+nm_access_point_get_wpa_flags (NMAccessPoint *ap);
+

Gets the WPA (version 1) flags of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the BSSID of the access point. This is an internal string and must -not be modified or freed.

ap

a NMAccessPoint

 
+
+

Returns

+

the WPA flags

+

+
+

-

nm_access_point_get_frequency ()

-
guint32             nm_access_point_get_frequency       (NMAccessPoint *ap);
-

-Gets the frequency of the access point. -

-
+

nm_access_point_get_rsn_flags ()

+
NM80211ApSecurityFlags
+nm_access_point_get_rsn_flags (NMAccessPoint *ap);
+

Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access +point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the frequency

ap

a NMAccessPoint

 
+
+

Returns

+

the RSN flags

+

+
+
-

nm_access_point_get_mode ()

-
NM80211Mode         nm_access_point_get_mode            (NMAccessPoint *ap);
-

-Gets the mode of the access point. -

-
+

nm_access_point_get_ssid ()

+
const GByteArray *
+nm_access_point_get_ssid (NMAccessPoint *ap);
+

Gets the SSID of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the mode

ap

a NMAccessPoint

 
+
+

Returns

+

the GByteArray containing the SSID. This is the internal copy used by the +access point, and must not be modified.

+

+
+
-

nm_access_point_get_max_bitrate ()

-
guint32             nm_access_point_get_max_bitrate     (NMAccessPoint *ap);
-

-Gets the maximum bit rate of the access point. -

-
+

nm_access_point_get_bssid ()

+
const char *
+nm_access_point_get_bssid (NMAccessPoint *ap);
+

Gets the Basic Service Set ID (BSSID) of the WiFi access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the maximum bit rate

ap

a NMAccessPoint

 
+
+

Returns

+

the BSSID of the access point. This is an internal string and must +not be modified or freed.

+

+
+
-

nm_access_point_get_strength ()

-
guint8              nm_access_point_get_strength        (NMAccessPoint *ap);
-

-Gets the current signal strength of the access point. -

-
+

nm_access_point_get_frequency ()

+
guint32
+nm_access_point_get_frequency (NMAccessPoint *ap);
+

Gets the frequency of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the signal strength

ap

a NMAccessPoint

 
+
+

Returns

+

the frequency

+

+
+
-

nm_access_point_filter_connections ()

-
GSList *            nm_access_point_filter_connections  (NMAccessPoint *ap,
-                                                         const GSList *connections);
-

-Filters a given list of connections for a given NMAccessPoint object and +

nm_access_point_get_mode ()

+
NM80211Mode
+nm_access_point_get_mode (NMAccessPoint *ap);
+

Gets the mode of the access point.

+
+

Parameters

+
+++++ + + + + + +

ap

a NMAccessPoint

 
+
+
+

Returns

+

the mode

+

+
+
+
+
+

nm_access_point_get_max_bitrate ()

+
guint32
+nm_access_point_get_max_bitrate (NMAccessPoint *ap);
+

Gets the maximum bit rate of the access point.

+
+

Parameters

+
+++++ + + + + + +

ap

a NMAccessPoint

 
+
+
+

Returns

+

the maximum bit rate

+

+
+
+
+
+

nm_access_point_get_strength ()

+
guint8
+nm_access_point_get_strength (NMAccessPoint *ap);
+

Gets the current signal strength of the access point.

+
+

Parameters

+
+++++ + + + + + +

ap

a NMAccessPoint

 
+
+
+

Returns

+

the signal strength

+

+
+
+
+
+

nm_access_point_filter_connections ()

+
GSList *
+nm_access_point_filter_connections (NMAccessPoint *ap,
+                                    const GSList *connections);
+

Filters a given list of connections for a given NMAccessPoint object and return connections which may be activated with the access point. Any -returned connections will match the ap's SSID and (if given) BSSID and -other attributes like security settings, channel, etc. -

-

-To obtain the list of connections that are compatible with this access point, -use nm_remote_settings_list_connections() and then filter the returned list -for a given NMDevice using nm_device_filter_connections() and finally -filter that list with this function. -

-
+returned connections will match the ap +'s SSID and (if given) BSSID and +other attributes like security settings, channel, etc.

+

To obtain the list of connections that are compatible with this access point, +use nm_remote_settings_list_connections() and then filter the returned list +for a given NMDevice using nm_device_filter_connections() and finally +filter that list with this function.

+
+

Parameters

+
--+++ - - + + + - - - - - - + + +

ap :

an NMAccessPoint to filter connections for

ap

an NMAccessPoint to filter connections for

 

connections :

a list of -NMConnection objects to filter. [element-type NetworkManager.Connection] -

Returns :

a -list of NMConnection objects that could be activated with the given ap. -The elements of the list are owned by their creator and should not be freed -by the caller, but the returned list itself is owned by the caller and should -be freed with g_slist_free() when it is no longer required. [transfer container][element-type NetworkManager.Connection] -

connections

a list of +NMConnection objects to filter.

[element-type NetworkManager.Connection]
+
+

Returns

+

a +list of NMConnection objects that could be activated with the given ap +. +The elements of the list are owned by their creator and should not be freed +by the caller, but the returned list itself is owned by the caller and should +be freed with g_slist_free() when it is no longer required.

+

[transfer container][element-type NetworkManager.Connection]

+
+
-

nm_access_point_connection_valid ()

-
gboolean            nm_access_point_connection_valid    (NMAccessPoint *ap,
-                                                         NMConnection *connection);
-

-Validates a given connection against a given WiFi access point to ensure that +

nm_access_point_connection_valid ()

+
gboolean
+nm_access_point_connection_valid (NMAccessPoint *ap,
+                                  NMConnection *connection);
+

Validates a given connection against a given WiFi access point to ensure that the connection may be activated with that AP. The connection must match the -ap's SSID, (if given) BSSID, and other attributes like security settings, -channel, band, etc. -

-
+ap +'s SSID, (if given) BSSID, and other attributes like security settings, +channel, band, etc.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

ap :

an NMAccessPoint to validate connection against

connection :

an NMConnection to validate against ap -

ap

an NMAccessPoint to validate connection +against

 

Returns :

-TRUE if the connection may be activated with this WiFi AP, -FALSE if it cannot be.

connection

an NMConnection to validate against ap +

 
+
+

Returns

+

TRUE if the connection may be activated with this WiFi AP, +FALSE if it cannot be.

+

+
+
-

nm_access_point_get_hw_address ()

-
const char *        nm_access_point_get_hw_address      (NMAccessPoint *ap);
-
-

Warning

-

nm_access_point_get_hw_address has been deprecated since version 0.9 and should not be used in newly-written code. Use nm_access_point_get_bssid() instead.

+

nm_access_point_get_hw_address ()

+
const char *
+nm_access_point_get_hw_address (NMAccessPoint *ap);
+
+

nm_access_point_get_hw_address has been deprecated since version 0.9 and should not be used in newly-written code.

+

Use nm_access_point_get_bssid() instead.

-

-Gets the hardware (MAC) address of the access point. -

-
+

Gets the hardware (MAC) address of the access point.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

ap :

a NMAccessPoint -

Returns :

the hardware address of the access point. This is the internal string used by the -access point and must not be modified.

ap

a NMAccessPoint

 
+
+

Returns

+

the hardware address of the access point. This is the internal string used by the +access point and must not be modified.

+

+
+
-

Property Details

+

Types and Values

-

The "bssid" property

-
  "bssid"                    gchar*                : Read
+

NM_ACCESS_POINT_FLAGS

+
#define NM_ACCESS_POINT_FLAGS       "flags"
+

-The BSSID of the access point.

-

Default value: NULL


-

The "flags" property

-
  "flags"                    guint                 : Read
+

NM_ACCESS_POINT_WPA_FLAGS

+
#define NM_ACCESS_POINT_WPA_FLAGS   "wpa-flags"
+

-The flags of the access point.

-

Allowed values: <= 1

-

Default value: 0


-

The "frequency" property

-
  "frequency"                guint                 : Read
+

NM_ACCESS_POINT_RSN_FLAGS

+
#define NM_ACCESS_POINT_RSN_FLAGS   "rsn-flags"
+

-The frequency of the access point.

-

Allowed values: <= 10000

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_ACCESS_POINT_SSID

+
#define NM_ACCESS_POINT_SSID        "ssid"
+

-The hardware address of the access point.

-

Default value: NULL


-

The "max-bitrate" property

-
  "max-bitrate"              guint                 : Read
+

NM_ACCESS_POINT_BSSID

+
#define NM_ACCESS_POINT_BSSID       "bssid"
+

-The maximum bit rate of the access point.

-

Default value: 0


-

The "mode" property

-
  "mode"                     guint                 : Read
+

NM_ACCESS_POINT_FREQUENCY

+
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
+

-The mode of the access point; either "infrastructure" (a central -coordinator of the wireless network allowing clients to connect) or -"ad-hoc" (a network with no central controller).

-

Allowed values: [1,2]

-

Default value: 2


-

The "rsn-flags" property

-
  "rsn-flags"                guint                 : Read
+

NM_ACCESS_POINT_MODE

+
#define NM_ACCESS_POINT_MODE        "mode"
+

-The RSN flags of the access point.

-

Default value: 0


-

The "ssid" property

-
  "ssid"                     NMSsid*               : Read
+

NM_ACCESS_POINT_MAX_BITRATE

+
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
+

-The SSID of the access point.


-

The "strength" property

-
  "strength"                 guchar                : Read
+

NM_ACCESS_POINT_STRENGTH

+
#define NM_ACCESS_POINT_STRENGTH    "strength"
+

-The current signal strength of the access point.

-

Default value: 0


-

The "wpa-flags" property

-
  "wpa-flags"                guint                 : Read
+

NM_ACCESS_POINT_HW_ADDRESS

+
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
+

-The WPA flags of the access point.

+
+
+
+

Property Details

+
+

The “bssid” property

+
  “bssid”                    gchar *
+

BSSID.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “flags” property

+
  “flags”                    guint
+

Flags.

+

Flags: Read

+

Allowed values: <= 1

+

Default value: 0

+
+
+
+

The “frequency” property

+
  “frequency”                guint
+

Frequency.

+

Flags: Read

+

Allowed values: <= 10000

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “max-bitrate” property

+
  “max-bitrate”              guint
+

Max Bitrate.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “mode” property

+
  “mode”                     guint
+

Mode.

+

Flags: Read

+

Allowed values: [1,2]

+

Default value: 2

+
+
+
+

The “rsn-flags” property

+
  “rsn-flags”                guint
+

RSN Flags.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “ssid” property

+
  “ssid”                     NMSsid *
+

SSID.

+

Flags: Read

+
+
+
+

The “strength” property

+
  “strength”                 guchar
+

Strength.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “wpa-flags” property

+
  “wpa-flags”                guint
+

WPA Flags.

+

Flags: Read

Default value: 0

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMActiveConnection.html b/docs/libnm-glib/html/NMActiveConnection.html index 9cb406f4..ba775eab 100644 --- a/docs/libnm-glib/html/NMActiveConnection.html +++ b/docs/libnm-glib/html/NMActiveConnection.html @@ -2,36 +2,28 @@ -NMActiveConnection +libnm-glib Reference Manual: NMActiveConnection - + - - - - - - - - - - + + + + + + +
@@ -39,59 +31,192 @@

NMActiveConnection

NMActiveConnection

- +
-
-

Synopsis

-
#define             NM_ACTIVE_CONNECTION_CONNECTION
-#define             NM_ACTIVE_CONNECTION_UUID
-#define             NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT
-#define             NM_ACTIVE_CONNECTION_DEVICES
-#define             NM_ACTIVE_CONNECTION_STATE
-#define             NM_ACTIVE_CONNECTION_DEFAULT
-#define             NM_ACTIVE_CONNECTION_DEFAULT6
-#define             NM_ACTIVE_CONNECTION_MASTER
-                    NMActiveConnection;
-                    NMActiveConnectionClass;
-GObject *           nm_active_connection_new            (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_active_connection_get_connection (NMActiveConnection *connection);
-const char *        nm_active_connection_get_uuid       (NMActiveConnection *connection);
-const char *        nm_active_connection_get_specific_object
-                                                        (NMActiveConnection *connection);
-const GPtrArray *   nm_active_connection_get_devices    (NMActiveConnection *connection);
-NMActiveConnectionState nm_active_connection_get_state  (NMActiveConnection *connection);
-gboolean            nm_active_connection_get_default    (NMActiveConnection *connection);
-gboolean            nm_active_connection_get_default6   (NMActiveConnection *connection);
-const char *        nm_active_connection_get_master     (NMActiveConnection *connection);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GObject * + +nm_active_connection_new () +
const char * + +nm_active_connection_get_connection () +
const char * + +nm_active_connection_get_uuid () +
const char * + +nm_active_connection_get_specific_object () +
const GPtrArray * + +nm_active_connection_get_devices () +
+NMActiveConnectionState + +nm_active_connection_get_state () +
+gboolean + +nm_active_connection_get_default () +
+gboolean + +nm_active_connection_get_default6 () +
const char * + +nm_active_connection_get_master () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMActiveConnection
-               +----NMVPNConnection
-
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+gchar *connectionRead
gbooleandefaultRead
gbooleandefault6Read
+NMObjectArray *devicesRead
+gchar *masterRead
+gchar *specific-objectRead
guintstateRead
+gchar *uuidRead
-

Implemented Interfaces

-

-NMActiveConnection implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

Properties

-
-  "connection"               gchar*                : Read
-  "default"                  gboolean              : Read
-  "default6"                 gboolean              : Read
-  "devices"                  NMObjectArray*        : Read
-  "master"                   gchar*                : Read
-  "specific-object"          gchar*                : Read
-  "state"                    guint                 : Read
-  "uuid"                     gchar*                : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMActiveConnection
+            ╰── NMVPNConnection
 
@@ -100,413 +225,401 @@ NMActiveConnection implements

-

Details

+

Functions

-

NM_ACTIVE_CONNECTION_CONNECTION

-
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
-
-

-

+

nm_active_connection_new ()

+
GObject *
+nm_active_connection_new (DBusGConnection *connection,
+                          const char *path);
+

Creates a new NMActiveConnection.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

connection

the DBusGConnection

 

path

the DBus object path of the device

 
-
-
-

NM_ACTIVE_CONNECTION_UUID

-
#define NM_ACTIVE_CONNECTION_UUID                "uuid"
-
-

-

+
+

Returns

+

a new active connection.

+

[transfer full]

-
-
-

NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT

-
#define NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT     "specific-object"
-
-

-


-

NM_ACTIVE_CONNECTION_DEVICES

-
#define NM_ACTIVE_CONNECTION_DEVICES             "devices"
-
-

-

+

nm_active_connection_get_connection ()

+
const char *
+nm_active_connection_get_connection (NMActiveConnection *connection);
+

Gets the NMConnection's DBus object path.

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

the object path of the NMConnection inside of NMActiveConnection. +This is the internal string used by the connection, and must not be modified.

+

-
-
-

NM_ACTIVE_CONNECTION_STATE

-
#define NM_ACTIVE_CONNECTION_STATE               "state"
-
-

-


-

NM_ACTIVE_CONNECTION_DEFAULT

-
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
-
-

-

+

nm_active_connection_get_uuid ()

+
const char *
+nm_active_connection_get_uuid (NMActiveConnection *connection);
+

Gets the NMConnection's UUID.

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

the UUID of the NMConnection that backs the NMActiveConnection. +This is the internal string used by the connection, and must not be modified.

+

+

-

NM_ACTIVE_CONNECTION_DEFAULT6

-
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
-
-

-

+

nm_active_connection_get_specific_object ()

+
const char *
+nm_active_connection_get_specific_object
+                               (NMActiveConnection *connection);
+

Gets the "specific object" used at the activation.

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

the specific object's DBus path. This is the internal string used by the +connection, and must not be modified.

+

+

-

NM_ACTIVE_CONNECTION_MASTER

-
#define NM_ACTIVE_CONNECTION_MASTER              "master"
-
-

-

+

nm_active_connection_get_devices ()

+
const GPtrArray *
+nm_active_connection_get_devices (NMActiveConnection *connection);
+

Gets the NMDevices used for the active connections.

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

the GPtrArray containing NMDevices. +This is the internal copy used by the connection, and must not be modified.

+

[element-type NMClient.Device]

+

-

NMActiveConnection

-
typedef struct _NMActiveConnection NMActiveConnection;
-

-

+

nm_active_connection_get_state ()

+
NMActiveConnectionState
+nm_active_connection_get_state (NMActiveConnection *connection);
+

Gets the active connection's state.

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

the state

+

+

-

NMActiveConnectionClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMActiveConnectionClass;
-
-

-

+

nm_active_connection_get_default ()

+
gboolean
+nm_active_connection_get_default (NMActiveConnection *connection);
+

Whether the active connection is the default IPv4 one (that is, is used for +the default IPv4 route and DNS information).

+
+

Parameters

+
+++++ + + + + + +

connection

a NMActiveConnection

 
+
+
+

Returns

+

TRUE if the active connection is the default IPv4 connection

+

+

-

nm_active_connection_new ()

-
GObject *           nm_active_connection_new            (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMActiveConnection. -

-
+

nm_active_connection_get_default6 ()

+
gboolean
+nm_active_connection_get_default6 (NMActiveConnection *connection);
+

Whether the active connection is the default IPv6 one (that is, is used for +the default IPv6 route and DNS information).

+
+

Parameters

+
--+++ - - - - - - - - - - - - - - + + + + +

connection :

the DBusGConnection -

path :

the DBus object path of the device

Returns :

a new active connection. [transfer full] -

connection

a NMActiveConnection

 
+
+

Returns

+

TRUE if the active connection is the default IPv6 connection

+

+
+

-

nm_active_connection_get_connection ()

-
const char *        nm_active_connection_get_connection (NMActiveConnection *connection);
-

-Gets the NMConnection's DBus object path. -

-
+

nm_active_connection_get_master ()

+
const char *
+nm_active_connection_get_master (NMActiveConnection *connection);
+

Gets the path to the master NMDevice of the connection.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

connection :

a NMActiveConnection -

Returns :

the object path of the NMConnection inside of NMActiveConnection. -This is the internal string used by the connection, and must not be modified.

connection

a NMActiveConnection

 
+
+

Returns

+

the path of the master NMDevice of the NMActiveConnection. +This is the internal string used by the connection, and must not be modified.

+

+
+
+
+
+

Types and Values

+
+

NM_ACTIVE_CONNECTION_CONNECTION

+
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
+
+

+

+

-

nm_active_connection_get_uuid ()

-
const char *        nm_active_connection_get_uuid       (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_UUID

+
#define NM_ACTIVE_CONNECTION_UUID                "uuid"
+

-Gets the NMConnection's UUID.

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

the UUID of the NMConnection that backs the NMActiveConnection. -This is the internal string used by the connection, and must not be modified.

-

nm_active_connection_get_specific_object ()

-
const char *        nm_active_connection_get_specific_object
-                                                        (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT

+
#define NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT     "specific-object"
+

-Gets the "specific object" used at the activation.

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

the specific object's DBus path. This is the internal string used by the -connection, and must not be modified.

-

nm_active_connection_get_devices ()

-
const GPtrArray *   nm_active_connection_get_devices    (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_DEVICES

+
#define NM_ACTIVE_CONNECTION_DEVICES             "devices"
+

-Gets the NMDevices used for the active connections.

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

the GPtrArray containing NMDevices. -This is the internal copy used by the connection, and must not be modified. [element-type NMClient.Device] -

-

nm_active_connection_get_state ()

-
NMActiveConnectionState nm_active_connection_get_state  (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_STATE

+
#define NM_ACTIVE_CONNECTION_STATE               "state"
+

-Gets the active connection's state.

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

the state

-

nm_active_connection_get_default ()

-
gboolean            nm_active_connection_get_default    (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_DEFAULT

+
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
+

-Whether the active connection is the default IPv4 one (that is, is used for -the default IPv4 route and DNS information).

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

-TRUE if the active connection is the default IPv4 connection

-

nm_active_connection_get_default6 ()

-
gboolean            nm_active_connection_get_default6   (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_DEFAULT6

+
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
+

-Whether the active connection is the default IPv6 one (that is, is used for -the default IPv6 route and DNS information).

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

-TRUE if the active connection is the default IPv6 connection

-

nm_active_connection_get_master ()

-
const char *        nm_active_connection_get_master     (NMActiveConnection *connection);
+

NM_ACTIVE_CONNECTION_MASTER

+
#define NM_ACTIVE_CONNECTION_MASTER              "master"
+

-Gets the path to the master NMDevice of the connection.

-
---- - - - - - - - - - - -

connection :

a NMActiveConnection -

Returns :

the path of the master NMDevice of the NMActiveConnection. -This is the internal string used by the connection, and must not be modified.

Property Details

-

The "connection" property

-
  "connection"               gchar*                : Read
-

-The connection's path of the active connection. -

+

The “connection” property

+
  “connection”               gchar *
+

Connection.

+

Flags: Read

Default value: NULL


-

The "default" property

-
  "default"                  gboolean              : Read
-

-Whether the active connection is the default IPv4 one. -

+

The “default” property

+
  “default”                  gboolean
+

Is the default IPv4 active connection.

+

Flags: Read

Default value: FALSE


-

The "default6" property

-
  "default6"                 gboolean              : Read
-

-Whether the active connection is the default IPv6 one. -

+

The “default6” property

+
  “default6”                 gboolean
+

Is the default IPv6 active connection.

+

Flags: Read

Default value: FALSE


-

The "devices" property

-
  "devices"                  NMObjectArray*        : Read
+

The “devices” property

+
  “devices”                  NMObjectArray *

Devices.

+

Flags: Read


-

The "master" property

-
  "master"                   gchar*                : Read
-

-The path of the master device if one exists. -

+

The “master” property

+
  “master”                   gchar *
+

Path of the master device.

+

Flags: Read

Default value: NULL


-

The "specific-object" property

-
  "specific-object"          gchar*                : Read
-

-The specific object's path of the active connection. -

+

The “specific-object” property

+
  “specific-object”          gchar *
+

Specific object.

+

Flags: Read

Default value: NULL


-

The "state" property

-
  "state"                    guint                 : Read
-

-The state of the active connection. -

+

The “state” property

+
  “state”                    guint
+

State.

+

Flags: Read

Allowed values: <= 3

Default value: 0


-

The "uuid" property

-
  "uuid"                     gchar*                : Read
-

-The active connection's UUID -

+

The “uuid” property

+
  “uuid”                     gchar *
+

UUID.

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html index 18eddaf5..842183d9 100644 --- a/docs/libnm-glib/html/NMClient.html +++ b/docs/libnm-glib/html/NMClient.html @@ -2,38 +2,29 @@ -NMClient +libnm-glib Reference Manual: NMClient - + - - - - - - - - - - + + + + + + +
@@ -41,1818 +32,2150 @@

NMClient

NMClient

- +
-
-

Synopsis

-
#define             NM_CLIENT_VERSION
-#define             NM_CLIENT_STATE
-#define             NM_CLIENT_MANAGER_RUNNING
-#define             NM_CLIENT_NETWORKING_ENABLED
-#define             NM_CLIENT_WIRELESS_ENABLED
-#define             NM_CLIENT_WIRELESS_HARDWARE_ENABLED
-#define             NM_CLIENT_WWAN_ENABLED
-#define             NM_CLIENT_WWAN_HARDWARE_ENABLED
-#define             NM_CLIENT_WIMAX_ENABLED
-#define             NM_CLIENT_WIMAX_HARDWARE_ENABLED
-#define             NM_CLIENT_ACTIVE_CONNECTIONS
-#define             NM_CLIENT_CONNECTIVITY
-#define             NM_CLIENT_PRIMARY_CONNECTION
-#define             NM_CLIENT_ACTIVATING_CONNECTION
-enum                NMClientPermission;
-enum                NMClientPermissionResult;
-                    NMClient;
-                    NMClientClass;
-NMClient *          nm_client_new                       (void);
-void                nm_client_new_async                 (GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
-NMClient *          nm_client_new_finish                (GAsyncResult *result,
-                                                         GError **error);
-const GPtrArray *   nm_client_get_devices               (NMClient *client);
-NMDevice *          nm_client_get_device_by_path        (NMClient *client,
-                                                         const char *object_path);
-NMDevice *          nm_client_get_device_by_iface       (NMClient *client,
-                                                         const char *iface);
-void                (*NMClientActivateFn)               (NMClient *client,
-                                                         NMActiveConnection *active_connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                nm_client_activate_connection       (NMClient *client,
-                                                         NMConnection *connection,
-                                                         NMDevice *device,
-                                                         const char *specific_object,
-                                                         NMClientActivateFn callback,
-                                                         gpointer user_data);
-void                (*NMClientAddActivateFn)            (NMClient *client,
-                                                         NMActiveConnection *connection,
-                                                         const char *new_connection_path,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                nm_client_add_and_activate_connection
-                                                        (NMClient *client,
-                                                         NMConnection *partial,
-                                                         NMDevice *device,
-                                                         const char *specific_object,
-                                                         NMClientAddActivateFn callback,
-                                                         gpointer user_data);
-void                nm_client_deactivate_connection     (NMClient *client,
-                                                         NMActiveConnection *active);
-gboolean            nm_client_networking_get_enabled    (NMClient *client);
-void                nm_client_networking_set_enabled    (NMClient *client,
-                                                         gboolean enabled);
-gboolean            nm_client_wireless_get_enabled      (NMClient *client);
-void                nm_client_wireless_set_enabled      (NMClient *client,
-                                                         gboolean enabled);
-gboolean            nm_client_wireless_hardware_get_enabled
-                                                        (NMClient *client);
-gboolean            nm_client_wwan_get_enabled          (NMClient *client);
-void                nm_client_wwan_set_enabled          (NMClient *client,
-                                                         gboolean enabled);
-gboolean            nm_client_wwan_hardware_get_enabled (NMClient *client);
-gboolean            nm_client_wimax_get_enabled         (NMClient *client);
-void                nm_client_wimax_set_enabled         (NMClient *client,
-                                                         gboolean enabled);
-gboolean            nm_client_wimax_hardware_get_enabled
-                                                        (NMClient *client);
-const char *        nm_client_get_version               (NMClient *client);
-NMState             nm_client_get_state                 (NMClient *client);
-gboolean            nm_client_get_manager_running       (NMClient *client);
-const GPtrArray *   nm_client_get_active_connections    (NMClient *client);
-void                nm_client_sleep                     (NMClient *client,
-                                                         gboolean sleep_);
-NMClientPermissionResult nm_client_get_permission_result
-                                                        (NMClient *client,
-                                                         NMClientPermission permission);
-gboolean            nm_client_get_logging               (NMClient *client,
-                                                         char **level,
-                                                         char **domains,
-                                                         GError **error);
-gboolean            nm_client_set_logging               (NMClient *client,
-                                                         const char *level,
-                                                         const char *domains,
-                                                         GError **error);
-NMConnectivityState nm_client_get_connectivity          (NMClient *client);
-NMConnectivityState nm_client_check_connectivity        (NMClient *client,
-                                                         GCancellable *cancellable,
-                                                         GError **error);
-void                nm_client_check_connectivity_async  (NMClient *client,
-                                                         GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
-NMConnectivityState nm_client_check_connectivity_finish (NMClient *client,
-                                                         GAsyncResult *result,
-                                                         GError **error);
-NMActiveConnection * nm_client_get_primary_connection   (NMClient *client);
-NMActiveConnection * nm_client_get_activating_connection
-                                                        (NMClient *client);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMClient
-
-
-

Implemented Interfaces

-

-NMClient implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+NMClient * + +nm_client_new () +
+void + +nm_client_new_async () +
+NMClient * + +nm_client_new_finish () +
const GPtrArray * + +nm_client_get_devices () +
+NMDevice * + +nm_client_get_device_by_path () +
+NMDevice * + +nm_client_get_device_by_iface () +
+void + +(*NMClientActivateFn) () +
+void + +nm_client_activate_connection () +
+void + +(*NMClientAddActivateFn) () +
+void + +nm_client_add_and_activate_connection () +
+void + +nm_client_deactivate_connection () +
+gboolean + +nm_client_networking_get_enabled () +
+void + +nm_client_networking_set_enabled () +
+gboolean + +nm_client_wireless_get_enabled () +
+void + +nm_client_wireless_set_enabled () +
+gboolean + +nm_client_wireless_hardware_get_enabled () +
+gboolean + +nm_client_wwan_get_enabled () +
+void + +nm_client_wwan_set_enabled () +
+gboolean + +nm_client_wwan_hardware_get_enabled () +
+gboolean + +nm_client_wimax_get_enabled () +
+void + +nm_client_wimax_set_enabled () +
+gboolean + +nm_client_wimax_hardware_get_enabled () +
const char * + +nm_client_get_version () +
+NMState + +nm_client_get_state () +
+gboolean + +nm_client_get_manager_running () +
const GPtrArray * + +nm_client_get_active_connections () +
+void + +nm_client_sleep () +
+NMClientPermissionResult + +nm_client_get_permission_result () +
+gboolean + +nm_client_get_logging () +
+gboolean + +nm_client_set_logging () +
+NMConnectivityState + +nm_client_get_connectivity () +
+NMConnectivityState + +nm_client_check_connectivity () +
+void + +nm_client_check_connectivity_async () +
+NMConnectivityState + +nm_client_check_connectivity_finish () +
+NMActiveConnection * + +nm_client_get_primary_connection () +
+NMActiveConnection * + +nm_client_get_activating_connection () +

Properties

-
-  "activating-connection"    NMActiveConnection*   : Read
-  "active-connections"       NMObjectArray*        : Read
-  "connectivity"             guint                 : Read
-  "manager-running"          gboolean              : Read
-  "networking-enabled"       gboolean              : Read / Write
-  "primary-connection"       NMActiveConnection*   : Read
-  "state"                    guint                 : Read
-  "version"                  gchar*                : Read
-  "wimax-enabled"            gboolean              : Read / Write
-  "wimax-hardware-enabled"   gboolean              : Read
-  "wireless-enabled"         gboolean              : Read / Write
-  "wireless-hardware-enabled" gboolean              : Read
-  "wwan-enabled"             gboolean              : Read / Write
-  "wwan-hardware-enabled"    gboolean              : Read
-
+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+NMActiveConnection *activating-connectionRead
+NMObjectArray *active-connectionsRead
guintconnectivityRead
gbooleanmanager-runningRead
gbooleannetworking-enabledRead / Write
+NMActiveConnection *primary-connectionRead
guintstateRead
+gchar *versionRead
gbooleanwimax-enabledRead / Write
gbooleanwimax-hardware-enabledRead
gbooleanwireless-enabledRead / Write
gbooleanwireless-hardware-enabledRead
gbooleanwwan-enabledRead / Write
gbooleanwwan-hardware-enabledRead
-

Description

-

-

+

Types and Values

+
-

Details

-
-

NM_CLIENT_VERSION

-
#define NM_CLIENT_VERSION "version"
-
-

-

-
-
-
-

NM_CLIENT_STATE

-
#define NM_CLIENT_STATE "state"
-
-

-

-
-
-
-

NM_CLIENT_MANAGER_RUNNING

-
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
-
-

-

-
-
-
-

NM_CLIENT_NETWORKING_ENABLED

-
#define NM_CLIENT_NETWORKING_ENABLED "networking-enabled"
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMClient
 
-

-

-
-
-

NM_CLIENT_WIRELESS_ENABLED

-
#define NM_CLIENT_WIRELESS_ENABLED "wireless-enabled"
-
-

-

-
-
-
-

NM_CLIENT_WIRELESS_HARDWARE_ENABLED

-
#define NM_CLIENT_WIRELESS_HARDWARE_ENABLED "wireless-hardware-enabled"
-
+
+

Description

-
-
-

NM_CLIENT_WWAN_ENABLED

-
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
-
-

-

+
+

Functions

+
+

nm_client_new ()

+
NMClient *
+nm_client_new (void);
+

Creates a new NMClient.

+

Note that this will do blocking D-Bus calls to initialize the +client. You can use nm_client_new_async() if you want to avoid +that.

+

NOTE: NMClient provides information about devices and a mechanism to +control them. To access and modify network configuration data, use the +NMRemoteSettings object.

+
+

Returns

+

a new NMClient

+

-
-
-

NM_CLIENT_WWAN_HARDWARE_ENABLED

-
#define NM_CLIENT_WWAN_HARDWARE_ENABLED "wwan-hardware-enabled"
-
-

-


-

NM_CLIENT_WIMAX_ENABLED

-
#define NM_CLIENT_WIMAX_ENABLED "wimax-enabled"
-
-

-

+

nm_client_new_async ()

+
void
+nm_client_new_async (GCancellable *cancellable,
+                     GAsyncReadyCallback callback,
+                     gpointer user_data);
+

Creates a new NMClient and begins asynchronously initializing it. +callback + will be called when it is done; use +nm_client_new_finish() to get the result.

+

NOTE: NMClient provides information about devices and a mechanism to +control them. To access and modify network configuration data, use the +NMRemoteSettings object.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

cancellable

a GCancellable, or NULL

 

callback

callback to call when the client is created

 

user_data

data for callback +

 
+

-

NM_CLIENT_WIMAX_HARDWARE_ENABLED

-
#define NM_CLIENT_WIMAX_HARDWARE_ENABLED "wimax-hardware-enabled"
-
-

-

+

nm_client_new_finish ()

+
NMClient *
+nm_client_new_finish (GAsyncResult *result,
+                      GError **error);
+

Gets the result of an nm_client_new_async() call.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

result

a GAsyncResult

 

error

location for a GError, or NULL

 
+
+
+

Returns

+

a new NMClient, or NULL on error

+

+

-

NM_CLIENT_ACTIVE_CONNECTIONS

-
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
-
-

-

+

nm_client_get_devices ()

+
const GPtrArray *
+nm_client_get_devices (NMClient *client);
+

Gets all the known network devices. Use nm_device_get_type() or the +NM_IS_DEVICE_XXXX() functions to determine what kind of device member of the +returned array is, and then you may use device-specific methods such as +nm_device_ethernet_get_hw_address().

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

a GPtrArray +containing all the NMDevices. The returned array is owned by the +NMClient object and should not be modified.

+

[transfer none][element-type NMClient.Device]

+

-

NM_CLIENT_CONNECTIVITY

-
#define NM_CLIENT_CONNECTIVITY "connectivity"
-
-

-

+

nm_client_get_device_by_path ()

+
NMDevice *
+nm_client_get_device_by_path (NMClient *client,
+                              const char *object_path);
+

Gets a NMDevice from a NMClient.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

client

a NMClient

 

object_path

the object path to search for

 
+
+
+

Returns

+

the NMDevice for the given object_path +or NULL if none is found.

+

[transfer none]

+

-

NM_CLIENT_PRIMARY_CONNECTION

-
#define NM_CLIENT_PRIMARY_CONNECTION "primary-connection"
-
-

-

+

nm_client_get_device_by_iface ()

+
NMDevice *
+nm_client_get_device_by_iface (NMClient *client,
+                               const char *iface);
+

Gets a NMDevice from a NMClient.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

client

a NMClient

 

iface

the interface name to search for

 
+
+
+

Returns

+

the NMDevice for the given iface +or NULL if none is found.

+

[transfer none]

+

-

NM_CLIENT_ACTIVATING_CONNECTION

-
#define NM_CLIENT_ACTIVATING_CONNECTION "activating-connection"
-
+

NMClientActivateFn ()

+
void
+(*NMClientActivateFn) (NMClient *client,
+                       NMActiveConnection *active_connection,
+                       GError *error,
+                       gpointer user_data);


-

enum NMClientPermission

-
typedef enum {
-	NM_CLIENT_PERMISSION_NONE = 0,
-	NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK = 1,
-	NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI = 2,
-	NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN = 3,
-	NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX = 4,
-	NM_CLIENT_PERMISSION_SLEEP_WAKE = 5,
-	NM_CLIENT_PERMISSION_NETWORK_CONTROL = 6,
-	NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED = 7,
-	NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN = 8,
-	NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM = 9,
-	NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN = 10,
-	NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME = 11,
-
-	NM_CLIENT_PERMISSION_LAST = NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME
-} NMClientPermission;
-
-

-NMClientPermission values indicate various permissions that NetworkManager -clients can obtain to perform certain tasks on behalf of the current user. -

-
+

nm_client_activate_connection ()

+
void
+nm_client_activate_connection (NMClient *client,
+                               NMConnection *connection,
+                               NMDevice *device,
+                               const char *specific_object,
+                               NMClientActivateFn callback,
+                               gpointer user_data);
+

Starts a connection to a particular network using the configuration settings +from connection + and the network device device +. Certain connection types +also take a "specific object" which is the object path of a connection- +specific object, like an NMAccessPoint for WiFi connections, or an +NMWimaxNsp for WiMAX connections, to which you wish to connect. If the +specific object is not given, NetworkManager can, in some cases, automatically +determine which network to connect to given the settings in connection +.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + + - - + + + - - + + + - - + + + - - + + + + +

NM_CLIENT_PERMISSION_NONE

unknown or no permission -

NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK

controls whether networking - can be globally enabled or disabled -

client

a NMClient

 

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI

controls whether WiFi can be - globally enabled or disabled -

connection

an NMConnection

 

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN

controls whether WWAN (3G) can be - globally enabled or disabled -

device

the NMDevice.

[allow-none]

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX

controls whether WiMAX can be - globally enabled or disabled -

specific_object

the object path of a connection-type-specific +object this activation should use. This parameter is currently ignored for +wired and mobile broadband connections, and the value of NULL should be used +(ie, no specific object). For WiFi or WiMAX connections, pass the object +path of a NMAccessPoint or NMWimaxNsp owned by device +, which you can +get using nm_object_get_path(), and which will be used to complete the +details of the newly added connection.

[allow-none]

NM_CLIENT_PERMISSION_SLEEP_WAKE

controls whether the client can ask - NetworkManager to sleep and wake -

callback

the function to call when the call is done.

[scope async][allow-none]

NM_CLIENT_PERMISSION_NETWORK_CONTROL

controls whether networking connections - can be started, stopped, and changed -

user_data

user data to pass to the callback function.

[closure]
+
+
+
+
+

NMClientAddActivateFn ()

+
void
+(*NMClientAddActivateFn) (NMClient *client,
+                          NMActiveConnection *connection,
+                          const char *new_connection_path,
+                          GError *error,
+                          gpointer user_data);
+

+

+
+
+
+

nm_client_add_and_activate_connection ()

+
void
+nm_client_add_and_activate_connection (NMClient *client,
+                                       NMConnection *partial,
+                                       NMDevice *device,
+                                       const char *specific_object,
+                                       NMClientAddActivateFn callback,
+                                       gpointer user_data);
+

Adds a new connection using the given details (if any) as a template, +automatically filling in missing settings with the capabilities of the +given device and specific object. The new connection is then activated. +Cannot be used for VPN connections at this time.

+
+

Parameters

+
+++++ + - - + + + - - + + + - - + + + - - + + + - - + + + - - + + +

NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED

controls whether a password - protected WiFi hotspot can be created -

client

a NMClient

 

NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN

controls whether an open WiFi hotspot - can be created -

partial

an NMConnection to add; the connection may be +partially filled (or even NULL) and will be completed by NetworkManager +using the given device +and specific_object +before being added.

[allow-none]

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM

controls whether connections - that are available to all users can be modified -

device

the NMDevice

 

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN

controls whether connections - owned by the current user can be modified -

specific_object

the object path of a connection-type-specific +object this activation should use. This parameter is currently ignored for +wired and mobile broadband connections, and the value of NULL should be used +(ie, no specific object). For WiFi or WiMAX connections, pass the object +path of a NMAccessPoint or NMWimaxNsp owned by device +, which you can +get using nm_object_get_path(), and which will be used to complete the +details of the newly added connection.

[allow-none]

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME

controls whether the - persistent hostname can be changed -

callback

the function to call when the call is done.

[scope async][allow-none]

NM_CLIENT_PERMISSION_LAST

a reserved boundary value -

user_data

user data to pass to the callback function.

[closure]
+

-

enum NMClientPermissionResult

-
typedef enum {
-	NM_CLIENT_PERMISSION_RESULT_UNKNOWN = 0,
-	NM_CLIENT_PERMISSION_RESULT_YES,
-	NM_CLIENT_PERMISSION_RESULT_AUTH,
-	NM_CLIENT_PERMISSION_RESULT_NO
-} NMClientPermissionResult;
-
-

-NMClientPermissionResult values indicate what authorizations and permissions -the user requires to obtain a given NMClientPermission -

-
+

nm_client_deactivate_connection ()

+
void
+nm_client_deactivate_connection (NMClient *client,
+                                 NMActiveConnection *active);
+

Deactivates an active NMActiveConnection.

+
+

Parameters

+
--+++ - - + + + - - + + + + +

NM_CLIENT_PERMISSION_RESULT_UNKNOWN

unknown or no authorization -

client

a NMClient

 

NM_CLIENT_PERMISSION_RESULT_YES

the permission is available -

active

the NMActiveConnection to deactivate

 
+
+
+
+
+

nm_client_networking_get_enabled ()

+
gboolean
+nm_client_networking_get_enabled (NMClient *client);
+

Whether networking is enabled or disabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if networking is enabled, FALSE if networking is disabled

+

+
+
+
+
+

nm_client_networking_set_enabled ()

+
void
+nm_client_networking_set_enabled (NMClient *client,
+                                  gboolean enabled);
+

Enables or disables networking. When networking is disabled, all controlled +interfaces are disconnected and deactivated. When networking is enabled, +all controlled interfaces are available for activation.

+
+

Parameters

+
+++++ + - - + + + - - + + +

NM_CLIENT_PERMISSION_RESULT_AUTH

authorization is necessary before the - permission is available -

client

a NMClient

 

NM_CLIENT_PERMISSION_RESULT_NO

permission to perform the operation is - denied by system policy -

enabled

TRUE to set networking enabled, FALSE to set networking disabled

 
+

-

NMClient

-
typedef struct _NMClient NMClient;
-

-

+

nm_client_wireless_get_enabled ()

+
gboolean
+nm_client_wireless_get_enabled (NMClient *client);
+

Determines whether the wireless is enabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if wireless is enabled

+

+

-

NMClientClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Signals */
-	void (*device_added) (NMClient *client, NMDevice *device);
-	void (*device_removed) (NMClient *client, NMDevice *device);
-	void (*permission_changed) (NMClient *client,
-	                            NMClientPermission permission,
-	                            NMClientPermissionResult result);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMClientClass;
-
-

-

+

nm_client_wireless_set_enabled ()

+
void
+nm_client_wireless_set_enabled (NMClient *client,
+                                gboolean enabled);
+

Enables or disables wireless devices.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

client

a NMClient

 

enabled

TRUE to enable wireless

 
+

-

nm_client_new ()

-
NMClient *          nm_client_new                       (void);
-

-Creates a new NMClient. -

-

-Note that this will do blocking D-Bus calls to initialize the -client. You can use nm_client_new_async() if you want to avoid -that. -

-

-NOTE: NMClient provides information about devices and a mechanism to -control them. To access and modify network configuration data, use the -NMRemoteSettings object. -

-
+

nm_client_wireless_hardware_get_enabled ()

+
gboolean
+nm_client_wireless_hardware_get_enabled
+                               (NMClient *client);
+

Determines whether the wireless hardware is enabled.

+
+

Parameters

+
--+++ - - + + +

Returns :

a new NMClient -

client

a NMClient

 
+
+

Returns

+

TRUE if the wireless hardware is enabled

+

+
+

-

nm_client_new_async ()

-
void                nm_client_new_async                 (GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
-

-Creates a new NMClient and begins asynchronously initializing it. -callback will be called when it is done; use -nm_client_new_finish() to get the result. -

-

-NOTE: NMClient provides information about devices and a mechanism to -control them. To access and modify network configuration data, use the -NMRemoteSettings object. -

-
+

nm_client_wwan_get_enabled ()

+
gboolean
+nm_client_wwan_get_enabled (NMClient *client);
+

Determines whether WWAN is enabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if WWAN is enabled

+

+
+
+
+
+

nm_client_wwan_set_enabled ()

+
void
+nm_client_wwan_set_enabled (NMClient *client,
+                            gboolean enabled);
+

Enables or disables WWAN devices.

+
+

Parameters

+
--+++ - - + + + - - + + + + +

cancellable :

a GCancellable, or NULL -

client

a NMClient

 

callback :

callback to call when the client is created

enabled

TRUE to enable WWAN

 
+
+
+
+
+

nm_client_wwan_hardware_get_enabled ()

+
gboolean
+nm_client_wwan_hardware_get_enabled (NMClient *client);
+

Determines whether the WWAN hardware is enabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if the WWAN hardware is enabled

+

+
+
+
+
+

nm_client_wimax_get_enabled ()

+
gboolean
+nm_client_wimax_get_enabled (NMClient *client);
+

Determines whether WiMAX is enabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if WiMAX is enabled

+

+
+
+
+
+

nm_client_wimax_set_enabled ()

+
void
+nm_client_wimax_set_enabled (NMClient *client,
+                             gboolean enabled);
+

Enables or disables WiMAX devices.

+
+

Parameters

+
+++++ + - - + + + + + + + +

user_data :

data for callback -

client

a NMClient

 

enabled

TRUE to enable WiMAX

 
+
+
+
+

nm_client_wimax_hardware_get_enabled ()

+
gboolean
+nm_client_wimax_hardware_get_enabled (NMClient *client);
+

Determines whether the WiMAX hardware is enabled.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

TRUE if the WiMAX hardware is enabled

+

+
+
+
+
+

nm_client_get_version ()

+
const char *
+nm_client_get_version (NMClient *client);
+

Gets NetworkManager version.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

string with the version

+

+
+
+
+
+

nm_client_get_state ()

+
NMState
+nm_client_get_state (NMClient *client);
+

Gets the current daemon state.

+
+

Parameters

+
+++++ + + + + + +

client

a NMClient

 
+
+
+

Returns

+

the current NMState

+

+
+

-

nm_client_new_finish ()

-
NMClient *          nm_client_new_finish                (GAsyncResult *result,
-                                                         GError **error);
-

-Gets the result of an nm_client_new_async() call. -

-
+

nm_client_get_manager_running ()

+
gboolean
+nm_client_get_manager_running (NMClient *client);
+

Determines whether the daemon is running.

+
+

Parameters

+
--+++ - - - - - - - - - - - - - - + + + + +

result :

a GAsyncResult -

error :

location for a GError, or NULL -

Returns :

a new NMClient, or NULL on error

client

a NMClient

 
+
+

Returns

+

TRUE if the daemon is running

+

+
+

-

nm_client_get_devices ()

-
const GPtrArray *   nm_client_get_devices               (NMClient *client);
-

-Gets all the known network devices. Use nm_device_get_type() or the -NM_IS_DEVICE_XXXX() functions to determine what kind of device member of the -returned array is, and then you may use device-specific methods such as -nm_device_ethernet_get_hw_address(). -

-
+

nm_client_get_active_connections ()

+
const GPtrArray *
+nm_client_get_active_connections (NMClient *client);
+

Gets the active connections.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

client :

a NMClient -

Returns :

a GPtrArray -containing all the NMDevices. The returned array is owned by the -NMClient object and should not be modified. [transfer none][element-type NMClient.Device] -

client

a NMClient

 
+
+

Returns

+

a GPtrArray +containing all the active NMActiveConnections. +The returned array is owned by the client and should not be modified.

+

[transfer none][element-type NMClient.ActiveConnection]

+
+

-

nm_client_get_device_by_path ()

-
NMDevice *          nm_client_get_device_by_path        (NMClient *client,
-                                                         const char *object_path);
-

-Gets a NMDevice from a NMClient. -

-
+

nm_client_sleep ()

+
void
+nm_client_sleep (NMClient *client,
+                 gboolean sleep_);
+

Deprecated; use nm_client_networking_set_enabled() instead.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

client :

a NMClient -

object_path :

the object path to search for

client

a NMClient

 

Returns :

the NMDevice for the given object_path or NULL if none is found. [transfer none] -

sleep_

TRUE to put the daemon to sleep

 
+

-

nm_client_get_device_by_iface ()

-
NMDevice *          nm_client_get_device_by_iface       (NMClient *client,
-                                                         const char *iface);
-

-Gets a NMDevice from a NMClient. -

-
+

nm_client_get_permission_result ()

+
NMClientPermissionResult
+nm_client_get_permission_result (NMClient *client,
+                                 NMClientPermission permission);
+

Requests the result of a specific permission, which indicates whether the +client can or cannot perform the action the permission represents

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

client :

a NMClient -

iface :

the interface name to search for

client

a NMClient

 

Returns :

the NMDevice for the given iface or NULL if none is found. [transfer none] -

permission

the permission for which to return the result, one of NMClientPermission

 
-
-
-

NMClientActivateFn ()

-
void                (*NMClientActivateFn)               (NMClient *client,
-                                                         NMActiveConnection *active_connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

+
+

Returns

+

the permission's result, one of NMClientPermissionResult

+

+

-

nm_client_activate_connection ()

-
void                nm_client_activate_connection       (NMClient *client,
-                                                         NMConnection *connection,
-                                                         NMDevice *device,
-                                                         const char *specific_object,
-                                                         NMClientActivateFn callback,
-                                                         gpointer user_data);
-

-Starts a connection to a particular network using the configuration settings -from connection and the network device device. Certain connection types -also take a "specific object" which is the object path of a connection- -specific object, like an NMAccessPoint for WiFi connections, or an -NMWimaxNsp for WiMAX connections, to which you wish to connect. If the -specific object is not given, NetworkManager can, in some cases, automatically -determine which network to connect to given the settings in connection. -

-
+

nm_client_get_logging ()

+
gboolean
+nm_client_get_logging (NMClient *client,
+                       char **level,
+                       char **domains,
+                       GError **error);
+

Gets NetworkManager current logging level and domains.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + - - + + + - - + + + - - + + +

client :

a NMClient -

connection :

an NMConnection -

device :

the NMDevice. [allow-none] -

client

a NMClient

 

specific_object :

the object path of a connection-type-specific -object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used -(ie, no specific object). For WiFi or WiMAX connections, pass the object -path of a NMAccessPoint or NMWimaxNsp owned by device, which you can -get using nm_object_get_path(), and which will be used to complete the -details of the newly added connection. [allow-none] -

level

return location for logging level string.

[allow-none]

callback :

the function to call when the call is done. [scope async][allow-none] -

domains

return location for log domains string. The string is +a list of domains separated by ",".

[allow-none]

user_data :

user data to pass to the callback function. [closure] -

error

return location for a GError, or NULL.

[allow-none]
-
-
-

NMClientAddActivateFn ()

-
void                (*NMClientAddActivateFn)            (NMClient *client,
-                                                         NMActiveConnection *connection,
-                                                         const char *new_connection_path,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

+
+

Returns

+

TRUE on success, FALSE otherwise

+

+
+

Since 0.9.8


-

nm_client_add_and_activate_connection ()

-
void                nm_client_add_and_activate_connection
-                                                        (NMClient *client,
-                                                         NMConnection *partial,
-                                                         NMDevice *device,
-                                                         const char *specific_object,
-                                                         NMClientAddActivateFn callback,
-                                                         gpointer user_data);
-

-Adds a new connection using the given details (if any) as a template, -automatically filling in missing settings with the capabilities of the -given device and specific object. The new connection is then activated. -Cannot be used for VPN connections at this time. -

-
+

nm_client_set_logging ()

+
gboolean
+nm_client_set_logging (NMClient *client,
+                       const char *level,
+                       const char *domains,
+                       GError **error);
+

Sets NetworkManager logging level and/or domains.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + - - + + + - - + + + - - + + +

client :

a NMClient -

partial :

an NMConnection to add; the connection may be -partially filled (or even NULL) and will be completed by NetworkManager -using the given device and specific_object before being added. [allow-none] -

device :

the NMDevice -

client

a NMClient

 

specific_object :

the object path of a connection-type-specific -object this activation should use. This parameter is currently ignored for -wired and mobile broadband connections, and the value of NULL should be used -(ie, no specific object). For WiFi or WiMAX connections, pass the object -path of a NMAccessPoint or NMWimaxNsp owned by device, which you can -get using nm_object_get_path(), and which will be used to complete the -details of the newly added connection. [allow-none] -

level

logging level to set (NULL or an empty string for no change).

[allow-none]

callback :

the function to call when the call is done. [scope async][allow-none] -

domains

logging domains to set. The string should be a list of log +domains separated by ",". (NULL or an empty string for no change).

[allow-none]

user_data :

user data to pass to the callback function. [closure] -

error

return location for a GError, or NULL.

[allow-none]
+
+

Returns

+

TRUE on success, FALSE otherwise

+

+
+

Since 0.9.8

+
-

nm_client_deactivate_connection ()

-
void                nm_client_deactivate_connection     (NMClient *client,
-                                                         NMActiveConnection *active);
-

-Deactivates an active NMActiveConnection. -

-
+

nm_client_get_connectivity ()

+
NMConnectivityState
+nm_client_get_connectivity (NMClient *client);
+

Gets the current network connectivity state. Contrast +nm_client_check_connectivity() and +nm_client_check_connectivity_async(), which re-check the +connectivity state first before returning any information.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

client :

a NMClient -

active :

the NMActiveConnection to deactivate

client

an NMClient

 
+
+

Returns

+

the current connectivity state

+

+
+

Since 0.9.8.4

+
-

nm_client_networking_get_enabled ()

-
gboolean            nm_client_networking_get_enabled    (NMClient *client);
-

-Whether networking is enabled or disabled. -

-
+

nm_client_check_connectivity ()

+
NMConnectivityState
+nm_client_check_connectivity (NMClient *client,
+                              GCancellable *cancellable,
+                              GError **error);
+

Updates the network connectivity state and returns the (new) +current state. Contrast nm_client_get_connectivity(), which returns +the most recent known state without re-checking.

+

This is a blocking call; use nm_client_check_connectivity_async() +if you do not want to block.

+
+

Parameters

+
--+++ - - - - - - + + + - -

client :

a NMClient -

Returns :

-TRUE if networking is enabled, FALSE if networking is disabled

client

an NMClient

 
-
-
-
-

nm_client_networking_set_enabled ()

-
void                nm_client_networking_set_enabled    (NMClient *client,
-                                                         gboolean enabled);
-

-Enables or disables networking. When networking is disabled, all controlled -interfaces are disconnected and deactivated. When networking is enabled, -all controlled interfaces are available for activation. -

-
---- - - - + + + - - + + +

client :

a NMClient -

cancellable

a GCancellable

 

enabled :

-TRUE to set networking enabled, FALSE to set networking disabled

error

return location for a GError

 
+
+

Returns

+

the (new) current connectivity state

+

+
+

Since 0.9.8.4

+
-

nm_client_wireless_get_enabled ()

-
gboolean            nm_client_wireless_get_enabled      (NMClient *client);
-

-Determines whether the wireless is enabled. -

-
+

nm_client_check_connectivity_async ()

+
void
+nm_client_check_connectivity_async (NMClient *client,
+                                    GCancellable *cancellable,
+                                    GAsyncReadyCallback callback,
+                                    gpointer user_data);
+

Asynchronously updates the network connectivity state and invokes +callback + when complete. Contrast nm_client_get_connectivity(), +which (immediately) returns the most recent known state without +re-checking, and nm_client_check_connectivity(), which blocks.

+
+

Parameters

+
--+++ - - + + + - - + + + - -

client :

a NMClient -

client

an NMClient

 

Returns :

-TRUE if wireless is enabled

cancellable

a GCancellable

 
-
-
-
-

nm_client_wireless_set_enabled ()

-
void                nm_client_wireless_set_enabled      (NMClient *client,
-                                                         gboolean enabled);
-

-Enables or disables wireless devices. -

-
---- - - - + + + - - + + +

client :

a NMClient -

callback

callback to call with the result

 

enabled :

-TRUE to enable wireless

user_data

data for callback +.

 
+

Since 0.9.8.4

+
-

nm_client_wireless_hardware_get_enabled ()

-
gboolean            nm_client_wireless_hardware_get_enabled
-                                                        (NMClient *client);
-

-Determines whether the wireless hardware is enabled. -

-
+

nm_client_check_connectivity_finish ()

+
NMConnectivityState
+nm_client_check_connectivity_finish (NMClient *client,
+                                     GAsyncResult *result,
+                                     GError **error);
+

Retrieves the result of an nm_client_check_connectivity_async() +call.

+
+

Parameters

+
--+++ - - - - - - + + + - -

client :

a NMClient -

Returns :

-TRUE if the wireless hardware is enabled

client

an NMClient

 
-
-
-
-

nm_client_wwan_get_enabled ()

-
gboolean            nm_client_wwan_get_enabled          (NMClient *client);
-

-Determines whether WWAN is enabled. -

-
---- - - - + + + - - + + +

client :

a NMClient -

result

the GAsyncResult

 

Returns :

-TRUE if WWAN is enabled

error

return location for a GError

 
+
+

Returns

+

the (new) current connectivity state

+

+
+

Since 0.9.8.4

+
-

nm_client_wwan_set_enabled ()

-
void                nm_client_wwan_set_enabled          (NMClient *client,
-                                                         gboolean enabled);
-

-Enables or disables WWAN devices. -

-
+

nm_client_get_primary_connection ()

+
NMActiveConnection *
+nm_client_get_primary_connection (NMClient *client);
+

Gets the NMActiveConnection corresponding to the primary active +network device.

+

In particular, when there is no VPN active, or the VPN does not +have the default route, this returns the active connection that has +the default route. If there is a VPN active with the default route, +then this function returns the active connection that contains the +route to the VPN endpoint.

+

If there is no default route, or the default route is over a +non-NetworkManager-recognized device, this will return NULL.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

client :

a NMClient -

enabled :

-TRUE to enable WWAN

client

an NMClient

 
+
+

Returns

+

the appropriate NMActiveConnection, if +any.

+

[transfer none]

+
+

Since 0.9.8.4

+
-

nm_client_wwan_hardware_get_enabled ()

-
gboolean            nm_client_wwan_hardware_get_enabled (NMClient *client);
-

-Determines whether the WWAN hardware is enabled. -

-
+

nm_client_get_activating_connection ()

+
NMActiveConnection *
+nm_client_get_activating_connection (NMClient *client);
+

Gets the NMActiveConnection corresponding to a +currently-activating connection that is expected to become the new +“primary-connection” upon successful activation.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

client :

a NMClient -

Returns :

-TRUE if the WWAN hardware is enabled

client

an NMClient

 
-
+
+

Returns

+

the appropriate NMActiveConnection, if +any.

+

[transfer none]

+
+

Since 0.9.8.4

+ + +
+

Types and Values

-

nm_client_wimax_get_enabled ()

-
gboolean            nm_client_wimax_get_enabled         (NMClient *client);
+

NM_CLIENT_VERSION

+
#define NM_CLIENT_VERSION "version"
+

-Determines whether WiMAX is enabled.

-
---- - - - - - - - - - - -

client :

a NMClient -

Returns :

-TRUE if WiMAX is enabled

-

nm_client_wimax_set_enabled ()

-
void                nm_client_wimax_set_enabled         (NMClient *client,
-                                                         gboolean enabled);
+

NM_CLIENT_STATE

+
#define NM_CLIENT_STATE "state"
+

-Enables or disables WiMAX devices.

-
---- - - - - - - - - - - -

client :

a NMClient -

enabled :

-TRUE to enable WiMAX

-

nm_client_wimax_hardware_get_enabled ()

-
gboolean            nm_client_wimax_hardware_get_enabled
-                                                        (NMClient *client);
+

NM_CLIENT_MANAGER_RUNNING

+
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
+

-Determines whether the WiMAX hardware is enabled.

-
---- - - - - - - - - - - -

client :

a NMClient -

Returns :

-TRUE if the WiMAX hardware is enabled

-

nm_client_get_version ()

-
const char *        nm_client_get_version               (NMClient *client);
+

NM_CLIENT_NETWORKING_ENABLED

+
#define NM_CLIENT_NETWORKING_ENABLED "networking-enabled"
+

-Gets NetworkManager version.

-
---- - - - - - - - - - - -

client :

a NMClient -

Returns :

string with the version

-

nm_client_get_state ()

-
NMState             nm_client_get_state                 (NMClient *client);
+

NM_CLIENT_WIRELESS_ENABLED

+
#define NM_CLIENT_WIRELESS_ENABLED "wireless-enabled"
+

-Gets the current daemon state.

-
---- - - - - - - - - - - -

client :

a NMClient -

Returns :

the current NMState -

-

nm_client_get_manager_running ()

-
gboolean            nm_client_get_manager_running       (NMClient *client);
+

NM_CLIENT_WIRELESS_HARDWARE_ENABLED

+
#define NM_CLIENT_WIRELESS_HARDWARE_ENABLED "wireless-hardware-enabled"
+

-Determines whether the daemon is running.

-
---- - - - - - - - - - - -

client :

a NMClient -

Returns :

-TRUE if the daemon is running

-

nm_client_get_active_connections ()

-
const GPtrArray *   nm_client_get_active_connections    (NMClient *client);
+

NM_CLIENT_WWAN_ENABLED

+
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
+

-Gets the active connections.

-
---- - - - - - - - - - - -

client :

a NMClient -

Returns :

a GPtrArray -containing all the active NMActiveConnections. -The returned array is owned by the client and should not be modified. [transfer none][element-type NMClient.ActiveConnection] -

-

nm_client_sleep ()

-
void                nm_client_sleep                     (NMClient *client,
-                                                         gboolean sleep_);
+

NM_CLIENT_WWAN_HARDWARE_ENABLED

+
#define NM_CLIENT_WWAN_HARDWARE_ENABLED "wwan-hardware-enabled"
+

-Deprecated; use nm_client_networking_set_enabled() instead.

-
---- - - - - - - - - - - -

client :

a NMClient -

sleep_ :

-TRUE to put the daemon to sleep

-

nm_client_get_permission_result ()

-
NMClientPermissionResult nm_client_get_permission_result
-                                                        (NMClient *client,
-                                                         NMClientPermission permission);
+

NM_CLIENT_WIMAX_ENABLED

+
#define NM_CLIENT_WIMAX_ENABLED "wimax-enabled"
+

-Requests the result of a specific permission, which indicates whether the -client can or cannot perform the action the permission represents

-
---- - - - - - - - - - - - - - - -

client :

a NMClient -

permission :

the permission for which to return the result, one of NMClientPermission -

Returns :

the permission's result, one of NMClientPermissionResult -

-

nm_client_get_logging ()

-
gboolean            nm_client_get_logging               (NMClient *client,
-                                                         char **level,
-                                                         char **domains,
-                                                         GError **error);
+

NM_CLIENT_WIMAX_HARDWARE_ENABLED

+
#define NM_CLIENT_WIMAX_HARDWARE_ENABLED "wimax-hardware-enabled"
+

-Gets NetworkManager current logging level and domains.

-
---- - - - - - - - - - - - - - - - - - - - - - - -

client :

a NMClient -

level :

return location for logging level string. [allow-none] -

domains :

return location for log domains string. The string is -a list of domains separated by ",". [allow-none] -

error :

return location for a GError, or NULL. [allow-none] -

Returns :

-TRUE on success, FALSE otherwise
-

Since 0.9.8


-

nm_client_set_logging ()

-
gboolean            nm_client_set_logging               (NMClient *client,
-                                                         const char *level,
-                                                         const char *domains,
-                                                         GError **error);
+

NM_CLIENT_ACTIVE_CONNECTIONS

+
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
+

-Sets NetworkManager logging level and/or domains.

-
---- - - - - - - - - - - - - - - - - - - - - - - -

client :

a NMClient -

level :

logging level to set (NULL or an empty string for no change). [allow-none] -

domains :

logging domains to set. The string should be a list of log -domains separated by ",". (NULL or an empty string for no change). [allow-none] -

error :

return location for a GError, or NULL. [allow-none] -

Returns :

-TRUE on success, FALSE otherwise
-

Since 0.9.8


-

nm_client_get_connectivity ()

-
NMConnectivityState nm_client_get_connectivity          (NMClient *client);
+

NM_CLIENT_CONNECTIVITY

+
#define NM_CLIENT_CONNECTIVITY "connectivity"
+

-Gets the current network connectivity state. Contrast -nm_client_check_connectivity() and -nm_client_check_connectivity_async(), which re-check the -connectivity state first before returning any information.

-
---- - - - - - - - - - - -

client :

an NMClient -

Returns :

the current connectivity state
-

Since 0.9.8.4


-

nm_client_check_connectivity ()

-
NMConnectivityState nm_client_check_connectivity        (NMClient *client,
-                                                         GCancellable *cancellable,
-                                                         GError **error);
+

NM_CLIENT_PRIMARY_CONNECTION

+
#define NM_CLIENT_PRIMARY_CONNECTION "primary-connection"
+

-Updates the network connectivity state and returns the (new) -current state. Contrast nm_client_get_connectivity(), which returns -the most recent known state without re-checking.

+
+
+
+

NM_CLIENT_ACTIVATING_CONNECTION

+
#define NM_CLIENT_ACTIVATING_CONNECTION "activating-connection"
+

-This is a blocking call; use nm_client_check_connectivity_async() -if you do not want to block.

-
+ +
+
+

enum NMClientPermission

+

NMClientPermission values indicate various permissions that NetworkManager +clients can obtain to perform certain tasks on behalf of the current user.

+
+

Members

+
--+++ - - + + - - + + - - + + - - + + + + + + + + - -

client :

an NMClient +

NM_CLIENT_PERMISSION_NONE

+

unknown or no permission

 

cancellable :

a GCancellable +

NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK

+

controls whether networking + can be globally enabled or disabled

 

error :

return location for a GError +

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI

+

controls whether WiFi can be + globally enabled or disabled

 

Returns :

the (new) current connectivity state

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN

+

controls whether WWAN (3G) can be + globally enabled or disabled

+
 

NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIMAX

+

controls whether WiMAX can be + globally enabled or disabled

+
 
-

Since 0.9.8.4

-
-
-
-

nm_client_check_connectivity_async ()

-
void                nm_client_check_connectivity_async  (NMClient *client,
-                                                         GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
-

-Asynchronously updates the network connectivity state and invokes -callback when complete. Contrast nm_client_get_connectivity(), -which (immediately) returns the most recent known state without -re-checking, and nm_client_check_connectivity(), which blocks. -

-
---- - - - + + - - + + - - + + + - - + + + - -

client :

an NMClient +

NM_CLIENT_PERMISSION_SLEEP_WAKE

+

controls whether the client can ask + NetworkManager to sleep and wake

 

cancellable :

a GCancellable +

NM_CLIENT_PERMISSION_NETWORK_CONTROL

+

controls whether networking connections + can be started, stopped, and changed

 

callback :

callback to call with the result

NM_CLIENT_PERMISSION_WIFI_SHARE_PROTECTED

+

controls whether a password + protected WiFi hotspot can be created

+
 

user_data :

data for callback.

NM_CLIENT_PERMISSION_WIFI_SHARE_OPEN

+

controls whether an open WiFi hotspot + can be created

+
 
-

Since 0.9.8.4

-
-
-
-

nm_client_check_connectivity_finish ()

-
NMConnectivityState nm_client_check_connectivity_finish (NMClient *client,
-                                                         GAsyncResult *result,
-                                                         GError **error);
-

-Retrieves the result of an nm_client_check_connectivity_async() -call. -

-
---- - - - + + - - + + - - + + - - + + +

client :

an NMClient +

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_SYSTEM

+

controls whether connections + that are available to all users can be modified

 

result :

the GAsyncResult +

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_OWN

+

controls whether connections + owned by the current user can be modified

 

error :

return location for a GError +

NM_CLIENT_PERMISSION_SETTINGS_MODIFY_HOSTNAME

+

controls whether the + persistent hostname can be changed

 

Returns :

the (new) current connectivity state

NM_CLIENT_PERMISSION_LAST

+

a reserved boundary value

+
 
-

Since 0.9.8.4

+

-

nm_client_get_primary_connection ()

-
NMActiveConnection * nm_client_get_primary_connection   (NMClient *client);
-

-Gets the NMActiveConnection corresponding to the primary active -network device. -

-

-In particular, when there is no VPN active, or the VPN does not -have the default route, this returns the active connection that has -the default route. If there is a VPN active with the default route, -then this function returns the active connection that contains the -route to the VPN endpoint. -

-

-If there is no default route, or the default route is over a -non-NetworkManager-recognized device, this will return NULL. -

-
+

enum NMClientPermissionResult

+

NMClientPermissionResult values indicate what authorizations and permissions +the user requires to obtain a given NMClientPermission

+
+

Members

+
--+++ - - + + - - + + - -

client :

an NMClient +

NM_CLIENT_PERMISSION_RESULT_UNKNOWN

+

unknown or no authorization

 

Returns :

the appropriate NMActiveConnection, if -any. [transfer none] +

NM_CLIENT_PERMISSION_RESULT_YES

+

the permission is available

 
-

Since 0.9.8.4

-
-
-
-

nm_client_get_activating_connection ()

-
NMActiveConnection * nm_client_get_activating_connection
-                                                        (NMClient *client);
-

-Gets the NMActiveConnection corresponding to a -currently-activating connection that is expected to become the new -"primary-connection" upon successful activation. -

-
---- - - - + + - - + +

client :

an NMClient +

NM_CLIENT_PERMISSION_RESULT_AUTH

+

authorization is necessary before the + permission is available

 

Returns :

the appropriate NMActiveConnection, if -any. [transfer none] +

NM_CLIENT_PERMISSION_RESULT_NO

+

permission to perform the operation is + denied by system policy

 
-

Since 0.9.8.4

+

Property Details

-

The "activating-connection" property

-
  "activating-connection"    NMActiveConnection*   : Read
-

-The NMActiveConnection of the activating connection that is -likely to become the new "primary-connection". -

+

The “activating-connection” property

+
  “activating-connection”    NMActiveConnection *
+

Activating connection.

+

Flags: Read

Since 0.9.8.4


-

The "active-connections" property

-
  "active-connections"       NMObjectArray*        : Read
+

The “active-connections” property

+
  “active-connections”       NMObjectArray *

Active connections.

+

Flags: Read


-

The "connectivity" property

-
  "connectivity"             guint                 : Read
-

-The network connectivity state. -

+

The “connectivity” property

+
  “connectivity”             guint
+

Connectivity state.

+

Flags: Read

Allowed values: <= 4

Default value: 0

Since 0.9.8.4


-

The "manager-running" property

-
  "manager-running"          gboolean              : Read
+

The “manager-running” property

+
  “manager-running”          gboolean

Whether NetworkManager is running.

+

Flags: Read

Default value: FALSE


-

The "networking-enabled" property

-
  "networking-enabled"       gboolean              : Read / Write
+

The “networking-enabled” property

+
  “networking-enabled”       gboolean

Is networking enabled.

+

Flags: Read / Write

Default value: TRUE


-

The "primary-connection" property

-
  "primary-connection"       NMActiveConnection*   : Read
-

-The NMActiveConnection of the device with the default route; -see nm_client_get_primary_connection() for more details. -

+

The “primary-connection” property

+
  “primary-connection”       NMActiveConnection *
+

Primary connection.

+

Flags: Read

Since 0.9.8.4


-

The "state" property

-
  "state"                    guint                 : Read
-

-The current daemon state. -

+

The “state” property

+
  “state”                    guint
+

NetworkManager state.

+

Flags: Read

Allowed values: <= 70

Default value: 0


-

The "version" property

-
  "version"                  gchar*                : Read
-

-The NetworkManager version. -

+

The “version” property

+
  “version”                  gchar *
+

NetworkManager version.

+

Flags: Read

Default value: NULL


-

The "wimax-enabled" property

-
  "wimax-enabled"            gboolean              : Read / Write
+

The “wimax-enabled” property

+
  “wimax-enabled”            gboolean

Is WiMAX enabled.

+

Flags: Read / Write

Default value: FALSE


-

The "wimax-hardware-enabled" property

-
  "wimax-hardware-enabled"   gboolean              : Read
+

The “wimax-hardware-enabled” property

+
  “wimax-hardware-enabled”   gboolean

Is WiMAX hardware enabled.

+

Flags: Read

Default value: FALSE


-

The "wireless-enabled" property

-
  "wireless-enabled"         gboolean              : Read / Write
+

The “wireless-enabled” property

+
  “wireless-enabled”         gboolean

Is wireless enabled.

+

Flags: Read / Write

Default value: FALSE


-

The "wireless-hardware-enabled" property

-
  "wireless-hardware-enabled" gboolean              : Read
+

The “wireless-hardware-enabled” property

+
  “wireless-hardware-enabled” gboolean

Is wireless hardware enabled.

+

Flags: Read

Default value: TRUE


-

The "wwan-enabled" property

-
  "wwan-enabled"             gboolean              : Read / Write
+

The “wwan-enabled” property

+
  “wwan-enabled”             gboolean

Is WWAN enabled.

+

Flags: Read / Write

Default value: FALSE


-

The "wwan-hardware-enabled" property

-
  "wwan-hardware-enabled"    gboolean              : Read
+

The “wwan-hardware-enabled” property

+
  “wwan-hardware-enabled”    gboolean

Is WWAN hardware enabled.

+

Flags: Read

Default value: FALSE

Signal Details

-

The "device-added" signal

-
void                user_function                      (NMClient *client,
-                                                        GObject  *device,
-                                                        gpointer  user_data)      : Run First
-

-Notifies that a NMDevice is added. -

-
---- - - - - - - - - - - - - - - -

client :

the client that received the signal

device :

the new device. [type NMClient.Device] -

user_data :

user data set when the signal handler was connected.
+

The “device-added” signal

+
void
+user_function (NMClient *client,
+               GObject  *device,
+               gpointer  user_data)
+

Flags: Run First


-

The "device-removed" signal

-
void                user_function                      (NMClient *client,
-                                                        GObject  *device,
-                                                        gpointer  user_data)      : Run First
-

-Notifies that a NMDevice is removed. -

-
---- - - - - - - - - - - - - - - -

client :

the client that received the signal

device :

the removed device. [type NMClient.Device] -

user_data :

user data set when the signal handler was connected.
+

The “device-removed” signal

+
void
+user_function (NMClient *client,
+               GObject  *device,
+               gpointer  user_data)
+

Flags: Run First


-

The "permission-changed" signal

-
void                user_function                      (NMClient *client,
-                                                        guint     permission,
-                                                        guint     result,
-                                                        gpointer  user_data)       : Run First
-

-Notifies that a permission has changed -

-
---- - - - - - - - - - - - - - - - - - - -

client :

the client that received the signal

permission :

a permission from NMClientPermission -

result :

the permission's result, one of NMClientPermissionResult -

user_data :

user data set when the signal handler was connected.
+

The “permission-changed” signal

+
void
+user_function (NMClient *client,
+               guint     permission,
+               guint     result,
+               gpointer  user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDHCP4Config.html b/docs/libnm-glib/html/NMDHCP4Config.html index aff13165..5809f4b7 100644 --- a/docs/libnm-glib/html/NMDHCP4Config.html +++ b/docs/libnm-glib/html/NMDHCP4Config.html @@ -2,36 +2,28 @@ -NMDHCP4Config +libnm-glib Reference Manual: NMDHCP4Config - + - - - - - - - - - - + + + + + + +
@@ -39,38 +31,76 @@

NMDHCP4Config

NMDHCP4Config

- +
-
-

Synopsis

-
                    NMDHCP4Config;
-                    NMDHCP4ConfigClass;
-#define             NM_DHCP4_CONFIG_OPTIONS
-GObject *           nm_dhcp4_config_new                 (DBusGConnection *connection,
-                                                         const char *object_path);
-GHashTable *        nm_dhcp4_config_get_options         (NMDHCP4Config *config);
-const char *        nm_dhcp4_config_get_one_option      (NMDHCP4Config *config,
-                                                         const char *option);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GObject * + +nm_dhcp4_config_new () +
+GHashTable * + +nm_dhcp4_config_get_options () +
const char * + +nm_dhcp4_config_get_one_option () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDHCP4Config
-
+

Properties

+
+++++ + + + + + +
+GHashTable *optionsRead
-

Implemented Interfaces

-

-NMDHCP4Config implements - GInitable and GAsyncInitable.

+

Types and Values

+
++++ + + + + +
#defineNM_DHCP4_CONFIG_OPTIONS
-

Properties

-
-  "options"                  GHashTable*           : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDHCP4Config
 
@@ -79,145 +109,128 @@ NMDHCP4Config implements

-

Details

-
-

NMDHCP4Config

-
typedef struct _NMDHCP4Config NMDHCP4Config;
-

-

-
-
-
-

NMDHCP4ConfigClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDHCP4ConfigClass;
-
-

-

-
-
-
-

NM_DHCP4_CONFIG_OPTIONS

-
#define NM_DHCP4_CONFIG_OPTIONS "options"
-
-

-

-
-
+

Functions

-

nm_dhcp4_config_new ()

-
GObject *           nm_dhcp4_config_new                 (DBusGConnection *connection,
-                                                         const char *object_path);
-

-Creates a new NMDHCP4Config. -

-
+

nm_dhcp4_config_new ()

+
GObject *
+nm_dhcp4_config_new (DBusGConnection *connection,
+                     const char *object_path);
+

Creates a new NMDHCP4Config.

+
+

Parameters

+
--+++ - - + + + - - - - - - + + +

connection :

the DBusGConnection -

connection

the DBusGConnection

 

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full] -

object_path

the DBus object path of the device

 
+
+

Returns

+

a new configuration.

+

[transfer full]

+
+

-

nm_dhcp4_config_get_options ()

-
GHashTable *        nm_dhcp4_config_get_options         (NMDHCP4Config *config);
-

-Gets all the options contained in the configuration. -

-
+

nm_dhcp4_config_get_options ()

+
GHashTable *
+nm_dhcp4_config_get_options (NMDHCP4Config *config);
+

Gets all the options contained in the configuration.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

config :

a NMDHCP4Config -

Returns :

the GHashTable containing strings for keys and values. -This is the internal copy used by the configuration, and must not be modified. [transfer none][element-type utf8 GObject.Value] -

config

a NMDHCP4Config

 
+
+

Returns

+

the GHashTable containing strings for keys and values. +This is the internal copy used by the configuration, and must not be modified.

+

[transfer none][element-type utf8 GObject.Value]

+
+

-

nm_dhcp4_config_get_one_option ()

-
const char *        nm_dhcp4_config_get_one_option      (NMDHCP4Config *config,
-                                                         const char *option);
-

-Gets one option by option name. -

-
+

nm_dhcp4_config_get_one_option ()

+
const char *
+nm_dhcp4_config_get_one_option (NMDHCP4Config *config,
+                                const char *option);
+

Gets one option by option name.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

config :

a NMDHCP4Config -

option :

the option to retrieve

config

a NMDHCP4Config

 

Returns :

the configuration option's value. This is the internal string used by the -configuration, and must not be modified.

option

the option to retrieve

 
+
+

Returns

+

the configuration option's value. This is the internal string used by the +configuration, and must not be modified.

+

+
+
-

Property Details

+

Types and Values

-

The "options" property

-
  "options"                  GHashTable*           : Read
-

-The GHashTable containing options of the configuration. -

+

NM_DHCP4_CONFIG_OPTIONS

+
#define NM_DHCP4_CONFIG_OPTIONS "options"
+

-Type: GLib.HashTable(utf8,GObject.Value)

+
+

Property Details

+
+

The “options” property

+
  “options”                  GHashTable *
+

Options.

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDHCP6Config.html b/docs/libnm-glib/html/NMDHCP6Config.html index cc5b4931..6d0c04f6 100644 --- a/docs/libnm-glib/html/NMDHCP6Config.html +++ b/docs/libnm-glib/html/NMDHCP6Config.html @@ -2,36 +2,28 @@ -NMDHCP6Config +libnm-glib Reference Manual: NMDHCP6Config - + - - - - - - - - - - + + + + + + +
@@ -39,38 +31,76 @@

NMDHCP6Config

NMDHCP6Config

- +
-
-

Synopsis

-
                    NMDHCP6Config;
-                    NMDHCP6ConfigClass;
-#define             NM_DHCP6_CONFIG_OPTIONS
-GObject *           nm_dhcp6_config_new                 (DBusGConnection *connection,
-                                                         const char *object_path);
-GHashTable *        nm_dhcp6_config_get_options         (NMDHCP6Config *config);
-const char *        nm_dhcp6_config_get_one_option      (NMDHCP6Config *config,
-                                                         const char *option);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GObject * + +nm_dhcp6_config_new () +
+GHashTable * + +nm_dhcp6_config_get_options () +
const char * + +nm_dhcp6_config_get_one_option () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDHCP6Config
-
+

Properties

+
+++++ + + + + + +
+GHashTable *optionsRead
-

Implemented Interfaces

-

-NMDHCP6Config implements - GInitable and GAsyncInitable.

+

Types and Values

+
++++ + + + + +
#defineNM_DHCP6_CONFIG_OPTIONS
-

Properties

-
-  "options"                  GHashTable*           : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDHCP6Config
 
@@ -79,145 +109,128 @@ NMDHCP6Config implements

-

Details

-
-

NMDHCP6Config

-
typedef struct _NMDHCP6Config NMDHCP6Config;
-

-

-
-
-
-

NMDHCP6ConfigClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDHCP6ConfigClass;
-
-

-

-
-
-
-

NM_DHCP6_CONFIG_OPTIONS

-
#define NM_DHCP6_CONFIG_OPTIONS "options"
-
-

-

-
-
+

Functions

-

nm_dhcp6_config_new ()

-
GObject *           nm_dhcp6_config_new                 (DBusGConnection *connection,
-                                                         const char *object_path);
-

-Creates a new NMDHCP6Config. -

-
+

nm_dhcp6_config_new ()

+
GObject *
+nm_dhcp6_config_new (DBusGConnection *connection,
+                     const char *object_path);
+

Creates a new NMDHCP6Config.

+
+

Parameters

+
--+++ - - + + + - - - - - - + + +

connection :

the DBusGConnection -

connection

the DBusGConnection

 

object_path :

the DBus object path of the device

Returns :

a new configuration. [transfer full] -

object_path

the DBus object path of the device

 
+
+

Returns

+

a new configuration.

+

[transfer full]

+
+

-

nm_dhcp6_config_get_options ()

-
GHashTable *        nm_dhcp6_config_get_options         (NMDHCP6Config *config);
-

-Gets all the options contained in the configuration. -

-
+

nm_dhcp6_config_get_options ()

+
GHashTable *
+nm_dhcp6_config_get_options (NMDHCP6Config *config);
+

Gets all the options contained in the configuration.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

config :

a NMDHCP6Config -

Returns :

the GHashTable containing strings for keys and values. -This is the internal copy used by the configuration, and must not be modified. [transfer none][element-type utf8 GObject.Value] -

config

a NMDHCP6Config

 
+
+

Returns

+

the GHashTable containing strings for keys and values. +This is the internal copy used by the configuration, and must not be modified.

+

[transfer none][element-type utf8 GObject.Value]

+
+

-

nm_dhcp6_config_get_one_option ()

-
const char *        nm_dhcp6_config_get_one_option      (NMDHCP6Config *config,
-                                                         const char *option);
-

-Gets one option by option name. -

-
+

nm_dhcp6_config_get_one_option ()

+
const char *
+nm_dhcp6_config_get_one_option (NMDHCP6Config *config,
+                                const char *option);
+

Gets one option by option name.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

config :

a NMDHCP6Config -

option :

the option to retrieve

config

a NMDHCP6Config

 

Returns :

the configuration option's value. This is the internal string used by the -configuration, and must not be modified.

option

the option to retrieve

 
+
+

Returns

+

the configuration option's value. This is the internal string used by the +configuration, and must not be modified.

+

+
+
-

Property Details

+

Types and Values

-

The "options" property

-
  "options"                  GHashTable*           : Read
-

-The GHashTable containing options of the configuration. -

+

NM_DHCP6_CONFIG_OPTIONS

+
#define NM_DHCP6_CONFIG_OPTIONS "options"
+

-Type: GLib.HashTable(utf8,GObject.Value)

+
+

Property Details

+
+

The “options” property

+
  “options”                  GHashTable *
+

Options.

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html index 621a183b..35d1dd2a 100644 --- a/docs/libnm-glib/html/NMDevice.html +++ b/docs/libnm-glib/html/NMDevice.html @@ -2,38 +2,29 @@ -NMDevice +libnm-glib Reference Manual: NMDevice - + - - - - - - - - - - + + + + + + +
@@ -41,1370 +32,1710 @@

NMDevice

NMDevice

- +
-
-

Synopsis

-
#define             NM_DEVICE_DEVICE_TYPE
-#define             NM_DEVICE_UDI
-#define             NM_DEVICE_INTERFACE
-#define             NM_DEVICE_IP_INTERFACE
-#define             NM_DEVICE_DRIVER
-#define             NM_DEVICE_DRIVER_VERSION
-#define             NM_DEVICE_FIRMWARE_VERSION
-#define             NM_DEVICE_CAPABILITIES
-#define             NM_DEVICE_MANAGED
-#define             NM_DEVICE_AUTOCONNECT
-#define             NM_DEVICE_FIRMWARE_MISSING
-#define             NM_DEVICE_IP4_CONFIG
-#define             NM_DEVICE_DHCP4_CONFIG
-#define             NM_DEVICE_IP6_CONFIG
-#define             NM_DEVICE_DHCP6_CONFIG
-#define             NM_DEVICE_STATE
-#define             NM_DEVICE_STATE_REASON
-#define             NM_DEVICE_ACTIVE_CONNECTION
-#define             NM_DEVICE_AVAILABLE_CONNECTIONS
-#define             NM_DEVICE_VENDOR
-#define             NM_DEVICE_PRODUCT
-                    NMDevice;
-                    NMDeviceClass;
-GObject *           nm_device_new                       (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_get_iface                 (NMDevice *device);
-const char *        nm_device_get_ip_iface              (NMDevice *device);
-NMDeviceType        nm_device_get_device_type           (NMDevice *device);
-const char *        nm_device_get_udi                   (NMDevice *device);
-const char *        nm_device_get_driver                (NMDevice *device);
-const char *        nm_device_get_driver_version        (NMDevice *device);
-const char *        nm_device_get_firmware_version      (NMDevice *device);
-NMDeviceCapabilities nm_device_get_capabilities         (NMDevice *device);
-gboolean            nm_device_get_managed               (NMDevice *device);
-gboolean            nm_device_get_autoconnect           (NMDevice *device);
-void                nm_device_set_autoconnect           (NMDevice *device,
-                                                         gboolean autoconnect);
-gboolean            nm_device_get_firmware_missing      (NMDevice *device);
-NMIP4Config *       nm_device_get_ip4_config            (NMDevice *device);
-NMDHCP4Config *     nm_device_get_dhcp4_config          (NMDevice *device);
-NMIP6Config *       nm_device_get_ip6_config            (NMDevice *device);
-NMDHCP6Config *     nm_device_get_dhcp6_config          (NMDevice *device);
-NMDeviceState       nm_device_get_state                 (NMDevice *device);
-NMDeviceState       nm_device_get_state_reason          (NMDevice *device,
-                                                         NMDeviceStateReason *reason);
-NMActiveConnection * nm_device_get_active_connection    (NMDevice *device);
-const GPtrArray *   nm_device_get_available_connections (NMDevice *device);
-const char *        nm_device_get_product               (NMDevice *device);
-const char *        nm_device_get_vendor                (NMDevice *device);
-void                (*NMDeviceDeactivateFn)             (NMDevice *device,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                nm_device_disconnect                (NMDevice *device,
-                                                         NMDeviceDeactivateFn callback,
-                                                         gpointer user_data);
-GSList *            nm_device_filter_connections        (NMDevice *device,
-                                                         const GSList *connections);
-gboolean            nm_device_connection_valid          (NMDevice *device,
-                                                         NMConnection *connection);
-gboolean            nm_device_connection_compatible     (NMDevice *device,
-                                                         NMConnection *connection,
-                                                         GError **error);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceEthernet
-               +----NMDeviceWifi
-               +----NMDeviceModem
-               +----NMDeviceBt
-               +----NMDeviceWimax
-               +----NMDeviceOlpcMesh
-               +----NMDeviceAdsl
-               +----NMDeviceInfiniband
-               +----NMDeviceBond
-               +----NMDeviceBridge
-               +----NMDeviceVlan
-
-
-

Implemented Interfaces

-

-NMDevice implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+GObject * + +nm_device_new () +
const char * + +nm_device_get_iface () +
const char * + +nm_device_get_ip_iface () +
+NMDeviceType + +nm_device_get_device_type () +
const char * + +nm_device_get_udi () +
const char * + +nm_device_get_driver () +
const char * + +nm_device_get_driver_version () +
const char * + +nm_device_get_firmware_version () +
+NMDeviceCapabilities + +nm_device_get_capabilities () +
+gboolean + +nm_device_get_managed () +
+gboolean + +nm_device_get_autoconnect () +
+void + +nm_device_set_autoconnect () +
+gboolean + +nm_device_get_firmware_missing () +
+NMIP4Config * + +nm_device_get_ip4_config () +
+NMDHCP4Config * + +nm_device_get_dhcp4_config () +
+NMIP6Config * + +nm_device_get_ip6_config () +
+NMDHCP6Config * + +nm_device_get_dhcp6_config () +
+NMDeviceState + +nm_device_get_state () +
+NMDeviceState + +nm_device_get_state_reason () +
+NMActiveConnection * + +nm_device_get_active_connection () +
const GPtrArray * + +nm_device_get_available_connections () +
const char * + +nm_device_get_product () +
const char * + +nm_device_get_vendor () +
+void + +(*NMDeviceDeactivateFn) () +
+void + +nm_device_disconnect () +
+GSList * + +nm_device_filter_connections () +
+gboolean + +nm_device_connection_valid () +
+gboolean + +nm_device_connection_compatible () +

Properties

-
-  "active-connection"        NMActiveConnection*   : Read
-  "autoconnect"              gboolean              : Read / Write
-  "available-connections"    NMObjectArray*        : Read
-  "capabilities"             guint                 : Read
-  "device-type"              guint                 : Read
-  "dhcp4-config"             NMDHCP4Config*        : Read
-  "dhcp6-config"             NMDHCP6Config*        : Read
-  "driver"                   gchar*                : Read
-  "driver-version"           gchar*                : Read
-  "firmware-missing"         gboolean              : Read
-  "firmware-version"         gchar*                : Read
-  "interface"                gchar*                : Read
-  "ip-interface"             gchar*                : Read
-  "ip4-config"               NMIP4Config*          : Read
-  "ip6-config"               NMIP6Config*          : Read
-  "managed"                  gboolean              : Read
-  "product"                  gchar*                : Read
-  "state"                    guint                 : Read
-  "state-reason"             GValueArray_guint+guint_*  : Read
-  "udi"                      gchar*                : Read
-  "vendor"                   gchar*                : Read
-
-
-
-

Signals

-
-  "state-changed"                                  : Run First
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_DEVICE_DEVICE_TYPE

-
#define NM_DEVICE_DEVICE_TYPE "device-type"
-
-

-

-
-
-
-

NM_DEVICE_UDI

-
#define NM_DEVICE_UDI "udi"
-
-

-

-
-
-
-

NM_DEVICE_INTERFACE

-
#define NM_DEVICE_INTERFACE "interface"
-
-

-

-
-
-
-

NM_DEVICE_IP_INTERFACE

-
#define NM_DEVICE_IP_INTERFACE "ip-interface"
-
-

-

-
-
-
-

NM_DEVICE_DRIVER

-
#define NM_DEVICE_DRIVER "driver"
-
-

-

-
-
-
-

NM_DEVICE_DRIVER_VERSION

-
#define NM_DEVICE_DRIVER_VERSION "driver-version"
-
-

-

-
-
-
-

NM_DEVICE_FIRMWARE_VERSION

-
#define NM_DEVICE_FIRMWARE_VERSION "firmware-version"
-
-

-

-
-
-
-

NM_DEVICE_CAPABILITIES

-
#define NM_DEVICE_CAPABILITIES "capabilities"
-
-

-

-
-
-
-

NM_DEVICE_MANAGED

-
#define NM_DEVICE_MANAGED "managed"
-
-

-

-
-
-
-

NM_DEVICE_AUTOCONNECT

-
#define NM_DEVICE_AUTOCONNECT "autoconnect"
-
-

-

-
-
-
-

NM_DEVICE_FIRMWARE_MISSING

-
#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing"
-
-

-

-
-
-
-

NM_DEVICE_IP4_CONFIG

-
#define NM_DEVICE_IP4_CONFIG "ip4-config"
-
-

-

-
-
-
-

NM_DEVICE_DHCP4_CONFIG

-
#define NM_DEVICE_DHCP4_CONFIG "dhcp4-config"
-
-

-

-
-
-
-

NM_DEVICE_IP6_CONFIG

-
#define NM_DEVICE_IP6_CONFIG "ip6-config"
-
-

-

-
-
-
-

NM_DEVICE_DHCP6_CONFIG

-
#define NM_DEVICE_DHCP6_CONFIG "dhcp6-config"
-
-

-

-
-
-
-

NM_DEVICE_STATE

-
#define NM_DEVICE_STATE "state"
-
-

-

-
-
-
-

NM_DEVICE_STATE_REASON

-
#define NM_DEVICE_STATE_REASON "state-reason"
-
-

-

-
-
-
-

NM_DEVICE_ACTIVE_CONNECTION

-
#define NM_DEVICE_ACTIVE_CONNECTION "active-connection"
-
-

-

-
-
-
-

NM_DEVICE_AVAILABLE_CONNECTIONS

-
#define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections"
-
-

-

-
-
-
-

NM_DEVICE_VENDOR

-
#define NM_DEVICE_VENDOR "vendor"
-
-

-

-
-
-
-

NM_DEVICE_PRODUCT

-
#define NM_DEVICE_PRODUCT "product"
-
-

-

-
-
-
-

NMDevice

-
typedef struct _NMDevice NMDevice;
-

-

-
-
-
-

NMDeviceClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Signals */
-	void (*state_changed) (NMDevice *device,
-	                       NMDeviceState new_state,
-	                       NMDeviceState old_state,
-	                       NMDeviceStateReason reason);
-
-	gboolean (*connection_compatible) (NMDevice *device,
-	                                   NMConnection *connection,
-	                                   GError **error);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceClass;
-
-

-

-
-
-
-

nm_device_new ()

-
GObject *           nm_device_new                       (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDevice. -

-
+
--+++ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - - + + +

connection :

the DBusGConnection - +NMActiveConnection *active-connectionRead
gbooleanautoconnectRead / Write
+NMObjectArray *available-connectionsRead
guintcapabilitiesRead
guintdevice-typeRead
+NMDHCP4Config *dhcp4-configRead
+NMDHCP6Config *dhcp6-configRead
+gchar *driverRead
+gchar *driver-versionRead
gbooleanfirmware-missingRead
+gchar *firmware-versionRead
+gchar *interfaceRead
+gchar *ip-interfaceRead
+NMIP4Config *ip4-configRead
+NMIP6Config *ip6-configRead
gbooleanmanagedRead
+gchar *productRead
guintstateRead
GValueArray_guint+guint_*state-reasonRead

path :

the DBus object path of the device +gchar *udiRead

Returns :

a new device. [transfer full] - +gchar *vendorRead
-
-
-

nm_device_get_iface ()

-
const char *        nm_device_get_iface                 (NMDevice *device);
-

-Gets the interface name of the NMDevice. -

-
+
+

Signals

+
+++++ + + + + + +
voidstate-changedRun First
+
+
+

Types and Values

+
--++ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + +

device :

a NMDevice -#defineNM_DEVICE_DEVICE_TYPE
#defineNM_DEVICE_UDI
#defineNM_DEVICE_INTERFACE
#defineNM_DEVICE_IP_INTERFACE
#defineNM_DEVICE_DRIVER
#defineNM_DEVICE_DRIVER_VERSION
#defineNM_DEVICE_FIRMWARE_VERSION
#defineNM_DEVICE_CAPABILITIES
#defineNM_DEVICE_MANAGED
#defineNM_DEVICE_AUTOCONNECT
#defineNM_DEVICE_FIRMWARE_MISSING
#defineNM_DEVICE_IP4_CONFIG
#defineNM_DEVICE_DHCP4_CONFIG
#defineNM_DEVICE_IP6_CONFIG
#defineNM_DEVICE_DHCP6_CONFIG
#defineNM_DEVICE_STATE
#defineNM_DEVICE_STATE_REASON
#defineNM_DEVICE_ACTIVE_CONNECTION
#defineNM_DEVICE_AVAILABLE_CONNECTIONS
#defineNM_DEVICE_VENDOR

Returns :

the interface of the device. This is the internal string used by the -device, and must not be modified.#defineNM_DEVICE_PRODUCT
-
-
-

nm_device_get_ip_iface ()

-
const char *        nm_device_get_ip_iface              (NMDevice *device);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ├── NMDeviceEthernet
+            ├── NMDeviceWifi
+            ├── NMDeviceModem
+            ├── NMDeviceBt
+            ├── NMDeviceWimax
+            ├── NMDeviceOlpcMesh
+            ├── NMDeviceAdsl
+            ├── NMDeviceInfiniband
+            ├── NMDeviceBond
+            ├── NMDeviceBridge
+            ╰── NMDeviceVlan
+
+
+
+

Description

-Gets the IP interface name of the NMDevice over which IP traffic flows -when the device is in the ACTIVATED state.

-
+ +
+

Functions

+
+

nm_device_new ()

+
GObject *
+nm_device_new (DBusGConnection *connection,
+               const char *path);
+

Creates a new NMDevice.

+
+

Parameters

+
--+++ - - + + + - - + + +

device :

a NMDevice -

connection

the DBusGConnection

 

Returns :

the IP traffic interface of the device. This is the internal string -used by the device, and must not be modified.

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_get_device_type ()

-
NMDeviceType        nm_device_get_device_type           (NMDevice *device);
-

-Returns the numeric type of the NMDevice, ie ethernet, wifi, etc. -

-
+

nm_device_get_iface ()

+
const char *
+nm_device_get_iface (NMDevice *device);
+

Gets the interface name of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the device type

device

a NMDevice

 
+
+

Returns

+

the interface of the device. This is the internal string used by the +device, and must not be modified.

+

+
+

-

nm_device_get_udi ()

-
const char *        nm_device_get_udi                   (NMDevice *device);
-

-Gets the Unique Device Identifier of the NMDevice. -

-
+

nm_device_get_ip_iface ()

+
const char *
+nm_device_get_ip_iface (NMDevice *device);
+

Gets the IP interface name of the NMDevice over which IP traffic flows +when the device is in the ACTIVATED state.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the Unique Device Identifier of the device. This identifier may be -used to gather more information about the device from various operating -system services like udev or sysfs.

device

a NMDevice

 
+
+

Returns

+

the IP traffic interface of the device. This is the internal string +used by the device, and must not be modified.

+

+
+

-

nm_device_get_driver ()

-
const char *        nm_device_get_driver                (NMDevice *device);
-

-Gets the driver of the NMDevice. -

-
+

nm_device_get_device_type ()

+
NMDeviceType
+nm_device_get_device_type (NMDevice *device);
+

Returns the numeric type of the NMDevice, ie ethernet, wifi, etc.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the driver of the device. This is the internal string used by the -device, and must not be modified.

device

a NMDevice

 
+
+

Returns

+

the device type

+

+
+
-

nm_device_get_driver_version ()

-
const char *        nm_device_get_driver_version        (NMDevice *device);
-

-Gets the driver version of the NMDevice. -

-
+

nm_device_get_udi ()

+
const char *
+nm_device_get_udi (NMDevice *device);
+

Gets the Unique Device Identifier of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the version of the device driver. This is the internal string used by the -device, and must not be modified.

device

a NMDevice

 
+
+

Returns

+

the Unique Device Identifier of the device. This identifier may be +used to gather more information about the device from various operating +system services like udev or sysfs.

+

+
+
-

nm_device_get_firmware_version ()

-
const char *        nm_device_get_firmware_version      (NMDevice *device);
-

-Gets the firmware version of the NMDevice. -

-
+

nm_device_get_driver ()

+
const char *
+nm_device_get_driver (NMDevice *device);
+

Gets the driver of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the firmware version of the device. This is the internal string used by the -device, and must not be modified.

device

a NMDevice

 
+
+

Returns

+

the driver of the device. This is the internal string used by the +device, and must not be modified.

+

+
+
-

nm_device_get_capabilities ()

-
NMDeviceCapabilities nm_device_get_capabilities         (NMDevice *device);
-

-Gets the device' capabilities. -

-
+

nm_device_get_driver_version ()

+
const char *
+nm_device_get_driver_version (NMDevice *device);
+

Gets the driver version of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the capabilities

device

a NMDevice

 
+
+

Returns

+

the version of the device driver. This is the internal string used by the +device, and must not be modified.

+

+
+
-

nm_device_get_managed ()

-
gboolean            nm_device_get_managed               (NMDevice *device);
-

-Whether the NMDevice is managed by NetworkManager. -

-
+

nm_device_get_firmware_version ()

+
const char *
+nm_device_get_firmware_version (NMDevice *device);
+

Gets the firmware version of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

-TRUE if the device is managed by NetworkManager

device

a NMDevice

 
+
+

Returns

+

the firmware version of the device. This is the internal string used by the +device, and must not be modified.

+

+
+
-

nm_device_get_autoconnect ()

-
gboolean            nm_device_get_autoconnect           (NMDevice *device);
-

-Whether the NMDevice can be autoconnected. -

-
+

nm_device_get_capabilities ()

+
NMDeviceCapabilities
+nm_device_get_capabilities (NMDevice *device);
+

Gets the device' capabilities.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

-TRUE if the device is allowed to be autoconnected

device

a NMDevice

 
+
+

Returns

+

the capabilities

+

+
+
-

nm_device_set_autoconnect ()

-
void                nm_device_set_autoconnect           (NMDevice *device,
-                                                         gboolean autoconnect);
-

-Enables or disables automatic activation of the NMDevice. -

-
+

nm_device_get_managed ()

+
gboolean
+nm_device_get_managed (NMDevice *device);
+

Whether the NMDevice is managed by NetworkManager.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

autoconnect :

-TRUE to enable autoconnecting

device

a NMDevice

 
+
+

Returns

+

TRUE if the device is managed by NetworkManager

+

+
+
-

nm_device_get_firmware_missing ()

-
gboolean            nm_device_get_firmware_missing      (NMDevice *device);
-

-Indicates that firmware required for the device's operation is likely -to be missing. -

-
+

nm_device_get_autoconnect ()

+
gboolean
+nm_device_get_autoconnect (NMDevice *device);
+

Whether the NMDevice can be autoconnected.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

-TRUE if firmware required for the device's operation is likely -to be missing.

device

a NMDevice

 
+
+

Returns

+

TRUE if the device is allowed to be autoconnected

+

+
+
-

nm_device_get_ip4_config ()

-
NMIP4Config *       nm_device_get_ip4_config            (NMDevice *device);
-

-Gets the current NMIP4Config associated with the NMDevice. -

-
+

nm_device_set_autoconnect ()

+
void
+nm_device_set_autoconnect (NMDevice *device,
+                           gboolean autoconnect);
+

Enables or disables automatic activation of the NMDevice.

+
+

Parameters

+
--+++ - - + + + - - + + +

device :

a NMDevice -

device

a NMDevice

 

Returns :

the NMIP4Config or NULL if the device is not activated. [transfer none] -

autoconnect

TRUE to enable autoconnecting

 
+
-

nm_device_get_dhcp4_config ()

-
NMDHCP4Config *     nm_device_get_dhcp4_config          (NMDevice *device);
-

-Gets the current NMDHCP4Config associated with the NMDevice. -

-
+

nm_device_get_firmware_missing ()

+
gboolean
+nm_device_get_firmware_missing (NMDevice *device);
+

Indicates that firmware required for the device's operation is likely +to be missing.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the NMDHCP4Config or NULL if the device is not activated or not -using DHCP. [transfer none] -

device

a NMDevice

 
+
+

Returns

+

TRUE if firmware required for the device's operation is likely +to be missing.

+

+
+
-

nm_device_get_ip6_config ()

-
NMIP6Config *       nm_device_get_ip6_config            (NMDevice *device);
-

-Gets the current NMIP6Config associated with the NMDevice. -

-
+

nm_device_get_ip4_config ()

+
NMIP4Config *
+nm_device_get_ip4_config (NMDevice *device);
+

Gets the current NMIP4Config associated with the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the NMIP6Config or NULL if the device is not activated. [transfer none] -

device

a NMDevice

 
+
+

Returns

+

the NMIP4Config or NULL if the device is not activated.

+

[transfer none]

+
+
-

nm_device_get_dhcp6_config ()

-
NMDHCP6Config *     nm_device_get_dhcp6_config          (NMDevice *device);
-

-Gets the current NMDHCP6Config associated with the NMDevice. -

-
+

nm_device_get_dhcp4_config ()

+
NMDHCP4Config *
+nm_device_get_dhcp4_config (NMDevice *device);
+

Gets the current NMDHCP4Config associated with the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the NMDHCP6Config or NULL if the device is not activated or not -using DHCP. [transfer none] -

device

a NMDevice

 
+
+

Returns

+

the NMDHCP4Config or NULL if the device is not activated or not +using DHCP.

+

[transfer none]

+
+
-

nm_device_get_state ()

-
NMDeviceState       nm_device_get_state                 (NMDevice *device);
-

-Gets the current NMDevice state. -

-
+

nm_device_get_ip6_config ()

+
NMIP6Config *
+nm_device_get_ip6_config (NMDevice *device);
+

Gets the current NMIP6Config associated with the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the current device state

device

a NMDevice

 
+
+

Returns

+

the NMIP6Config or NULL if the device is not activated.

+

[transfer none]

+
+
-

nm_device_get_state_reason ()

-
NMDeviceState       nm_device_get_state_reason          (NMDevice *device,
-                                                         NMDeviceStateReason *reason);
-

-Gets the current NMDevice state (return value) and the reason for entering -the state (reason argument). -

-
+

nm_device_get_dhcp6_config ()

+
NMDHCP6Config *
+nm_device_get_dhcp6_config (NMDevice *device);
+

Gets the current NMDHCP6Config associated with the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - - - - - + + + + +

device :

a NMDevice -

reason :

location to store reason (NMDeviceStateReason), or NULL. [out][allow-none] -

Returns :

the current device state

device

a NMDevice

 
+
+

Returns

+

the NMDHCP6Config or NULL if the device is not activated or not +using DHCP.

+

[transfer none]

+
+
-

nm_device_get_active_connection ()

-
NMActiveConnection * nm_device_get_active_connection    (NMDevice *device);
-

-Gets the NMActiveConnection object which owns this device during activation. -

-
+

nm_device_get_state ()

+
NMDeviceState
+nm_device_get_state (NMDevice *device);
+

Gets the current NMDevice state.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the NMActiveConnection or NULL if the device is -not part of an active connection. [transfer none] -

device

a NMDevice

 
+
+

Returns

+

the current device state

+

+
+
-

nm_device_get_available_connections ()

-
const GPtrArray *   nm_device_get_available_connections (NMDevice *device);
-

-Gets the NMRemoteConnections currently known to the daemon that could -be activated on device. -

-
+

nm_device_get_state_reason ()

+
NMDeviceState
+nm_device_get_state_reason (NMDevice *device,
+                            NMDeviceStateReason *reason);
+

Gets the current NMDevice state (return value) and the reason for entering +the state (reason + argument).

+
+

Parameters

+
--+++ - - + + + - - + + +

device :

a NMDevice -

device

a NMDevice

 

Returns :

the GPtrArray -containing NMRemoteConnections. This is the internal copy used by -the connection, and must not be modified. [element-type NMClient.RemoteConnection] -

reason

location to store reason (NMDeviceStateReason), or NULL.

[out][allow-none]
+
+
+

Returns

+

the current device state

+

+
+ +
+
+

nm_device_get_active_connection ()

+
NMActiveConnection *
+nm_device_get_active_connection (NMDevice *device);
+

Gets the NMActiveConnection object which owns this device during activation.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDevice

 
+
+
+

Returns

+

the NMActiveConnection or NULL if the device is +not part of an active connection.

+

[transfer none]

+
+
+
+
+

nm_device_get_available_connections ()

+
const GPtrArray *
+nm_device_get_available_connections (NMDevice *device);
+

Gets the NMRemoteConnections currently known to the daemon that could +be activated on device +.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDevice

 
+
+
+

Returns

+

the GPtrArray +containing NMRemoteConnections. This is the internal copy used by +the connection, and must not be modified.

+

[element-type NMClient.RemoteConnection]

+

Since 0.9.8


-

nm_device_get_product ()

-
const char *        nm_device_get_product               (NMDevice *device);
-

-Gets the product string of the NMDevice. -

-
+

nm_device_get_product ()

+
const char *
+nm_device_get_product (NMDevice *device);
+

Gets the product string of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the product name of the device. This is the internal string used by the -device, and must not be modified.

device

a NMDevice

 
+
+

Returns

+

the product name of the device. This is the internal string used by the +device, and must not be modified.

+

+
+
-

nm_device_get_vendor ()

-
const char *        nm_device_get_vendor                (NMDevice *device);
-

-Gets the vendor string of the NMDevice. -

-
+

nm_device_get_vendor ()

+
const char *
+nm_device_get_vendor (NMDevice *device);
+

Gets the vendor string of the NMDevice.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDevice -

Returns :

the vendor name of the device. This is the internal string used by the -device, and must not be modified.

device

a NMDevice

 
+
+

Returns

+

the vendor name of the device. This is the internal string used by the +device, and must not be modified.

+

+
+
-

NMDeviceDeactivateFn ()

-
void                (*NMDeviceDeactivateFn)             (NMDevice *device,
-                                                         GError *error,
-                                                         gpointer user_data);
+

NMDeviceDeactivateFn ()

+
void
+(*NMDeviceDeactivateFn) (NMDevice *device,
+                         GError *error,
+                         gpointer user_data);


-

nm_device_disconnect ()

-
void                nm_device_disconnect                (NMDevice *device,
-                                                         NMDeviceDeactivateFn callback,
-                                                         gpointer user_data);
-

-Disconnects the device if currently connected, and prevents the device from +

nm_device_disconnect ()

+
void
+nm_device_disconnect (NMDevice *device,
+                      NMDeviceDeactivateFn callback,
+                      gpointer user_data);
+

Disconnects the device if currently connected, and prevents the device from automatically connecting to networks until the next manual network connection -request. -

-
+request.

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + +

device :

a NMDevice -

device

a NMDevice

 

callback :

callback to be called when disconnect -operation completes. [scope async][allow-none] -

callback

callback to be called when disconnect +operation completes.

[scope async][allow-none]

user_data :

caller-specific data passed to callback. [closure] -

user_data

caller-specific data passed to callback +.

[closure]
+
-

nm_device_filter_connections ()

-
GSList *            nm_device_filter_connections        (NMDevice *device,
-                                                         const GSList *connections);
-

-Filters a given list of connections for a given NMDevice object and return +

nm_device_filter_connections ()

+
GSList *
+nm_device_filter_connections (NMDevice *device,
+                              const GSList *connections);
+

Filters a given list of connections for a given NMDevice object and return connections which may be activated with the device. For example if device + is a WiFi device that supports only WEP encryption, the returned list will -contain any WiFi connections in connections that allow connection to +contain any WiFi connections in connections + that allow connection to unencrypted or WEP-enabled SSIDs. The returned list will not contain Ethernet, Bluetooth, WiFi WPA connections, or any other connection that is incompatible with the device. To get the full list of connections see -nm_remote_settings_list_connections(). -

-
+nm_remote_settings_list_connections().

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

device :

an NMDevice to filter connections for

connections :

a list of NMConnection objects to filter. [element-type NetworkManager.Connection] -

device

an NMDevice to filter connections for

 

Returns :

a -list of NMConnection objects that could be activated with the given device. -The elements of the list are owned by their creator and should not be freed -by the caller, but the returned list itself is owned by the caller and should -be freed with g_slist_free() when it is no longer required. [transfer container][element-type NetworkManager.Connection] -

connections

a list of NMConnection objects to filter.

[element-type NetworkManager.Connection]
+
+

Returns

+

a +list of NMConnection objects that could be activated with the given device +. +The elements of the list are owned by their creator and should not be freed +by the caller, but the returned list itself is owned by the caller and should +be freed with g_slist_free() when it is no longer required.

+

[transfer container][element-type NetworkManager.Connection]

+
+
-

nm_device_connection_valid ()

-
gboolean            nm_device_connection_valid          (NMDevice *device,
-                                                         NMConnection *connection);
-

-Validates a given connection for a given NMDevice object and returns +

nm_device_connection_valid ()

+
gboolean
+nm_device_connection_valid (NMDevice *device,
+                            NMConnection *connection);
+

Validates a given connection for a given NMDevice object and returns whether the connection may be activated with the device. For example if -device is a WiFi device that supports only WEP encryption, the connection +device + is a WiFi device that supports only WEP encryption, the connection will only be valid if it is a WiFi connection which describes a WEP or open network, and will not be valid if it describes a WPA network, or if it is an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the -device. -

-
+device.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

device :

an NMDevice to validate connection against

connection :

an NMConnection to validate against device -

device

an NMDevice to validate connection +against

 

Returns :

-TRUE if the connection may be activated with this device, FALSE -if is incompatible with the device's capabilities and characteristics.

connection

an NMConnection to validate against device +

 
+
+

Returns

+

TRUE if the connection may be activated with this device, FALSE +if is incompatible with the device's capabilities and characteristics.

+

+
+
-

nm_device_connection_compatible ()

-
gboolean            nm_device_connection_compatible     (NMDevice *device,
-                                                         NMConnection *connection,
-                                                         GError **error);
-

-Validates a given connection for a given NMDevice object and returns +

nm_device_connection_compatible ()

+
gboolean
+nm_device_connection_compatible (NMDevice *device,
+                                 NMConnection *connection,
+                                 GError **error);
+

Validates a given connection for a given NMDevice object and returns whether the connection may be activated with the device. For example if -device is a WiFi device that supports only WEP encryption, the connection +device + is a WiFi device that supports only WEP encryption, the connection will only be valid if it is a WiFi connection which describes a WEP or open network, and will not be valid if it describes a WPA network, or if it is an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the -device. -

-

-This function does the same as nm_device_connection_valid(), i.e. checking +device.

+

This function does the same as nm_device_connection_valid(), i.e. checking compatibility of the given device and connection. But, in addition, it sets -GError when FALSE is returned. -

-
+GError when FALSE is returned.

+
+

Parameters

+
--+++ - - + + + - - - - - - + + + - - + + +

device :

an NMDevice to validate connection against

device

an NMDevice to validate connection +against

 

connection :

an NMConnection to validate against device -

error :

return location for a GError, or NULL -

connection

an NMConnection to validate against device +

 

Returns :

-TRUE if the connection may be activated with this device, FALSE -if is incompatible with the device's capabilities and characteristics.

error

return location for a GError, or NULL

 
+
+

Returns

+

TRUE if the connection may be activated with this device, FALSE +if is incompatible with the device's capabilities and characteristics.

+

+
+
-

Property Details

+

Types and Values

-

The "active-connection" property

-
  "active-connection"        NMActiveConnection*   : Read
+

NM_DEVICE_DEVICE_TYPE

+
#define NM_DEVICE_DEVICE_TYPE "device-type"
+

-The NMActiveConnection object that "owns" this device during activation.


-

The "autoconnect" property

-
  "autoconnect"              gboolean              : Read / Write
+

NM_DEVICE_UDI

+
#define NM_DEVICE_UDI "udi"
+

-Whether the device can auto-activate a connection.

-

Default value: TRUE


-

The "available-connections" property

-
  "available-connections"    NMObjectArray*        : Read
+

NM_DEVICE_INTERFACE

+
#define NM_DEVICE_INTERFACE "interface"
+

-The available connections (NMRemoteConnection) of the device

-

Since 0.9.8


-

The "capabilities" property

-
  "capabilities"             guint                 : Read
+

NM_DEVICE_IP_INTERFACE

+
#define NM_DEVICE_IP_INTERFACE "ip-interface"
+

-The capabilities of the device.

-

Default value: 0


-

The "device-type" property

-
  "device-type"              guint                 : Read
+

NM_DEVICE_DRIVER

+
#define NM_DEVICE_DRIVER "driver"
+

-The numeric type of the device.

-

Default value: 0


-

The "dhcp4-config" property

-
  "dhcp4-config"             NMDHCP4Config*        : Read
+

NM_DEVICE_DRIVER_VERSION

+
#define NM_DEVICE_DRIVER_VERSION "driver-version"
+

-The NMDHCP4Config of the device.


-

The "dhcp6-config" property

-
  "dhcp6-config"             NMDHCP6Config*        : Read
+

NM_DEVICE_FIRMWARE_VERSION

+
#define NM_DEVICE_FIRMWARE_VERSION "firmware-version"
+

-The NMDHCP6Config of the device.


-

The "driver" property

-
  "driver"                   gchar*                : Read
+

NM_DEVICE_CAPABILITIES

+
#define NM_DEVICE_CAPABILITIES "capabilities"
+

-The driver of the device.

-

Default value: NULL


-

The "driver-version" property

-
  "driver-version"           gchar*                : Read
+

NM_DEVICE_MANAGED

+
#define NM_DEVICE_MANAGED "managed"
+

-The version of the device driver.

-

Default value: NULL


-

The "firmware-missing" property

-
  "firmware-missing"         gboolean              : Read
+

NM_DEVICE_AUTOCONNECT

+
#define NM_DEVICE_AUTOCONNECT "autoconnect"
+

-When TRUE indicates the device is likely missing firmware required -for its operation.

-

Default value: FALSE


-

The "firmware-version" property

-
  "firmware-version"         gchar*                : Read
+

NM_DEVICE_FIRMWARE_MISSING

+
#define NM_DEVICE_FIRMWARE_MISSING "firmware-missing"
+

-The firmware version of the device.

-

Default value: NULL


-

The "interface" property

-
  "interface"                gchar*                : Read
+

NM_DEVICE_IP4_CONFIG

+
#define NM_DEVICE_IP4_CONFIG "ip4-config"
+

-The interface of the device.

-

Default value: NULL


-

The "ip-interface" property

-
  "ip-interface"             gchar*                : Read
+

NM_DEVICE_DHCP4_CONFIG

+
#define NM_DEVICE_DHCP4_CONFIG "dhcp4-config"
+

-The IP interface of the device which should be used for all IP-related -operations like addressing and routing.

-

Default value: NULL


-

The "ip4-config" property

-
  "ip4-config"               NMIP4Config*          : Read
+

NM_DEVICE_IP6_CONFIG

+
#define NM_DEVICE_IP6_CONFIG "ip6-config"
+

-The NMIP4Config of the device.


-

The "ip6-config" property

-
  "ip6-config"               NMIP6Config*          : Read
+

NM_DEVICE_DHCP6_CONFIG

+
#define NM_DEVICE_DHCP6_CONFIG "dhcp6-config"
+

-The NMIP6Config of the device.


-

The "managed" property

-
  "managed"                  gboolean              : Read
+

NM_DEVICE_STATE

+
#define NM_DEVICE_STATE "state"
+

-Whether the device is managed by NetworkManager.

-

Default value: FALSE


-

The "product" property

-
  "product"                  gchar*                : Read
+

NM_DEVICE_STATE_REASON

+
#define NM_DEVICE_STATE_REASON "state-reason"
+

-The product string of the device.

-

Default value: NULL


-

The "state" property

-
  "state"                    guint                 : Read
+

NM_DEVICE_ACTIVE_CONNECTION

+
#define NM_DEVICE_ACTIVE_CONNECTION "active-connection"
+

-The state of the device.

-

Default value: 0


-

The "state-reason" property

-
  "state-reason"             GValueArray_guint+guint_*  : Read
+

NM_DEVICE_AVAILABLE_CONNECTIONS

+
#define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections"
+

-The state and reason of the device.


-

The "udi" property

-
  "udi"                      gchar*                : Read
+

NM_DEVICE_VENDOR

+
#define NM_DEVICE_VENDOR "vendor"
+

-An operating-system specific device hardware identifier; this is not -unique to a specific hardware device across reboots or hotplugs. It -is an opaque string which for some device types (Bluetooth, Modem) -contains an identifier provided by the underlying hardware service daemon -such as Bluez or ModemManager, and clients can use this property to -request more information about the device from those services.

-

Default value: NULL


-

The "vendor" property

-
  "vendor"                   gchar*                : Read
+

NM_DEVICE_PRODUCT

+
#define NM_DEVICE_PRODUCT "product"
+

-The vendor string of the device.

+
+
+
+

Property Details

+
+

The “active-connection” property

+
  “active-connection”        NMActiveConnection *
+

Active Connection.

+

Flags: Read

+
+
+
+

The “autoconnect” property

+
  “autoconnect”              gboolean
+

Autoconnect.

+

Flags: Read / Write

+

Default value: TRUE

+
+
+
+

The “available-connections” property

+
  “available-connections”    NMObjectArray *
+

Available Connections.

+

Flags: Read

+

Since 0.9.8

+
+
+
+

The “capabilities” property

+
  “capabilities”             guint
+

Capabilities.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “device-type” property

+
  “device-type”              guint
+

Numeric device type (ie ethernet, wifi, etc).

+

Flags: Read

+

Default value: 0

+
+
+
+

The “dhcp4-config” property

+
  “dhcp4-config”             NMDHCP4Config *
+

DHCP4 Config.

+

Flags: Read

+
+
+
+

The “dhcp6-config” property

+
  “dhcp6-config”             NMDHCP6Config *
+

DHCP6 Config.

+

Flags: Read

+
+
+
+

The “driver” property

+
  “driver”                   gchar *
+

Driver.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “driver-version” property

+
  “driver-version”           gchar *
+

Driver Version.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “firmware-missing” property

+
  “firmware-missing”         gboolean
+

Firmware missing.

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “firmware-version” property

+
  “firmware-version”         gchar *
+

Firmware Version.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “interface” property

+
  “interface”                gchar *
+

Interface name.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “ip-interface” property

+
  “ip-interface”             gchar *
+

IP Interface name.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “ip4-config” property

+
  “ip4-config”               NMIP4Config *
+

IP4 Config.

+

Flags: Read

+
+
+
+

The “ip6-config” property

+
  “ip6-config”               NMIP6Config *
+

IP6 Config.

+

Flags: Read

+
+
+
+

The “managed” property

+
  “managed”                  gboolean
+

Managed.

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “product” property

+
  “product”                  gchar *
+

Product string.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “state” property

+
  “state”                    guint
+

State.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “state-reason” property

+
  “state-reason”             GValueArray_guint+guint_*
+

StateReason.

+

Flags: Read

+
+
+
+

The “udi” property

+
  “udi”                      gchar *
+

Unique Device Identifier.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “vendor” property

+
  “vendor”                   gchar *
+

Vendor string.

+

Flags: Read

Default value: NULL

Signal Details

-

The "state-changed" signal

-
void                user_function                      (NMDevice *device,
-                                                        guint     new_state,
-                                                        guint     old_state,
-                                                        guint     reason,
-                                                        gpointer  user_data)      : Run First
-

-Notifies the state change of a NMDevice. -

-
---- - - - - - - - - - - - - - - - - - - - - - - -

device :

the device object that received the signal

new_state :

the new state of the device

old_state :

the previous state of the device

reason :

the reason describing the state change

user_data :

user data set when the signal handler was connected.
+

The “state-changed” signal

+
void
+user_function (NMDevice *device,
+               guint     new_state,
+               guint     old_state,
+               guint     reason,
+               gpointer  user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceAdsl.html b/docs/libnm-glib/html/NMDeviceAdsl.html index 8f20351f..fef737a4 100644 --- a/docs/libnm-glib/html/NMDeviceAdsl.html +++ b/docs/libnm-glib/html/NMDeviceAdsl.html @@ -2,36 +2,28 @@ -NMDeviceAdsl +libnm-glib Reference Manual: NMDeviceAdsl - + - - - - - - - - - - + + + + + + +
@@ -39,40 +31,87 @@

NMDeviceAdsl

NMDeviceAdsl

- +
-
-

Synopsis

-
enum                NMDeviceAdslError;
-#define             NM_DEVICE_ADSL_ERROR
-GQuark              nm_device_adsl_error_quark          (void);
-#define             NM_DEVICE_ADSL_CARRIER
-                    NMDeviceAdsl;
-                    NMDeviceAdslClass;
-GObject *           nm_device_adsl_new                  (DBusGConnection *connection,
-                                                         const char *path);
-gboolean            nm_device_adsl_get_carrier          (NMDeviceAdsl *device);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GQuark + +nm_device_adsl_error_quark () +
+GObject * + +nm_device_adsl_new () +
+gboolean + +nm_device_adsl_get_carrier () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceAdsl
-
+

Properties

+
+++++ + + + + + +
gbooleancarrierRead
-

Implemented Interfaces

-

-NMDeviceAdsl implements - GInitable and GAsyncInitable.

+

Types and Values

+
++++ + + + + + + + + + + + + + + +
enumNMDeviceAdslError
#defineNM_DEVICE_ADSL_ERROR
#defineNM_DEVICE_ADSL_CARRIER
-

Properties

-
-  "carrier"                  gboolean              : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceAdsl
 
@@ -81,170 +120,149 @@ NMDeviceAdsl implements

-

Details

+

Functions

-

enum NMDeviceAdslError

-
typedef enum {
-	NM_DEVICE_ADSL_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
-	NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION,     /*< nick=NotAdslConnection >*/
-	NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION, /*< nick=InvalidAdslConnection >*/
-} NMDeviceAdslError;
-
-
+

nm_device_adsl_error_quark ()

+
GQuark
+nm_device_adsl_error_quark (void);
+

Registers an error quark for NMDeviceAdsl if necessary.

+
+

Returns

+

the error quark used for NMDeviceAdsl errors.

+

+
+ +
+
+

nm_device_adsl_new ()

+
GObject *
+nm_device_adsl_new (DBusGConnection *connection,
+                    const char *path);
+

Creates a new NMDeviceAdsl.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

NM_DEVICE_ADSL_ERROR_UNKNOWN

unknown or unclassified error -

NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION

the connection was not of ADSL type -

connection

the DBusGConnection

 

NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION

the ADSL connection was invalid -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_ADSL_ERROR

-
#define NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+

-

nm_device_adsl_error_quark ()

-
GQuark              nm_device_adsl_error_quark          (void);
-

-Registers an error quark for NMDeviceAdsl if necessary. -

-
+

nm_device_adsl_get_carrier ()

+
gboolean
+nm_device_adsl_get_carrier (NMDeviceAdsl *device);
+

Whether the device has carrier.

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceAdsl errors.

device

a NMDeviceAdsl

 
-
-
-

NM_DEVICE_ADSL_CARRIER

-
#define NM_DEVICE_ADSL_CARRIER "carrier"
-
-

-

+
+

Returns

+

TRUE if the device has carrier

+

-
-
-

NMDeviceAdsl

-
typedef struct _NMDeviceAdsl NMDeviceAdsl;
-

-

-
-
-

NMDeviceAdslClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceAdslClass;
-
-

-

-
+
+

Types and Values

-

nm_device_adsl_new ()

-
GObject *           nm_device_adsl_new                  (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceAdsl. -

-
+

enum NMDeviceAdslError

+
+

Members

+
--+++ - - + + - - + + + - - + +

connection :

the DBusGConnection +

NM_DEVICE_ADSL_ERROR_UNKNOWN

+

unknown or unclassified error

 

path :

the DBus object path of the device

NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION

+

the connection was not of ADSL type

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION

+

the ADSL connection was invalid

 
+

-

nm_device_adsl_get_carrier ()

-
gboolean            nm_device_adsl_get_carrier          (NMDeviceAdsl *device);
+

NM_DEVICE_ADSL_ERROR

+
#define NM_DEVICE_ADSL_ERROR nm_device_adsl_error_quark ()
+
+

+

+
+
+
+

NM_DEVICE_ADSL_CARRIER

+
#define NM_DEVICE_ADSL_CARRIER "carrier"
+

-Whether the device has carrier.

-
---- - - - - - - - - - - -

device :

a NMDeviceAdsl -

Returns :

-TRUE if the device has carrier

Property Details

-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

+

The “carrier” property

+
  “carrier”                  gboolean
+

Carrier.

+

Flags: Read

Default value: FALSE

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceBond.html b/docs/libnm-glib/html/NMDeviceBond.html index 00223fb2..d86a8f04 100644 --- a/docs/libnm-glib/html/NMDeviceBond.html +++ b/docs/libnm-glib/html/NMDeviceBond.html @@ -2,36 +2,28 @@ -NMDeviceBond +libnm-glib Reference Manual: NMDeviceBond - + - - - - - - - - - - + + + + + + +
@@ -39,46 +31,123 @@

NMDeviceBond

NMDeviceBond

- +
-
-

Synopsis

-
enum                NMDeviceBondError;
-#define             NM_DEVICE_BOND_ERROR
-GQuark              nm_device_bond_error_quark          (void);
-#define             NM_DEVICE_BOND_HW_ADDRESS
-#define             NM_DEVICE_BOND_CARRIER
-#define             NM_DEVICE_BOND_SLAVES
-                    NMDeviceBond;
-                    NMDeviceBondClass;
-GObject *           nm_device_bond_new                  (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_bond_get_hw_address       (NMDeviceBond *device);
-gboolean            nm_device_bond_get_carrier          (NMDeviceBond *device);
-const GPtrArray *   nm_device_bond_get_slaves           (NMDeviceBond *device);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
+GQuark + +nm_device_bond_error_quark () +
+GObject * + +nm_device_bond_new () +
const char * + +nm_device_bond_get_hw_address () +
+gboolean + +nm_device_bond_get_carrier () +
const GPtrArray * + +nm_device_bond_get_slaves () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceBond
-
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + +
gbooleancarrierRead
+gchar *hw-addressRead
+NMObjectArray *slavesRead
-

Implemented Interfaces

-

-NMDeviceBond implements - GInitable and GAsyncInitable.

+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
enumNMDeviceBondError
#defineNM_DEVICE_BOND_ERROR
#defineNM_DEVICE_BOND_HW_ADDRESS
#defineNM_DEVICE_BOND_CARRIER
#defineNM_DEVICE_BOND_SLAVES
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "slaves"                   NMObjectArray*        : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceBond
 
@@ -87,265 +156,248 @@ NMDeviceBond implements

-

Details

+

Functions

-

enum NMDeviceBondError

-
typedef enum {
-	NM_DEVICE_BOND_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
-	NM_DEVICE_BOND_ERROR_NOT_BOND_CONNECTION,     /*< nick=NotBondConnection >*/
-	NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION, /*< nick=InvalidBondConnection >*/
-	NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH,      /*< nick=InterfaceMismatch >*/
-} NMDeviceBondError;
-
-
+

nm_device_bond_error_quark ()

+
GQuark
+nm_device_bond_error_quark (void);
+

Registers an error quark for NMDeviceBond if necessary.

+
+

Returns

+

the error quark used for NMDeviceBond errors.

+

+
+ +
+
+

nm_device_bond_new ()

+
GObject *
+nm_device_bond_new (DBusGConnection *connection,
+                    const char *path);
+

Creates a new NMDeviceBond.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + - - + + +

NM_DEVICE_BOND_ERROR_UNKNOWN

unknown or unclassified error -

NM_DEVICE_BOND_ERROR_NOT_BOND_CONNECTION

the connection was not of bond type -

NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION

the bond connection was invalid -

connection

the DBusGConnection

 

NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_BOND_ERROR

-
#define NM_DEVICE_BOND_ERROR nm_device_bond_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+

-

nm_device_bond_error_quark ()

-
GQuark              nm_device_bond_error_quark          (void);
-

-Registers an error quark for NMDeviceBond if necessary. -

-
+

nm_device_bond_get_hw_address ()

+
const char *
+nm_device_bond_get_hw_address (NMDeviceBond *device);
+

Gets the hardware (MAC) address of the NMDeviceBond

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceBond errors.

device

a NMDeviceBond

 
-
-
-

NM_DEVICE_BOND_HW_ADDRESS

-
#define NM_DEVICE_BOND_HW_ADDRESS  "hw-address"
-
-

-

+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

-
-
-

NM_DEVICE_BOND_CARRIER

-
#define NM_DEVICE_BOND_CARRIER     "carrier"
-
-

-


-

NM_DEVICE_BOND_SLAVES

-
#define NM_DEVICE_BOND_SLAVES      "slaves"
-
-

-

+

nm_device_bond_get_carrier ()

+
gboolean
+nm_device_bond_get_carrier (NMDeviceBond *device);
+

Whether the device has carrier.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceBond

 
+
+
+

Returns

+

TRUE if the device has carrier

+

-
-
-

NMDeviceBond

-
typedef struct _NMDeviceBond NMDeviceBond;
-

-


-

NMDeviceBondClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceBondClass;
-
-

-

+

nm_device_bond_get_slaves ()

+
const GPtrArray *
+nm_device_bond_get_slaves (NMDeviceBond *device);
+

Gets the devices currently slaved to device +.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceBond

 
-
+
+

Returns

+

the GPtrArray containing +NMDevices that are slaves of device +. This is the internal +copy used by the device, and must not be modified.

+

[element-type NMClient.Device]

+
+

Since 0.9.6.4

+
+
+
+

Types and Values

-

nm_device_bond_new ()

-
GObject *           nm_device_bond_new                  (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceBond. -

-
+

enum NMDeviceBondError

+
+

Members

+
--+++ - - + + + + + + + - - + + + - - + +

connection :

the DBusGConnection +

NM_DEVICE_BOND_ERROR_UNKNOWN

+

unknown or unclassified error

+
 

NM_DEVICE_BOND_ERROR_NOT_BOND_CONNECTION

+

the connection was not of bond type

 

path :

the DBus object path of the device

NM_DEVICE_BOND_ERROR_INVALID_BOND_CONNECTION

+

the bond connection was invalid

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_BOND_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

 
+

-

nm_device_bond_get_hw_address ()

-
const char *        nm_device_bond_get_hw_address       (NMDeviceBond *device);
+

NM_DEVICE_BOND_ERROR

+
#define NM_DEVICE_BOND_ERROR nm_device_bond_error_quark ()
+

-Gets the hardware (MAC) address of the NMDeviceBond

-
---- - - - - - - - - - - -

device :

a NMDeviceBond -

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.

-

nm_device_bond_get_carrier ()

-
gboolean            nm_device_bond_get_carrier          (NMDeviceBond *device);
+

NM_DEVICE_BOND_HW_ADDRESS

+
#define NM_DEVICE_BOND_HW_ADDRESS  "hw-address"
+

-Whether the device has carrier.

-
---- - - - - - - - - - - -

device :

a NMDeviceBond -

Returns :

-TRUE if the device has carrier

-

nm_device_bond_get_slaves ()

-
const GPtrArray *   nm_device_bond_get_slaves           (NMDeviceBond *device);
+

NM_DEVICE_BOND_CARRIER

+
#define NM_DEVICE_BOND_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_BOND_SLAVES

+
#define NM_DEVICE_BOND_SLAVES      "slaves"
+

-Gets the devices currently slaved to device.

-
---- - - - - - - - - - - -

device :

a NMDeviceBond -

Returns :

the GPtrArray containing -NMDevices that are slaves of device. This is the internal -copy used by the device, and must not be modified. [element-type NMClient.Device] -
-

Since 0.9.6.4

Property Details

-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

+

The “carrier” property

+
  “carrier”                  gboolean
+

Carrier.

+

Flags: Read

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

-The hardware (MAC) address of the device. -

+

The “hw-address” property

+
  “hw-address”               gchar *
+

Currently set hardware MAC address.

+

Flags: Read

Default value: NULL


-

The "slaves" property

-
  "slaves"                   NMObjectArray*        : Read
-

-The devices (NMDevice) slaved to the bond device. -

+

The “slaves” property

+
  “slaves”                   NMObjectArray *
+

Slaves.

+

Flags: Read

Since 0.9.8

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceBridge.html b/docs/libnm-glib/html/NMDeviceBridge.html index a7f2df30..6ef3f5e4 100644 --- a/docs/libnm-glib/html/NMDeviceBridge.html +++ b/docs/libnm-glib/html/NMDeviceBridge.html @@ -2,36 +2,28 @@ -NMDeviceBridge +libnm-glib Reference Manual: NMDeviceBridge - + - - - - - - - - - - + + + + + + +
@@ -39,46 +31,123 @@

NMDeviceBridge

NMDeviceBridge

- +
-
-

Synopsis

-
enum                NMDeviceBridgeError;
-#define             NM_DEVICE_BRIDGE_ERROR
-GQuark              nm_device_bridge_error_quark        (void);
-#define             NM_DEVICE_BRIDGE_HW_ADDRESS
-#define             NM_DEVICE_BRIDGE_CARRIER
-#define             NM_DEVICE_BRIDGE_SLAVES
-                    NMDeviceBridge;
-                    NMDeviceBridgeClass;
-GObject *           nm_device_bridge_new                (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_bridge_get_hw_address     (NMDeviceBridge *device);
-gboolean            nm_device_bridge_get_carrier        (NMDeviceBridge *device);
-const GPtrArray *   nm_device_bridge_get_slaves         (NMDeviceBridge *device);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
+GQuark + +nm_device_bridge_error_quark () +
+GObject * + +nm_device_bridge_new () +
const char * + +nm_device_bridge_get_hw_address () +
+gboolean + +nm_device_bridge_get_carrier () +
const GPtrArray * + +nm_device_bridge_get_slaves () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceBridge
-
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + +
gbooleancarrierRead
+gchar *hw-addressRead
+NMObjectArray *slavesRead
-

Implemented Interfaces

-

-NMDeviceBridge implements - GInitable and GAsyncInitable.

+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
enumNMDeviceBridgeError
#defineNM_DEVICE_BRIDGE_ERROR
#defineNM_DEVICE_BRIDGE_HW_ADDRESS
#defineNM_DEVICE_BRIDGE_CARRIER
#defineNM_DEVICE_BRIDGE_SLAVES
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "slaves"                   NMObjectArray*        : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceBridge
 
@@ -87,272 +156,255 @@ NMDeviceBridge implements

-

Details

+

Functions

-

enum NMDeviceBridgeError

-
typedef enum {
-	NM_DEVICE_BRIDGE_ERROR_UNKNOWN = 0,               /*< nick=UnknownError >*/
-	NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION,     /*< nick=NotBridgeConnection >*/
-	NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION, /*< nick=InvalidBridgeConnection >*/
-	NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH,        /*< nick=InterfaceMismatch >*/
-} NMDeviceBridgeError;
-
-
+

nm_device_bridge_error_quark ()

+
GQuark
+nm_device_bridge_error_quark (void);
+

Registers an error quark for NMDeviceBridge if necessary.

+
+

Returns

+

the error quark used for NMDeviceBridge errors.

+

+
+

Since 0.9.8

+ +
+
+

nm_device_bridge_new ()

+
GObject *
+nm_device_bridge_new (DBusGConnection *connection,
+                      const char *path);
+

Creates a new NMDeviceBridge.

+
+

Parameters

+
--+++ - - - - - - + + + - - - - - - + + +

NM_DEVICE_BRIDGE_ERROR_UNKNOWN

unknown or unclassified error -

NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION

the connection was not of bridge type -

connection

the DBusGConnection

 

NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION

the bridge connection was invalid -

NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched -

path

the DBus object path of the device

 
-

Since 0.9.8

-
-
-

NM_DEVICE_BRIDGE_ERROR

-
#define NM_DEVICE_BRIDGE_ERROR nm_device_bridge_error_quark ()
-
-

-

+
+

Returns

+

a new device.

+

[transfer full]

+
+

Since 0.9.8


-

nm_device_bridge_error_quark ()

-
GQuark              nm_device_bridge_error_quark        (void);
-

-Registers an error quark for NMDeviceBridge if necessary. -

-
+

nm_device_bridge_get_hw_address ()

+
const char *
+nm_device_bridge_get_hw_address (NMDeviceBridge *device);
+

Gets the hardware (MAC) address of the NMDeviceBridge

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceBridge errors.

device

a NMDeviceBridge

 
+
+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

+

Since 0.9.8


-

NM_DEVICE_BRIDGE_HW_ADDRESS

-
#define NM_DEVICE_BRIDGE_HW_ADDRESS  "hw-address"
-
-

-

+

nm_device_bridge_get_carrier ()

+
gboolean
+nm_device_bridge_get_carrier (NMDeviceBridge *device);
+

Whether the device has carrier.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceBridge

 
-
-
-

NM_DEVICE_BRIDGE_CARRIER

-
#define NM_DEVICE_BRIDGE_CARRIER     "carrier"
-
-

-

+
+

Returns

+

TRUE if the device has carrier

+

-
-
-

NM_DEVICE_BRIDGE_SLAVES

-
#define NM_DEVICE_BRIDGE_SLAVES      "slaves"
-
-

-

+

Since 0.9.8


-

NMDeviceBridge

-
typedef struct _NMDeviceBridge NMDeviceBridge;
-

-

+

nm_device_bridge_get_slaves ()

+
const GPtrArray *
+nm_device_bridge_get_slaves (NMDeviceBridge *device);
+

Gets the devices currently slaved to device +.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceBridge

 
-
-
-

NMDeviceBridgeClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceBridgeClass;
-
-

-

+
+

Returns

+

the GPtrArray containing +NMDevices that are slaves of device +. This is the internal +copy used by the device, and must not be modified.

+

[element-type NMClient.Device]

-
+

Since 0.9.8

+
+
+
+

Types and Values

-

nm_device_bridge_new ()

-
GObject *           nm_device_bridge_new                (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceBridge. -

-
+

enum NMDeviceBridgeError

+
+

Members

+
--+++ - - + + + + + + + - - + + + - - + +

connection :

the DBusGConnection +

NM_DEVICE_BRIDGE_ERROR_UNKNOWN

+

unknown or unclassified error

+
 

NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION

+

the connection was not of bridge type

 

path :

the DBus object path of the device

NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION

+

the bridge connection was invalid

+
 

Returns :

a new device. [transfer full] +

NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

 
+

Since 0.9.8


-

nm_device_bridge_get_hw_address ()

-
const char *        nm_device_bridge_get_hw_address     (NMDeviceBridge *device);
+

NM_DEVICE_BRIDGE_ERROR

+
#define NM_DEVICE_BRIDGE_ERROR nm_device_bridge_error_quark ()
+

-Gets the hardware (MAC) address of the NMDeviceBridge

-
---- - - - - - - - - - - -

device :

a NMDeviceBridge -

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.
-

Since 0.9.8


-

nm_device_bridge_get_carrier ()

-
gboolean            nm_device_bridge_get_carrier        (NMDeviceBridge *device);
+

NM_DEVICE_BRIDGE_HW_ADDRESS

+
#define NM_DEVICE_BRIDGE_HW_ADDRESS  "hw-address"
+

-Whether the device has carrier.

-
---- - - - - - - - - - - -

device :

a NMDeviceBridge -

Returns :

-TRUE if the device has carrier
-

Since 0.9.8


-

nm_device_bridge_get_slaves ()

-
const GPtrArray *   nm_device_bridge_get_slaves         (NMDeviceBridge *device);
+

NM_DEVICE_BRIDGE_CARRIER

+
#define NM_DEVICE_BRIDGE_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_BRIDGE_SLAVES

+
#define NM_DEVICE_BRIDGE_SLAVES      "slaves"
+

-Gets the devices currently slaved to device.

-
---- - - - - - - - - - - -

device :

a NMDeviceBridge -

Returns :

the GPtrArray containing -NMDevices that are slaves of device. This is the internal -copy used by the device, and must not be modified. [element-type NMClient.Device] -
-

Since 0.9.8

Property Details

-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

+

The “carrier” property

+
  “carrier”                  gboolean
+

Carrier.

+

Flags: Read

Default value: FALSE

Since 0.9.8


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

-The hardware (MAC) address of the device. -

+

The “hw-address” property

+
  “hw-address”               gchar *
+

Currently set hardware MAC address.

+

Flags: Read

Default value: NULL

Since 0.9.8


-

The "slaves" property

-
  "slaves"                   NMObjectArray*        : Read
-

-The devices (NMDevice) slaved to the bridge device. -

+

The “slaves” property

+
  “slaves”                   NMObjectArray *
+

Slaves.

+

Flags: Read

Since 0.9.8

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceBt.html b/docs/libnm-glib/html/NMDeviceBt.html index e3a59fc7..e951a85a 100644 --- a/docs/libnm-glib/html/NMDeviceBt.html +++ b/docs/libnm-glib/html/NMDeviceBt.html @@ -2,36 +2,28 @@ -NMDeviceBt +libnm-glib Reference Manual: NMDeviceBt - + - - - - - - - - - - + + + + + + +
@@ -39,321 +31,382 @@

NMDeviceBt

NMDeviceBt

- +
-
-

Synopsis

-
enum                NMDeviceBtError;
-#define             NM_DEVICE_BT_ERROR
-GQuark              nm_device_bt_error_quark            (void);
-#define             NM_DEVICE_BT_HW_ADDRESS
-#define             NM_DEVICE_BT_NAME
-#define             NM_DEVICE_BT_CAPABILITIES
-                    NMDeviceBt;
-                    NMDeviceBtClass;
-GObject *           nm_device_bt_new                    (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_bt_get_hw_address         (NMDeviceBt *device);
-const char *        nm_device_bt_get_name               (NMDeviceBt *device);
-NMBluetoothCapabilities nm_device_bt_get_capabilities   (NMDeviceBt *device);
-
-
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceBt
-
-
-
-

Implemented Interfaces

-

-NMDeviceBt implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "bt-capabilities"          guint                 : Read
-  "hw-address"               gchar*                : Read
-  "name"                     gchar*                : Read
-
-
-
-

Description

-

-

-
-
-

Details

-
-

enum NMDeviceBtError

-
typedef enum {
-	NM_DEVICE_BT_ERROR_UNKNOWN = 0,           /*< nick=UnknownError >*/
-	NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION,     /*< nick=NotBtConnection >*/
-	NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION, /*< nick=InvalidBtConnection >*/
-	NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC,    /*< nick=InvalidDeviceMac >*/
-	NM_DEVICE_BT_ERROR_MAC_MISMATCH,          /*< nick=MacMismatch >*/
-	NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS,   /*< nick=MissingDeviceCaps >*/
-} NMDeviceBtError;
-
-
+

Functions

+
--++ - - - - - - - - + - - + - - + - - +

NM_DEVICE_BT_ERROR_UNKNOWN

unknown or unclassified error + +GQuark

NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION

the connection was not of bluetooth type + +nm_device_bt_error_quark ()

NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION

the bluetooth connection was invalid + +GObject * + +nm_device_bt_new ()

NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +const char * + +nm_device_bt_get_hw_address ()

NM_DEVICE_BT_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +const char * + +nm_device_bt_get_name ()

NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS

the device missed required capabilities + +NMBluetoothCapabilities + +nm_device_bt_get_capabilities ()
-
-
-

NM_DEVICE_BT_ERROR

-
#define NM_DEVICE_BT_ERROR nm_device_bt_error_quark ()
-
-

-

+
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + +
guintbt-capabilitiesRead
+gchar *hw-addressRead
+gchar *nameRead
-
-
-

nm_device_bt_error_quark ()

-
GQuark              nm_device_bt_error_quark            (void);
-

-Registers an error quark for NMDeviceBt if necessary. -

-
+
+

Types and Values

+
--++ - - - - + + + + + + + + + + + + + + + + + + + + + +

Returns :

the error quark used for NMDeviceBt errors.
enumNMDeviceBtError
#defineNM_DEVICE_BT_ERROR
#defineNM_DEVICE_BT_HW_ADDRESS
#defineNM_DEVICE_BT_NAME
#defineNM_DEVICE_BT_CAPABILITIES
-
-
-

NM_DEVICE_BT_HW_ADDRESS

-
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceBt
 
-

-

-
-
-

NM_DEVICE_BT_NAME

-
#define NM_DEVICE_BT_NAME         "name"
-
+
+

Description

-
+
+

Functions

-

NM_DEVICE_BT_CAPABILITIES

-
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
-
-

-

+

nm_device_bt_error_quark ()

+
GQuark
+nm_device_bt_error_quark (void);
+

Registers an error quark for NMDeviceBt if necessary.

+
+

Returns

+

the error quark used for NMDeviceBt errors.

+

-
-
-

NMDeviceBt

-
typedef struct _NMDeviceBt NMDeviceBt;
-

-


-

NMDeviceBtClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceBtClass;
-
-

-

-
-
-
-

nm_device_bt_new ()

-
GObject *           nm_device_bt_new                    (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceBt. -

-
+

nm_device_bt_new ()

+
GObject *
+nm_device_bt_new (DBusGConnection *connection,
+                  const char *path);
+

Creates a new NMDeviceBt.

+
+

Parameters

+
--+++ - - + + + - - - - - - + + +

connection :

the DBusGConnection -

connection

the DBusGConnection

 

path :

the DBus object path of the device

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_bt_get_hw_address ()

-
const char *        nm_device_bt_get_hw_address         (NMDeviceBt *device);
-

-Gets the hardware (MAC) address of the NMDeviceBt -

-
+

nm_device_bt_get_hw_address ()

+
const char *
+nm_device_bt_get_hw_address (NMDeviceBt *device);
+

Gets the hardware (MAC) address of the NMDeviceBt

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceBt -

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceBt

 
+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

+
+

-

nm_device_bt_get_name ()

-
const char *        nm_device_bt_get_name               (NMDeviceBt *device);
-

-Gets the name of the NMDeviceBt. -

-
+

nm_device_bt_get_name ()

+
const char *
+nm_device_bt_get_name (NMDeviceBt *device);
+

Gets the name of the NMDeviceBt.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceBt -

Returns :

the name of the device

device

a NMDeviceBt

 
+
+

Returns

+

the name of the device

+

+
+

-

nm_device_bt_get_capabilities ()

-
NMBluetoothCapabilities nm_device_bt_get_capabilities   (NMDeviceBt *device);
-

-Returns the Bluetooth device's usable capabilities. -

-
+

nm_device_bt_get_capabilities ()

+
NMBluetoothCapabilities
+nm_device_bt_get_capabilities (NMDeviceBt *device);
+

Returns the Bluetooth device's usable capabilities.

+
+

Parameters

+
--++++ + + + + + +

device

a NMDeviceBt

 
+
+
+

Returns

+

a combination of NMBluetoothCapabilities

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceBtError

+
+

Members

+
++++ - - + + + + + + + + + + + + + + + + + + + + + + - - + +

device :

a NMDeviceBt +

NM_DEVICE_BT_ERROR_UNKNOWN

+

unknown or unclassified error

+
 

NM_DEVICE_BT_ERROR_NOT_BT_CONNECTION

+

the connection was not of bluetooth type

+
 

NM_DEVICE_BT_ERROR_INVALID_BT_CONNECTION

+

the bluetooth connection was invalid

+
 

NM_DEVICE_BT_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

+
 

NM_DEVICE_BT_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

 

Returns :

a combination of NMBluetoothCapabilities +

NM_DEVICE_BT_ERROR_MISSING_DEVICE_CAPS

+

the device missed required capabilities

 
-
-

Property Details

+
-

The "bt-capabilities" property

-
  "bt-capabilities"          guint                 : Read
+

NM_DEVICE_BT_ERROR

+
#define NM_DEVICE_BT_ERROR nm_device_bt_error_quark ()
+

-The device's bluetooth capabilities, a combination of NMBluetoothCapabilities.

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_BT_HW_ADDRESS

+
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "name" property

-
  "name"                     gchar*                : Read
+

NM_DEVICE_BT_NAME

+
#define NM_DEVICE_BT_NAME         "name"
+
+

+

+
+
+
+

NM_DEVICE_BT_CAPABILITIES

+
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
+

-The name of the bluetooth device.

+
+
+
+

Property Details

+
+

The “bt-capabilities” property

+
  “bt-capabilities”          guint
+

Bluetooth capabilities.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “name” property

+
  “name”                     gchar *
+

Device name.

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceEthernet.html b/docs/libnm-glib/html/NMDeviceEthernet.html index 4dec91a2..98767b2e 100644 --- a/docs/libnm-glib/html/NMDeviceEthernet.html +++ b/docs/libnm-glib/html/NMDeviceEthernet.html @@ -2,36 +2,28 @@ -NMDeviceEthernet +libnm-glib Reference Manual: NMDeviceEthernet - + - - - - - - - - - - + + + + + + +
@@ -39,363 +31,437 @@

NMDeviceEthernet

NMDeviceEthernet

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceEthernet
-
-
-
-

Implemented Interfaces

-

-NMDeviceEthernet implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "perm-hw-address"          gchar*                : Read
-  "speed"                    guint                 : Read
-
-
-

Description

-

-

-
-
-

Details

-
-

enum NMDeviceEthernetError

-
typedef enum {
-	NM_DEVICE_ETHERNET_ERROR_UNKNOWN = 0,                 /*< nick=UnknownError >*/
-	NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION,     /*< nick=NotEthernetConnection >*/
-	NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION, /*< nick=InvalidEthernetConnection >*/
-	NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC,          /*< nick=InvalidDeviceMac >*/
-	NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH,                /*< nick=MacMismatch >*/
-} NMDeviceEthernetError;
-
-
+

Functions

+
--++ - - + - - + + + + + - - + - - + - - +

NM_DEVICE_ETHERNET_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_ethernet_error_quark ()

NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION

the connection was not of ethernet or PPPoE type + +GObject * + +nm_device_ethernet_new () +
const char * + +nm_device_ethernet_get_hw_address ()

NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION

the ethernet connection was invalid +const char * + +nm_device_ethernet_get_permanent_hw_address ()

NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid + +guint32 + +nm_device_ethernet_get_speed ()

NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +gboolean + +nm_device_ethernet_get_carrier ()
-
-
-

NM_DEVICE_ETHERNET_ERROR

-
#define NM_DEVICE_ETHERNET_ERROR nm_device_ethernet_error_quark ()
-
-

-

-
-
-
-

nm_device_ethernet_error_quark ()

-
GQuark              nm_device_ethernet_error_quark      (void);
-

-Registers an error quark for NMDeviceEthernet if necessary. -

-
+
+

Properties

+
--+++ - - - - + + + + + + + + + + + + + + + + + + + + + +

Returns :

the error quark used for NMDeviceEthernet errors.
gbooleancarrierRead
+gchar *hw-addressRead
+gchar *perm-hw-addressRead
guintspeedRead
-
-
-

NM_DEVICE_ETHERNET_HW_ADDRESS

-
#define NM_DEVICE_ETHERNET_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS

-
#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
-
-

-

+
+

Types and Values

+
-
-
-

NM_DEVICE_ETHERNET_SPEED

-
#define NM_DEVICE_ETHERNET_SPEED       "speed"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceEthernet
 
-

-

-
-
-

NM_DEVICE_ETHERNET_CARRIER

-
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
-
+
+

Description

-
+
+

Functions

-

NMDeviceEthernet

-
typedef struct _NMDeviceEthernet NMDeviceEthernet;
-

-

+

nm_device_ethernet_error_quark ()

+
GQuark
+nm_device_ethernet_error_quark (void);
+

Registers an error quark for NMDeviceEthernet if necessary.

+
+

Returns

+

the error quark used for NMDeviceEthernet errors.

+

-
-
-

NMDeviceEthernetClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceEthernetClass;
-
-

-


-

nm_device_ethernet_new ()

-
GObject *           nm_device_ethernet_new              (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceEthernet. -

-
+

nm_device_ethernet_new ()

+
GObject *
+nm_device_ethernet_new (DBusGConnection *connection,
+                        const char *path);
+

Creates a new NMDeviceEthernet.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_ethernet_get_hw_address ()

-
const char *        nm_device_ethernet_get_hw_address   (NMDeviceEthernet *device);
-

-Gets the active hardware (MAC) address of the NMDeviceEthernet -

-
+

nm_device_ethernet_get_hw_address ()

+
const char *
+nm_device_ethernet_get_hw_address (NMDeviceEthernet *device);
+

Gets the active hardware (MAC) address of the NMDeviceEthernet

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceEthernet -

Returns :

the active hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceEthernet

 
+
+

Returns

+

the active hardware address. This is the internal string used by the +device, and must not be modified.

+

+
+

-

nm_device_ethernet_get_permanent_hw_address ()

-
const char *        nm_device_ethernet_get_permanent_hw_address
-                                                        (NMDeviceEthernet *device);
-

-Gets the permanent hardware (MAC) address of the NMDeviceEthernet -

-
+

nm_device_ethernet_get_permanent_hw_address ()

+
const char *
+nm_device_ethernet_get_permanent_hw_address
+                               (NMDeviceEthernet *device);
+

Gets the permanent hardware (MAC) address of the NMDeviceEthernet

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceEthernet -

Returns :

the permanent hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceEthernet

 
+
+

Returns

+

the permanent hardware address. This is the internal string used by the +device, and must not be modified.

+

+
+

-

nm_device_ethernet_get_speed ()

-
guint32             nm_device_ethernet_get_speed        (NMDeviceEthernet *device);
-

-Gets the speed of the NMDeviceEthernet. -

-
+

nm_device_ethernet_get_speed ()

+
guint32
+nm_device_ethernet_get_speed (NMDeviceEthernet *device);
+

Gets the speed of the NMDeviceEthernet.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceEthernet -

Returns :

the speed of the device

device

a NMDeviceEthernet

 
+
+

Returns

+

the speed of the device

+

+
+

-

nm_device_ethernet_get_carrier ()

-
gboolean            nm_device_ethernet_get_carrier      (NMDeviceEthernet *device);
-

-Whether the device has carrier. -

-
+

nm_device_ethernet_get_carrier ()

+
gboolean
+nm_device_ethernet_get_carrier (NMDeviceEthernet *device);
+

Whether the device has carrier.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceEthernet

 
+
+
+

Returns

+

TRUE if the device has carrier

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceEthernetError

+
+

Members

+
--+++ - - + + - - + + + + + + + + + + + + + + + + + +

device :

a NMDeviceEthernet +

NM_DEVICE_ETHERNET_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

-TRUE if the device has carrier

NM_DEVICE_ETHERNET_ERROR_NOT_ETHERNET_CONNECTION

+

the connection was not of ethernet or PPPoE type

+
 

NM_DEVICE_ETHERNET_ERROR_INVALID_ETHERNET_CONNECTION

+

the ethernet connection was invalid

+
 

NM_DEVICE_ETHERNET_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

+
 

NM_DEVICE_ETHERNET_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_ETHERNET_ERROR

+
#define NM_DEVICE_ETHERNET_ERROR nm_device_ethernet_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_ETHERNET_HW_ADDRESS

+
#define NM_DEVICE_ETHERNET_HW_ADDRESS  "hw-address"
+

-The active hardware (MAC) address of the device.

-

Default value: NULL


-

The "perm-hw-address" property

-
  "perm-hw-address"          gchar*                : Read
+

NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS

+
#define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address"
+

-The permanent hardware (MAC) address of the device.

-

Default value: NULL


-

The "speed" property

-
  "speed"                    guint                 : Read
+

NM_DEVICE_ETHERNET_SPEED

+
#define NM_DEVICE_ETHERNET_SPEED       "speed"
+
+

+

+
+
+
+

NM_DEVICE_ETHERNET_CARRIER

+
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
+

-The speed of the device.

+
+
+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

Carrier.

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Currently set hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “perm-hw-address” property

+
  “perm-hw-address”          gchar *
+

Permanent hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “speed” property

+
  “speed”                    guint
+

Speed.

+

Flags: Read

Default value: 0

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceInfiniband.html b/docs/libnm-glib/html/NMDeviceInfiniband.html index 89b30130..03743893 100644 --- a/docs/libnm-glib/html/NMDeviceInfiniband.html +++ b/docs/libnm-glib/html/NMDeviceInfiniband.html @@ -2,36 +2,28 @@ -NMDeviceInfiniband +libnm-glib Reference Manual: NMDeviceInfiniband - + - - - - - - - - - - + + + + + + +
@@ -39,270 +31,315 @@

NMDeviceInfiniband

NMDeviceInfiniband

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceInfiniband
-
-
-
-

Implemented Interfaces

-

-NMDeviceInfiniband implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-
-
-
-

Description

-

-

-
-

Details

-
-

enum NMDeviceInfinibandError

-
typedef enum {
-	NM_DEVICE_INFINIBAND_ERROR_UNKNOWN = 0,                   /*< nick=UnknownError >*/
-	NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION,     /*< nick=NotInfinibandConnection >*/
-	NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION, /*< nick=InvalidInfinibandConnection >*/
-	NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC,            /*< nick=InvalidDeviceMac >*/
-	NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH,                  /*< nick=MacMismatch >*/
-} NMDeviceInfinibandError;
-
-
+

Functions

+
--++ - - - - - - - - + - - + - - +

NM_DEVICE_INFINIBAND_ERROR_UNKNOWN

unknown or unclassified error + +GQuark

NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION

the connection was not of InfiniBand type + +nm_device_infiniband_error_quark ()

NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION

the InfiniBand connection was invalid + +GObject * + +nm_device_infiniband_new ()

NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid +const char * + +nm_device_infiniband_get_hw_address ()

NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +gboolean + +nm_device_infiniband_get_carrier ()
-
-
-

NM_DEVICE_INFINIBAND_ERROR

-
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
-
-

-

+
+

Properties

+
+++++ + + + + + + + + + + + + +
gbooleancarrierRead
+gchar *hw-addressRead
-
-
-

nm_device_infiniband_error_quark ()

-
GQuark              nm_device_infiniband_error_quark    (void);
-

-Registers an error quark for NMDeviceInfiniband if necessary. -

-
+
+

Types and Values

+
--++ - - - - + + + + + + + + + + + + + + + + + +

Returns :

the error quark used for NMDeviceInfiniband errors.
enumNMDeviceInfinibandError
#defineNM_DEVICE_INFINIBAND_ERROR
#defineNM_DEVICE_INFINIBAND_HW_ADDRESS
#defineNM_DEVICE_INFINIBAND_CARRIER
-
-
-

NM_DEVICE_INFINIBAND_HW_ADDRESS

-
#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceInfiniband
 
-

-

-
-
-

NM_DEVICE_INFINIBAND_CARRIER

-
#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"
-
+
+

Description

-
+
+

Functions

-

NMDeviceInfiniband

-
typedef struct _NMDeviceInfiniband NMDeviceInfiniband;
-

-

+

nm_device_infiniband_error_quark ()

+
GQuark
+nm_device_infiniband_error_quark (void);
+

Registers an error quark for NMDeviceInfiniband if necessary.

+
+

Returns

+

the error quark used for NMDeviceInfiniband errors.

+

-
-
-

NMDeviceInfinibandClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceInfinibandClass;
-
-

-


-

nm_device_infiniband_new ()

-
GObject *           nm_device_infiniband_new            (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceInfiniband. -

-
+

nm_device_infiniband_new ()

+
GObject *
+nm_device_infiniband_new (DBusGConnection *connection,
+                          const char *path);
+

Creates a new NMDeviceInfiniband.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_infiniband_get_hw_address ()

-
const char *        nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);
-

-Gets the hardware (MAC) address of the NMDeviceInfiniband -

-
+

nm_device_infiniband_get_hw_address ()

+
const char *
+nm_device_infiniband_get_hw_address (NMDeviceInfiniband *device);
+

Gets the hardware (MAC) address of the NMDeviceInfiniband

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceInfiniband -

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceInfiniband

 
+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

+
+

-

nm_device_infiniband_get_carrier ()

-
gboolean            nm_device_infiniband_get_carrier    (NMDeviceInfiniband *device);
-

-Whether the device has carrier. -

-
+

nm_device_infiniband_get_carrier ()

+
gboolean
+nm_device_infiniband_get_carrier (NMDeviceInfiniband *device);
+

Whether the device has carrier.

+
+

Parameters

+
--++++ + + + + + +

device

a NMDeviceInfiniband

 
+
+
+

Returns

+

TRUE if the device has carrier

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceInfinibandError

+
+

Members

+
++++ - - + + + + + + + + + + + + + + + + + - - + + +

device :

a NMDeviceInfiniband +

NM_DEVICE_INFINIBAND_ERROR_UNKNOWN

+

unknown or unclassified error

+
 

NM_DEVICE_INFINIBAND_ERROR_NOT_INFINIBAND_CONNECTION

+

the connection was not of InfiniBand type

+
 

NM_DEVICE_INFINIBAND_ERROR_INVALID_INFINIBAND_CONNECTION

+

the InfiniBand connection was invalid

+
 

NM_DEVICE_INFINIBAND_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

 

Returns :

-TRUE if the device has carrier

NM_DEVICE_INFINIBAND_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_INFINIBAND_ERROR

+
#define NM_DEVICE_INFINIBAND_ERROR nm_device_infiniband_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_INFINIBAND_HW_ADDRESS

+
#define NM_DEVICE_INFINIBAND_HW_ADDRESS  "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_INFINIBAND_CARRIER

+
#define NM_DEVICE_INFINIBAND_CARRIER     "carrier"
+

-The hardware (MAC) address of the device.

+
+
+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

Carrier.

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Currently set hardware MAC address.

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceModem.html b/docs/libnm-glib/html/NMDeviceModem.html index d5fb1cdf..bf7038a8 100644 --- a/docs/libnm-glib/html/NMDeviceModem.html +++ b/docs/libnm-glib/html/NMDeviceModem.html @@ -2,36 +2,28 @@ -NMDeviceModem +libnm-glib Reference Manual: NMDeviceModem - + - - - - - - - - - - + + + + + + +
@@ -39,43 +31,98 @@

NMDeviceModem

NMDeviceModem

- +
-
-

Synopsis

-
enum                NMDeviceModemError;
-#define             NM_DEVICE_MODEM_ERROR
-GQuark              nm_device_modem_error_quark         (void);
-#define             NM_DEVICE_MODEM_MODEM_CAPABILITIES
-#define             NM_DEVICE_MODEM_CURRENT_CAPABILITIES
-                    NMDeviceModem;
-                    NMDeviceModemClass;
-NMDeviceModemCapabilities nm_device_modem_get_modem_capabilities
-                                                        (NMDeviceModem *self);
-NMDeviceModemCapabilities nm_device_modem_get_current_capabilities
-                                                        (NMDeviceModem *self);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + +
+GQuark + +nm_device_modem_error_quark () +
+NMDeviceModemCapabilities + +nm_device_modem_get_modem_capabilities () +
+NMDeviceModemCapabilities + +nm_device_modem_get_current_capabilities () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceModem
-
+

Properties

+
+++++ + + + + + + + + + + + + +
guintcurrent-capabilitiesRead
guintmodem-capabilitiesRead
-

Implemented Interfaces

-

-NMDeviceModem implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

Properties

-
-  "current-capabilities"     guint                 : Read
-  "modem-capabilities"       guint                 : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceModem
 
@@ -84,45 +131,125 @@ NMDeviceModem implements

-

Details

+

Functions

+
+

nm_device_modem_error_quark ()

+
GQuark
+nm_device_modem_error_quark (void);
+

Registers an error quark for NMDeviceModem if necessary.

+
+

Returns

+

the error quark used for NMDeviceModem errors.

+

+
+
+
+
+

nm_device_modem_get_modem_capabilities ()

+
NMDeviceModemCapabilities
+nm_device_modem_get_modem_capabilities
+                               (NMDeviceModem *self);
+

Returns a bitfield of the generic access technology families the modem +supports. Not all capabilities are available concurrently however; some +may require a firmware reload or reinitialization.

+
+

Parameters

+
+++++ + + + + + +

self

a NMDeviceModem

 
+
+
+

Returns

+

the generic access technology families the modem supports

+

+
+
+
+
+

nm_device_modem_get_current_capabilities ()

+
NMDeviceModemCapabilities
+nm_device_modem_get_current_capabilities
+                               (NMDeviceModem *self);
+

Returns a bitfield of the generic access technology families the modem +supports without a firmware reload or reinitialization. This value +represents the network types the modem can immediately connect to.

+
+

Parameters

+
+++++ + + + + + +

self

a NMDeviceModem

 
+
+
+

Returns

+

the generic access technology families the modem supports without +a firmware reload or other reinitialization

+

+
+
+
+
+

Types and Values

enum NMDeviceModemError

-
typedef enum {
-	NM_DEVICE_MODEM_ERROR_UNKNOWN = 0,              /*< nick=UnknownError >*/
-	NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION,     /*< nick=NotModemConnection >*/
-	NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION, /*< nick=InvalidModemConnection >*/
-	NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS,      /*< nick=MissingDeviceCaps >*/
-} NMDeviceModemError;
-
-
+
+

Members

+
--+++ - - + + - - + + - - + + - - + +

NM_DEVICE_MODEM_ERROR_UNKNOWN

unknown or unclassified error +

NM_DEVICE_MODEM_ERROR_UNKNOWN

+

unknown or unclassified error

 

NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION

the connection was not of modem type +

NM_DEVICE_MODEM_ERROR_NOT_MODEM_CONNECTION

+

the connection was not of modem type

 

NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION

the modem connection was invalid +

NM_DEVICE_MODEM_ERROR_INVALID_MODEM_CONNECTION

+

the modem connection was invalid

 

NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS

the device missed required capabilities +

NM_DEVICE_MODEM_ERROR_MISSING_DEVICE_CAPS

+

the device missed required capabilities

 
+

NM_DEVICE_MODEM_ERROR

@@ -133,24 +260,6 @@ NMDeviceModem implements

-

nm_device_modem_error_quark ()

-
GQuark              nm_device_modem_error_quark         (void);
-

-Registers an error quark for NMDeviceModem if necessary. -

-
---- - - - - -

Returns :

the error quark used for NMDeviceModem errors.
-
-
-

NM_DEVICE_MODEM_MODEM_CAPABILITIES

#define NM_DEVICE_MODEM_MODEM_CAPABILITIES   "modem-capabilities"
 
@@ -165,116 +274,28 @@ Registers an error quark for -

NMDeviceModem

-
typedef struct _NMDeviceModem NMDeviceModem;
-

-

-
-
-
-

NMDeviceModemClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceModemClass;
-
-

-

-
-
-
-

nm_device_modem_get_modem_capabilities ()

-
NMDeviceModemCapabilities nm_device_modem_get_modem_capabilities
-                                                        (NMDeviceModem *self);
-

-Returns a bitfield of the generic access technology families the modem -supports. Not all capabilities are available concurrently however; some -may require a firmware reload or reinitialization. -

-
---- - - - - - - - - - - -

self :

a NMDeviceModem -

Returns :

the generic access technology families the modem supports
-
-
-
-

nm_device_modem_get_current_capabilities ()

-
NMDeviceModemCapabilities nm_device_modem_get_current_capabilities
-                                                        (NMDeviceModem *self);
-

-Returns a bitfield of the generic access technology families the modem -supports without a firmware reload or reinitialization. This value -represents the network types the modem can immediately connect to. -

-
---- - - - - - - - - - - -

self :

a NMDeviceModem -

Returns :

the generic access technology families the modem supports without -a firmware reload or other reinitialization
-

Property Details

-

The "current-capabilities" property

-
  "current-capabilities"     guint                 : Read
-

-The generic family of access technologies the modem currently supports -without a firmware reload or reinitialization. -

+

The “current-capabilities” property

+
  “current-capabilities”     guint
+

Current capabilities.

+

Flags: Read

Default value: 0


-

The "modem-capabilities" property

-
  "modem-capabilities"       guint                 : Read
-

-The generic family of access technologies the modem supports. Not all -capabilities are available at the same time however; some modems require -a firmware reload or other reinitialization to switch between eg -CDMA/EVDO and GSM/UMTS. -

+

The “modem-capabilities” property

+
  “modem-capabilities”       guint
+

Modem capabilities.

+

Flags: Read

Default value: 0

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceOlpcMesh.html b/docs/libnm-glib/html/NMDeviceOlpcMesh.html index ca10adb6..8fc759f1 100644 --- a/docs/libnm-glib/html/NMDeviceOlpcMesh.html +++ b/docs/libnm-glib/html/NMDeviceOlpcMesh.html @@ -2,36 +2,28 @@ -NMDeviceOlpcMesh +libnm-glib Reference Manual: NMDeviceOlpcMesh - + - - - - - - - - - - + + + + + + +
@@ -39,47 +31,124 @@

NMDeviceOlpcMesh

NMDeviceOlpcMesh

- +
-
-

Synopsis

-
enum                NMDeviceOlpcMeshError;
-#define             NM_DEVICE_OLPC_MESH_ERROR
-GQuark              nm_device_olpc_mesh_error_quark     (void);
-#define             NM_DEVICE_OLPC_MESH_HW_ADDRESS
-#define             NM_DEVICE_OLPC_MESH_COMPANION
-#define             NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL
-                    NMDeviceOlpcMesh;
-                    NMDeviceOlpcMeshClass;
-GObject *           nm_device_olpc_mesh_new             (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_olpc_mesh_get_hw_address  (NMDeviceOlpcMesh *device);
-NMDeviceWifi *      nm_device_olpc_mesh_get_companion   (NMDeviceOlpcMesh *device);
-guint32             nm_device_olpc_mesh_get_active_channel
-                                                        (NMDeviceOlpcMesh *device);
-
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
+GQuark + +nm_device_olpc_mesh_error_quark () +
+GObject * + +nm_device_olpc_mesh_new () +
const char * + +nm_device_olpc_mesh_get_hw_address () +
+NMDeviceWifi * + +nm_device_olpc_mesh_get_companion () +
+guint32 + +nm_device_olpc_mesh_get_active_channel () +
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceOlpcMesh
-
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + +
guintactive-channelRead
+NMDeviceWifi *companionRead
+gchar *hw-addressRead
-

Implemented Interfaces

-

-NMDeviceOlpcMesh implements - GInitable and GAsyncInitable.

+

Types and Values

+
-

Properties

-
-  "active-channel"           guint                 : Read
-  "companion"                NMDeviceWifi*         : Read
-  "hw-address"               gchar*                : Read
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceOlpcMesh
 
@@ -88,255 +157,236 @@ NMDeviceOlpcMesh implements

-

Details

+

Functions

-

enum NMDeviceOlpcMeshError

-
typedef enum {
-	NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN = 0,                  /*< nick=UnknownError >*/
-	NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION,     /*< nick=NotOlpcMeshConnection >*/
-	NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION, /*< nick=InvalidOlpcMeshConnection >*/
-} NMDeviceOlpcMeshError;
-
-
+

nm_device_olpc_mesh_error_quark ()

+
GQuark
+nm_device_olpc_mesh_error_quark (void);
+

Registers an error quark for NMDeviceOlpcMesh if necessary.

+
+

Returns

+

the error quark used for NMDeviceOlpcMesh errors.

+

+
+ +
+
+

nm_device_olpc_mesh_new ()

+
GObject *
+nm_device_olpc_mesh_new (DBusGConnection *connection,
+                         const char *path);
+

Creates a new NMDeviceOlpcMesh.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN

unknown or unclassified error -

NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION

the connection was not of Olpc Mesh type -

connection

the DBusGConnection

 

NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION

the Olpc Mesh connection was invalid -

path

the DBus object path of the device

 
-
-
-

NM_DEVICE_OLPC_MESH_ERROR

-
#define NM_DEVICE_OLPC_MESH_ERROR nm_device_olpc_mesh_error_quark ()
-
-

-

+
+

Returns

+

a new OlpcMesh device.

+

[transfer full]

+

-

nm_device_olpc_mesh_error_quark ()

-
GQuark              nm_device_olpc_mesh_error_quark     (void);
-

-Registers an error quark for NMDeviceOlpcMesh if necessary. -

-
+

nm_device_olpc_mesh_get_hw_address ()

+
const char *
+nm_device_olpc_mesh_get_hw_address (NMDeviceOlpcMesh *device);
+

Gets the hardware (MAC) address of the NMDeviceOlpcMesh

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMDeviceOlpcMesh errors.

device

a NMDeviceOlpcMesh

 
-
-
-

NM_DEVICE_OLPC_MESH_HW_ADDRESS

-
#define NM_DEVICE_OLPC_MESH_HW_ADDRESS     "hw-address"
-
-

-

+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

-
-
-

NM_DEVICE_OLPC_MESH_COMPANION

-
#define NM_DEVICE_OLPC_MESH_COMPANION      "companion"
-
-

-


-

NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL

-
#define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL "active-channel"
-
-

-

+

nm_device_olpc_mesh_get_companion ()

+
NMDeviceWifi *
+nm_device_olpc_mesh_get_companion (NMDeviceOlpcMesh *device);
+

Gets the companion device of the NMDeviceOlpcMesh.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceOlpcMesh

 
+
+
+

Returns

+

the companion of the device of NULL.

+

[transfer none]

-
-
-

NMDeviceOlpcMesh

-
typedef struct _NMDeviceOlpcMesh NMDeviceOlpcMesh;
-

-


-

NMDeviceOlpcMeshClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceOlpcMeshClass;
-
-

-

+

nm_device_olpc_mesh_get_active_channel ()

+
guint32
+nm_device_olpc_mesh_get_active_channel
+                               (NMDeviceOlpcMesh *device);
+

Returns the active channel of the NMDeviceOlpcMesh device.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceOlpcMesh

 
-
+
+

Returns

+

active channel of the device

+

+
+
+
+
+

Types and Values

-

nm_device_olpc_mesh_new ()

-
GObject *           nm_device_olpc_mesh_new             (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceOlpcMesh. -

-
+

enum NMDeviceOlpcMeshError

+
+

Members

+
--+++ - - + + - - + + + - - + +

connection :

the DBusGConnection +

NM_DEVICE_OLPC_MESH_ERROR_UNKNOWN

+

unknown or unclassified error

 

path :

the DBus object path of the device

NM_DEVICE_OLPC_MESH_ERROR_NOT_OLPC_MESH_CONNECTION

+

the connection was not of Olpc Mesh type

+
 

Returns :

a new OlpcMesh device. [transfer full] +

NM_DEVICE_OLPC_MESH_ERROR_INVALID_OLPC_MESH_CONNECTION

+

the Olpc Mesh connection was invalid

 
+

-

nm_device_olpc_mesh_get_hw_address ()

-
const char *        nm_device_olpc_mesh_get_hw_address  (NMDeviceOlpcMesh *device);
+

NM_DEVICE_OLPC_MESH_ERROR

+
#define NM_DEVICE_OLPC_MESH_ERROR nm_device_olpc_mesh_error_quark ()
+

-Gets the hardware (MAC) address of the NMDeviceOlpcMesh

-
---- - - - - - - - - - - -

device :

a NMDeviceOlpcMesh -

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.

-

nm_device_olpc_mesh_get_companion ()

-
NMDeviceWifi *      nm_device_olpc_mesh_get_companion   (NMDeviceOlpcMesh *device);
+

NM_DEVICE_OLPC_MESH_HW_ADDRESS

+
#define NM_DEVICE_OLPC_MESH_HW_ADDRESS     "hw-address"
+

-Gets the companion device of the NMDeviceOlpcMesh.

-
---- - - - - - - - - - - -

device :

a NMDeviceOlpcMesh -

Returns :

the companion of the device of NULL. [transfer none] -

-

nm_device_olpc_mesh_get_active_channel ()

-
guint32             nm_device_olpc_mesh_get_active_channel
-                                                        (NMDeviceOlpcMesh *device);
+

NM_DEVICE_OLPC_MESH_COMPANION

+
#define NM_DEVICE_OLPC_MESH_COMPANION      "companion"
+
+

+

+
+
+
+

NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL

+
#define NM_DEVICE_OLPC_MESH_ACTIVE_CHANNEL "active-channel"
+

-Returns the active channel of the NMDeviceOlpcMesh device.

-
---- - - - - - - - - - - -

device :

a NMDeviceOlpcMesh -

Returns :

active channel of the device

Property Details

-

The "active-channel" property

-
  "active-channel"           guint                 : Read
-

-The device's active channel. -

+

The “active-channel” property

+
  “active-channel”           guint
+

Active channel.

+

Flags: Read

Default value: 0


-

The "companion" property

-
  "companion"                NMDeviceWifi*         : Read
-

-The companion device. -

+

The “companion” property

+
  “companion”                NMDeviceWifi *
+

Companion device.

+

Flags: Read


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

-The hardware (MAC) address of the device. -

+

The “hw-address” property

+
  “hw-address”               gchar *
+

Hardware MAC address.

+

Flags: Read

Default value: NULL

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceVlan.html b/docs/libnm-glib/html/NMDeviceVlan.html index 7ca398c1..b7952355 100644 --- a/docs/libnm-glib/html/NMDeviceVlan.html +++ b/docs/libnm-glib/html/NMDeviceVlan.html @@ -2,36 +2,28 @@ -NMDeviceVlan +libnm-glib Reference Manual: NMDeviceVlan - + - - - - - - - - - - + + + + + + +
@@ -39,306 +31,368 @@

NMDeviceVlan

NMDeviceVlan

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceVlan
-
-
-
-

Implemented Interfaces

-

-NMDeviceVlan implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "carrier"                  gboolean              : Read
-  "hw-address"               gchar*                : Read
-  "vlan-id"                  guint                 : Read
-
-
-
-

Description

-

-

-
-

Details

-
-

enum NMDeviceVlanError

-
typedef enum {
-	NM_DEVICE_VLAN_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
-	NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION,     /*< nick=NotVlanConnection >*/
-	NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION, /*< nick=InvalidVlanConnection >*/
-	NM_DEVICE_VLAN_ERROR_ID_MISMATCH,             /*< nick=IdMismatch >*/
-	NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH,      /*< nick=InterfaceMismatch >*/
-} NMDeviceVlanError;
-
-
+

Functions

+
--++ - - + - - + - - + - - + - - +

NM_DEVICE_VLAN_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_vlan_error_quark ()

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

the connection was not of VLAN type + +GObject * + +nm_device_vlan_new ()

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

the VLAN connection was invalid +const char * + +nm_device_vlan_get_hw_address ()

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

the VLAN identifiers of the connection and the device mismatched + +gboolean + +nm_device_vlan_get_carrier ()

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

the interfaces of the connection and the device mismatched + +guint + +nm_device_vlan_get_vlan_id ()
-
-
-

NM_DEVICE_VLAN_ERROR

-
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
-
-

-

-
-
-
-

nm_device_vlan_error_quark ()

-
GQuark              nm_device_vlan_error_quark          (void);
-

-Registers an error quark for NMDeviceVlan if necessary. -

-
+
+

Properties

+
--+++ - - - - + + + + + + + + + + + + + + + + +

Returns :

the error quark used for NMDeviceVlan errors.
gbooleancarrierRead
+gchar *hw-addressRead
guintvlan-idRead
-
-
-

NM_DEVICE_VLAN_HW_ADDRESS

-
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
-
-

-

+
+

Types and Values

+
++++ + + + + + + + + + + + + + + + + + + + + + + +
enumNMDeviceVlanError
#defineNM_DEVICE_VLAN_ERROR
#defineNM_DEVICE_VLAN_HW_ADDRESS
#defineNM_DEVICE_VLAN_CARRIER
#defineNM_DEVICE_VLAN_VLAN_ID
-
-
-

NM_DEVICE_VLAN_CARRIER

-
#define NM_DEVICE_VLAN_CARRIER     "carrier"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceVlan
 
-

-

-
-
-

NM_DEVICE_VLAN_VLAN_ID

-
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
-
+
+

Description

-
+
+

Functions

-

NMDeviceVlan

-
typedef struct _NMDeviceVlan NMDeviceVlan;
-

-

+

nm_device_vlan_error_quark ()

+
GQuark
+nm_device_vlan_error_quark (void);
+

Registers an error quark for NMDeviceVlan if necessary.

+
+

Returns

+

the error quark used for NMDeviceVlan errors.

+

-
-
-

NMDeviceVlanClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceVlanClass;
-
-

-


-

nm_device_vlan_new ()

-
GObject *           nm_device_vlan_new                  (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceVlan. -

-
+

nm_device_vlan_new ()

+
GObject *
+nm_device_vlan_new (DBusGConnection *connection,
+                    const char *path);
+

Creates a new NMDeviceVlan.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

connection :

the DBusGConnection -

path :

the DBus object path of the device

connection

the DBusGConnection

 

Returns :

a new device. [transfer full] -

path

the DBus object path of the device

 
+
+

Returns

+

a new device.

+

[transfer full]

+
+

-

nm_device_vlan_get_hw_address ()

-
const char *        nm_device_vlan_get_hw_address       (NMDeviceVlan *device);
-

-Gets the hardware (MAC) address of the NMDeviceVlan -

-
+

nm_device_vlan_get_hw_address ()

+
const char *
+nm_device_vlan_get_hw_address (NMDeviceVlan *device);
+

Gets the hardware (MAC) address of the NMDeviceVlan

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceVlan -

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceVlan

 
+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

+
+

-

nm_device_vlan_get_carrier ()

-
gboolean            nm_device_vlan_get_carrier          (NMDeviceVlan *device);
-

-Whether the device has carrier. -

-
+

nm_device_vlan_get_carrier ()

+
gboolean
+nm_device_vlan_get_carrier (NMDeviceVlan *device);
+

Whether the device has carrier.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceVlan -

Returns :

-TRUE if the device has carrier

device

a NMDeviceVlan

 
+
+

Returns

+

TRUE if the device has carrier

+

+
+

-

nm_device_vlan_get_vlan_id ()

-
guint               nm_device_vlan_get_vlan_id          (NMDeviceVlan *device);
-
+

nm_device_vlan_get_vlan_id ()

+
guint
+nm_device_vlan_get_vlan_id (NMDeviceVlan *device);
+
+

Parameters

+
--++++ + + + + + +

device

a NMDeviceVlan

 
+
+
+

Returns

+

the device's VLAN ID

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceVlanError

+
+

Members

+
++++ - - + + + + + + + + + + + + + + + + + - - + + +

device :

a NMDeviceVlan +

NM_DEVICE_VLAN_ERROR_UNKNOWN

+

unknown or unclassified error

+
 

NM_DEVICE_VLAN_ERROR_NOT_VLAN_CONNECTION

+

the connection was not of VLAN type

+
 

NM_DEVICE_VLAN_ERROR_INVALID_VLAN_CONNECTION

+

the VLAN connection was invalid

+
 

NM_DEVICE_VLAN_ERROR_ID_MISMATCH

+

the VLAN identifiers of the connection and the device mismatched

 

Returns :

the device's VLAN ID

NM_DEVICE_VLAN_ERROR_INTERFACE_MISMATCH

+

the interfaces of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
+

NM_DEVICE_VLAN_ERROR

+
#define NM_DEVICE_VLAN_ERROR nm_device_vlan_error_quark ()
+

-Whether the device has carrier.

-

Default value: FALSE


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_VLAN_HW_ADDRESS

+
#define NM_DEVICE_VLAN_HW_ADDRESS  "hw-address"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "vlan-id" property

-
  "vlan-id"                  guint                 : Read
+

NM_DEVICE_VLAN_CARRIER

+
#define NM_DEVICE_VLAN_CARRIER     "carrier"
+
+

+

+
+
+
+

NM_DEVICE_VLAN_VLAN_ID

+
#define NM_DEVICE_VLAN_VLAN_ID     "vlan-id"
+

-The device's VLAN ID.

+
+
+
+

Property Details

+
+

The “carrier” property

+
  “carrier”                  gboolean
+

Carrier.

+

Flags: Read

+

Default value: FALSE

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Currently set hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “vlan-id” property

+
  “vlan-id”                  guint
+

VLAN ID.

+

Flags: Read

Allowed values: <= 4095

Default value: 0

@@ -346,6 +400,6 @@ The device's VLAN ID.
+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWifi.html b/docs/libnm-glib/html/NMDeviceWifi.html index 1fcd9f27..61d0228b 100644 --- a/docs/libnm-glib/html/NMDeviceWifi.html +++ b/docs/libnm-glib/html/NMDeviceWifi.html @@ -2,38 +2,29 @@ -NMDeviceWifi +libnm-glib Reference Manual: NMDeviceWifi - + - - - - - - - - - - + + + + + + +
@@ -41,659 +32,762 @@

NMDeviceWifi

NMDeviceWifi

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceWifi
-
-
-
-

Implemented Interfaces

-

-NMDeviceWifi implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "active-access-point"      NMAccessPoint*        : Read
-  "bitrate"                  guint                 : Read
-  "hw-address"               gchar*                : Read
-  "mode"                     guint                 : Read
-  "perm-hw-address"          gchar*                : Read
-  "wireless-capabilities"    guint                 : Read
-
-
-
-

Description

-

-

-
-
-

Details

-
-

enum NMDeviceWifiError

-
typedef enum {
-	NM_DEVICE_WIFI_ERROR_UNKNOWN = 0,             /*< nick=UnknownError >*/
-	NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION,     /*< nick=NotWifiConnection >*/
-	NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION, /*< nick=InvalidWifiConnection >*/
-	NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC,      /*< nick=InvalidDeviceMac >*/
-	NM_DEVICE_WIFI_ERROR_MAC_MISMATCH,            /*< nick=MacMismatch >*/
-	NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS, /*< nick=MissingDeviceWpaCaps >*/
-	NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS, /*< nick=MissingDeviceRsnCaps >*/
-} NMDeviceWifiError;
-
-
+

Functions

+
--++ - - + + + + + + + + + + + + + + + + + + + + + - - + - - + - - + - - + - - + - - +

NM_DEVICE_WIFI_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_wifi_error_quark () +
+GObject * + +nm_device_wifi_new () +
const char * + +nm_device_wifi_get_hw_address () +
const char * + +nm_device_wifi_get_permanent_hw_address () +
+NM80211Mode + +nm_device_wifi_get_mode () +
+guint32 + +nm_device_wifi_get_bitrate ()

NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION

the connection was not of Wi-Fi type + +NMDeviceWifiCapabilities + +nm_device_wifi_get_capabilities ()

NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION

the Wi-Fi connection was invalid + +NMAccessPoint * + +nm_device_wifi_get_active_access_point ()

NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid + +NMAccessPoint * + +nm_device_wifi_get_access_point_by_path ()

NM_DEVICE_WIFI_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched +const GPtrArray * + +nm_device_wifi_get_access_points ()

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS

the device missed WPA capabilities -required by the connection + +void + +(*NMDeviceWifiRequestScanFn) ()

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS

the device missed RSN capabilities -required by the connection + +void + +nm_device_wifi_request_scan_simple ()
-
-
-

NM_DEVICE_WIFI_ERROR

-
#define NM_DEVICE_WIFI_ERROR nm_device_wifi_error_quark ()
-
-

-

+
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+NMAccessPoint *active-access-pointRead
guintbitrateRead
+gchar *hw-addressRead
guintmodeRead
+gchar *perm-hw-addressRead
guintwireless-capabilitiesRead
-
-
-

nm_device_wifi_error_quark ()

-
GQuark              nm_device_wifi_error_quark          (void);
-

-Registers an error quark for NMDeviceWifi if necessary. -

-
+
+

Signals

+
--+++ - - - - + + + + + + + + + + + +

Returns :

the error quark used for NMDeviceWifi errors.
voidaccess-point-addedRun First
voidaccess-point-removedRun First
-
-
-

NM_DEVICE_WIFI_HW_ADDRESS

-
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
-
-

-

+
+

Types and Values

+
-
-
-

NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

-
#define NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS "perm-hw-address"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceWifi
 
-

-

-
-
-

NM_DEVICE_WIFI_MODE

-
#define NM_DEVICE_WIFI_MODE                "mode"
-
+
+

Description

-
+
+

Functions

-

NM_DEVICE_WIFI_BITRATE

-
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
-
-

-

+

nm_device_wifi_error_quark ()

+
GQuark
+nm_device_wifi_error_quark (void);
+

Registers an error quark for NMDeviceWifi if necessary.

+
+

Returns

+

the error quark used for NMDeviceWifi errors.

+

+

-

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

-
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
-
-

-

+

nm_device_wifi_new ()

+
GObject *
+nm_device_wifi_new (DBusGConnection *connection,
+                    const char *path);
+

Creates a new NMDeviceWifi.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

connection

the DBusGConnection

 

path

the DBus object path of the device

 
+
+
+

Returns

+

a new WiFi device.

+

[transfer full]

+

-

NM_DEVICE_WIFI_CAPABILITIES

-
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
-
-

-

+

nm_device_wifi_get_hw_address ()

+
const char *
+nm_device_wifi_get_hw_address (NMDeviceWifi *device);
+

Gets the actual hardware (MAC) address of the NMDeviceWifi

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceWifi

 
+
+
+

Returns

+

the actual hardware address. This is the internal string used by the +device, and must not be modified.

+

+

-

NMDeviceWifi

-
typedef struct _NMDeviceWifi NMDeviceWifi;
-

-

+

nm_device_wifi_get_permanent_hw_address ()

+
const char *
+nm_device_wifi_get_permanent_hw_address
+                               (NMDeviceWifi *device);
+

Gets the permanent hardware (MAC) address of the NMDeviceWifi

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceWifi

 
+
+
+

Returns

+

the permanent hardware address. This is the internal string used by the +device, and must not be modified.

+

+

-

NMDeviceWifiClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Signals */
-	void (*access_point_added) (NMDeviceWifi *device, NMAccessPoint *ap);
-	void (*access_point_removed) (NMDeviceWifi *device, NMAccessPoint *ap);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMDeviceWifiClass;
-
-

-

+

nm_device_wifi_get_mode ()

+
NM80211Mode
+nm_device_wifi_get_mode (NMDeviceWifi *device);
+

Gets the NMDeviceWifi mode.

+
+

Parameters

+
+++++ + + + + + +

device

a NMDeviceWifi

 
+
+
+

Returns

+

the mode

+

+

-

nm_device_wifi_new ()

-
GObject *           nm_device_wifi_new                  (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceWifi. -

-
+

nm_device_wifi_get_bitrate ()

+
guint32
+nm_device_wifi_get_bitrate (NMDeviceWifi *device);
+

Gets the bit rate of the NMDeviceWifi.

+
+

Parameters

+
--+++ - - - - - - - - - - - - - - + + + + +

connection :

the DBusGConnection -

path :

the DBus object path of the device

Returns :

a new WiFi device. [transfer full] -

device

a NMDeviceWifi

 
+
+

Returns

+

the bit rate

+

+
+

-

nm_device_wifi_get_hw_address ()

-
const char *        nm_device_wifi_get_hw_address       (NMDeviceWifi *device);
-

-Gets the actual hardware (MAC) address of the NMDeviceWifi -

-
+

nm_device_wifi_get_capabilities ()

+
NMDeviceWifiCapabilities
+nm_device_wifi_get_capabilities (NMDeviceWifi *device);
+

Gets the WIFI capabilities of the NMDeviceWifi.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceWifi -

Returns :

the actual hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceWifi

 
+
+

Returns

+

the capabilities

+

+
+

-

nm_device_wifi_get_permanent_hw_address ()

-
const char *        nm_device_wifi_get_permanent_hw_address
-                                                        (NMDeviceWifi *device);
-

-Gets the permanent hardware (MAC) address of the NMDeviceWifi -

-
+

nm_device_wifi_get_active_access_point ()

+
NMAccessPoint *
+nm_device_wifi_get_active_access_point
+                               (NMDeviceWifi *device);
+

Gets the active NMAccessPoint.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceWifi -

Returns :

the permanent hardware address. This is the internal string used by the -device, and must not be modified.

device

a NMDeviceWifi

 
+
+

Returns

+

the access point or NULL if none is active.

+

[transfer none]

+
+

-

nm_device_wifi_get_mode ()

-
NM80211Mode         nm_device_wifi_get_mode             (NMDeviceWifi *device);
-

-Gets the NMDeviceWifi mode. -

-
+

nm_device_wifi_get_access_point_by_path ()

+
NMAccessPoint *
+nm_device_wifi_get_access_point_by_path
+                               (NMDeviceWifi *device,
+                                const char *path);
+

Gets a NMAccessPoint by path.

+
+

Parameters

+
--+++ - - + + + - - + + +

device :

a NMDeviceWifi -

device

a NMDeviceWifi

 

Returns :

the mode

path

the object path of the access point

 
+
+

Returns

+

the access point or NULL if none is found.

+

[transfer none]

+
+

-

nm_device_wifi_get_bitrate ()

-
guint32             nm_device_wifi_get_bitrate          (NMDeviceWifi *device);
-

-Gets the bit rate of the NMDeviceWifi. -

-
+

nm_device_wifi_get_access_points ()

+
const GPtrArray *
+nm_device_wifi_get_access_points (NMDeviceWifi *device);
+

Gets all the scanned access points of the NMDeviceWifi.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

device :

a NMDeviceWifi -

Returns :

the bit rate

device

a NMDeviceWifi

 
+
+

Returns

+

a GPtrArray containing all the +scanned NMAccessPoints. +The returned array is owned by the client and should not be modified.

+

[element-type NMClient.AccessPoint]

+
+

-

nm_device_wifi_get_capabilities ()

-
NMDeviceWifiCapabilities nm_device_wifi_get_capabilities
-                                                        (NMDeviceWifi *device);
+

NMDeviceWifiRequestScanFn ()

+
void
+(*NMDeviceWifiRequestScanFn) (NMDeviceWifi *device,
+                              GError *error,
+                              gpointer user_data);

-Gets the WIFI capabilities of the NMDeviceWifi.

-
+ +
+
+

nm_device_wifi_request_scan_simple ()

+
void
+nm_device_wifi_request_scan_simple (NMDeviceWifi *device,
+                                    NMDeviceWifiRequestScanFn callback,
+                                    gpointer user_data);
+

Request NM to scan for access points on the NMDeviceWifi. This function only +instructs NM to perform scanning. Use nm_device_wifi_get_access_points() +to get available access points.

+
+

Parameters

+
--+++ - - + + + - - + + + + + + + +

device :

a NMDeviceWifi -

device

a NMDeviceWifi

 

Returns :

the capabilities

callback

the function to call when the call is done.

[scope async][allow-none]

user_data

user data to pass to the callback function.

[closure]
-
+

Since 0.9.8

+
+
+
+

Types and Values

-

nm_device_wifi_get_active_access_point ()

-
NMAccessPoint *     nm_device_wifi_get_active_access_point
-                                                        (NMDeviceWifi *device);
-

-Gets the active NMAccessPoint. -

-
+

enum NMDeviceWifiError

+
+

Members

+
--+++ - - + + - - + + - -

device :

a NMDeviceWifi +

NM_DEVICE_WIFI_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

the access point or NULL if none is active. [transfer none] +

NM_DEVICE_WIFI_ERROR_NOT_WIFI_CONNECTION

+

the connection was not of Wi-Fi type

 
-
-
-
-

nm_device_wifi_get_access_point_by_path ()

-
NMAccessPoint *     nm_device_wifi_get_access_point_by_path
-                                                        (NMDeviceWifi *device,
-                                                         const char *path);
-

-Gets a NMAccessPoint by path. -

-
---- - - - + + - - + + + - - + + - -

device :

a NMDeviceWifi +

NM_DEVICE_WIFI_ERROR_INVALID_WIFI_CONNECTION

+

the Wi-Fi connection was invalid

 

path :

the object path of the access point

NM_DEVICE_WIFI_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

+
 

Returns :

the access point or NULL if none is found. [transfer none] +

NM_DEVICE_WIFI_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

 
-
-
-
-

nm_device_wifi_get_access_points ()

-
const GPtrArray *   nm_device_wifi_get_access_points    (NMDeviceWifi *device);
-

-Gets all the scanned access points of the NMDeviceWifi. -

-
---- - - - + + - - + +

device :

a NMDeviceWifi +

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_WPA_CAPS

+

the device missed WPA capabilities +required by the connection

 

Returns :

a GPtrArray containing all the -scanned NMAccessPoints. -The returned array is owned by the client and should not be modified. [element-type NMClient.AccessPoint] +

NM_DEVICE_WIFI_ERROR_MISSING_DEVICE_RSN_CAPS

+

the device missed RSN capabilities +required by the connection

 
+

-

NMDeviceWifiRequestScanFn ()

-
void                (*NMDeviceWifiRequestScanFn)        (NMDeviceWifi *device,
-                                                         GError *error,
-                                                         gpointer user_data);
+

NM_DEVICE_WIFI_ERROR

+
#define NM_DEVICE_WIFI_ERROR nm_device_wifi_error_quark ()
+


-

nm_device_wifi_request_scan_simple ()

-
void                nm_device_wifi_request_scan_simple  (NMDeviceWifi *device,
-                                                         NMDeviceWifiRequestScanFn callback,
-                                                         gpointer user_data);
+

NM_DEVICE_WIFI_HW_ADDRESS

+
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
+

-Request NM to scan for access points on the NMDeviceWifi. This function only -instructs NM to perform scanning. Use nm_device_wifi_get_access_points() -to get available access points.

-
---- - - - - - - - - - - - - - - -

device :

a NMDeviceWifi -

callback :

the function to call when the call is done. [scope async][allow-none] -

user_data :

user data to pass to the callback function. [closure] -
-

Since 0.9.8

+
+
+

NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

+
#define NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS "perm-hw-address"
+
+

+

-
-

Property Details

+
-

The "active-access-point" property

-
  "active-access-point"      NMAccessPoint*        : Read
+

NM_DEVICE_WIFI_MODE

+
#define NM_DEVICE_WIFI_MODE                "mode"
+

-The active NMAccessPoint of the device.


-

The "bitrate" property

-
  "bitrate"                  guint                 : Read
+

NM_DEVICE_WIFI_BITRATE

+
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
+

-The bit rate of the device.

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

+
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "mode" property

-
  "mode"                     guint                 : Read
+

NM_DEVICE_WIFI_CAPABILITIES

+
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
+

-The mode of the device.

+
+
+
+

Property Details

+
+

The “active-access-point” property

+
  “active-access-point”      NMAccessPoint *
+

Active Access Point.

+

Flags: Read

+
+
+
+

The “bitrate” property

+
  “bitrate”                  guint
+

Bit Rate.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Currently set hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “mode” property

+
  “mode”                     guint
+

Mode.

+

Flags: Read

Allowed values: <= 3

Default value: 2


-

The "perm-hw-address" property

-
  "perm-hw-address"          gchar*                : Read
-

-The hardware (MAC) address of the device. -

+

The “perm-hw-address” property

+
  “perm-hw-address”          gchar *
+

Permanent hardware MAC address.

+

Flags: Read

Default value: NULL


-

The "wireless-capabilities" property

-
  "wireless-capabilities"    guint                 : Read
-

-The wireless capabilities of the device. -

+

The “wireless-capabilities” property

+
  “wireless-capabilities”    guint
+

Wireless Capabilities.

+

Flags: Read

Default value: 0

Signal Details

-

The "access-point-added" signal

-
void                user_function                      (NMDeviceWifi *device,
-                                                        GObject      *ap,
-                                                        gpointer      user_data)      : Run First
-

-Notifies that a NMAccessPoint is added to the wifi device. -

-
---- - - - - - - - - - - - - - - -

device :

the wifi device that received the signal

ap :

the new access point

user_data :

user data set when the signal handler was connected.
+

The “access-point-added” signal

+
void
+user_function (NMDeviceWifi *device,
+               GObject      *ap,
+               gpointer      user_data)
+

Flags: Run First


-

The "access-point-removed" signal

-
void                user_function                      (NMDeviceWifi *device,
-                                                        GObject      *ap,
-                                                        gpointer      user_data)      : Run First
-

-Notifies that a NMAccessPoint is removed from the wifi device. -

-
---- - - - - - - - - - - - - - - -

device :

the wifi device that received the signal

ap :

the removed access point

user_data :

user data set when the signal handler was connected.
+

The “access-point-removed” signal

+
void
+user_function (NMDeviceWifi *device,
+               GObject      *ap,
+               gpointer      user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWimax.html b/docs/libnm-glib/html/NMDeviceWimax.html index 5cd1c4de..c496a2c6 100644 --- a/docs/libnm-glib/html/NMDeviceWimax.html +++ b/docs/libnm-glib/html/NMDeviceWimax.html @@ -2,38 +2,29 @@ -NMDeviceWimax +libnm-glib Reference Manual: NMDeviceWimax - + - - - - - - - - - - + + + + + + +
@@ -41,643 +32,745 @@

NMDeviceWimax

NMDeviceWimax

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceWimax
-
-
-
-

Implemented Interfaces

-

-NMDeviceWimax implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "active-nsp"               NMWimaxNsp*           : Read
-  "bsid"                     gchar*                : Read
-  "center-frequency"         guint                 : Read
-  "cinr"                     gint                  : Read
-  "hw-address"               gchar*                : Read
-  "rssi"                     gint                  : Read
-  "tx-power"                 gint                  : Read
-
-
-

Signals

-
-  "nsp-added"                                      : Run First
-  "nsp-removed"                                    : Run First
-
-
-
-

Description

-

-

-
-
-

Details

-
-

enum NMDeviceWimaxError

-
typedef enum {
-	NM_DEVICE_WIMAX_ERROR_UNKNOWN = 0,              /*< nick=UnknownError >*/
-	NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION,     /*< nick=NotWimaxConnection >*/
-	NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION, /*< nick=InvalidWimaxConnection >*/
-	NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC,       /*< nick=InvalidDeviceMac >*/
-	NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH,             /*< nick=MacMismatch >*/
-} NMDeviceWimaxError;
-
-
+

Functions

+
--++ - - + - - + - - + - - + - - + - -

NM_DEVICE_WIMAX_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_device_wimax_error_quark ()

NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION

the connection was not of WiMax type + +GObject * + +nm_device_wimax_new ()

NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION

the WiMax connection was invalid +const char * + +nm_device_wimax_get_hw_address ()

NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC

the device's MAC was invalid + +NMWimaxNsp * + +nm_device_wimax_get_active_nsp ()

NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH

the MACs of the connection and the device mismatched + +NMWimaxNsp * + +nm_device_wimax_get_nsp_by_path ()
-
-
-
-

NM_DEVICE_WIMAX_ERROR

-
#define NM_DEVICE_WIMAX_ERROR nm_device_wimax_error_quark ()
-
-

-

-
-
-
-

nm_device_wimax_error_quark ()

-
GQuark              nm_device_wimax_error_quark         (void);
-

-Registers an error quark for NMDeviceWimax if necessary. -

-
---- - - - - -

Returns :

the error quark used for NMDeviceWimax errors.
-
-
-
-

NM_DEVICE_WIMAX_HW_ADDRESS

-
#define NM_DEVICE_WIMAX_HW_ADDRESS       "hw-address"
-
-

-

-
-
-
-

NM_DEVICE_WIMAX_ACTIVE_NSP

-
#define NM_DEVICE_WIMAX_ACTIVE_NSP       "active-nsp"
-
-

-

-
-
-
-

NM_DEVICE_WIMAX_CENTER_FREQUENCY

-
#define NM_DEVICE_WIMAX_CENTER_FREQUENCY "center-frequency"
-
-

-

-
-
-
-

NM_DEVICE_WIMAX_RSSI

-
#define NM_DEVICE_WIMAX_RSSI             "rssi"
-
-

-

-
-
-
-

NM_DEVICE_WIMAX_CINR

-
#define NM_DEVICE_WIMAX_CINR             "cinr"
-
-

-

-
-
-
-

NM_DEVICE_WIMAX_TX_POWER

-
#define NM_DEVICE_WIMAX_TX_POWER         "tx-power"
-
-

-

-
-
-
-

NM_DEVICE_WIMAX_BSID

-
#define NM_DEVICE_WIMAX_BSID             "bsid"
-
-

-

-
-
-
-

NMDeviceWimax

-
typedef struct _NMDeviceWimax NMDeviceWimax;
-

-

-
-
-
-

NMDeviceWimaxClass

-
typedef struct {
-	NMDeviceClass parent;
-
-	/* Signals */
-	void (*nsp_added)   (NMDeviceWimax *self, NMWimaxNsp *nsp);
-	void (*nsp_removed) (NMDeviceWimax *self, NMWimaxNsp *nsp);
-} NMDeviceWimaxClass;
-
-

-

-
-
-
-

nm_device_wimax_new ()

-
GObject *           nm_device_wimax_new                 (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMDeviceWimax. -

-
---- - - - + - - + + - - + + + + + + + + + + + + +

connection :

the DBusGConnection +const GPtrArray * + +nm_device_wimax_get_nsps ()

path :

the D-Bus object path of the WiMAX device +guint + +nm_device_wimax_get_center_frequency () +

Returns :

a new WiMAX device. [transfer full] + +gint + +nm_device_wimax_get_rssi () +
+gint + +nm_device_wimax_get_cinr () +
+gint + +nm_device_wimax_get_tx_power () +
const char * + +nm_device_wimax_get_bsid ()
-
-
-

nm_device_wimax_get_hw_address ()

-
const char *        nm_device_wimax_get_hw_address      (NMDeviceWimax *wimax);
-

-Gets the hardware (MAC) address of the NMDeviceWimax -

-
+
+

Properties

+
--+++ - - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + +

wimax :

a NMDeviceWimax - +NMWimaxNsp *active-nspRead
+gchar *bsidRead
guintcenter-frequencyRead
gintcinrRead
+gchar *hw-addressRead

Returns :

the hardware address. This is the internal string used by the -device, and must not be modified.gintrssiRead
ginttx-powerRead
-
-
-

nm_device_wimax_get_active_nsp ()

-
NMWimaxNsp *        nm_device_wimax_get_active_nsp      (NMDeviceWimax *wimax);
-

-Gets the active NMWimaxNsp. -

-
+
+

Signals

+
--+++ - - + + + - - + + +

wimax :

a NMDeviceWimax -voidnsp-addedRun First

Returns :

the access point or NULL if none is active. [transfer full] -voidnsp-removedRun First
-
-
-

nm_device_wimax_get_nsp_by_path ()

-
NMWimaxNsp *        nm_device_wimax_get_nsp_by_path     (NMDeviceWimax *wimax,
-                                                         const char *path);
-

-Gets a NMWimaxNsp by path. -

-
+
+

Types and Values

+
--++ - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + +

wimax :

a NMDeviceWimax -enumNMDeviceWimaxError

path :

the object path of the NSP#defineNM_DEVICE_WIMAX_ERROR

Returns :

the access point or NULL if none is found. [transfer none] -#defineNM_DEVICE_WIMAX_HW_ADDRESS
#defineNM_DEVICE_WIMAX_ACTIVE_NSP
#defineNM_DEVICE_WIMAX_CENTER_FREQUENCY
#defineNM_DEVICE_WIMAX_RSSI
#defineNM_DEVICE_WIMAX_CINR
#defineNM_DEVICE_WIMAX_TX_POWER
#defineNM_DEVICE_WIMAX_BSID
-
-
-

nm_device_wimax_get_nsps ()

-
const GPtrArray *   nm_device_wimax_get_nsps            (NMDeviceWimax *wimax);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMDevice
+            ╰── NMDeviceWimax
+
+
+
+

Description

-Gets all the scanned NSPs of the NMDeviceWimax.

-
+ +
+

Functions

+
+

nm_device_wimax_error_quark ()

+
GQuark
+nm_device_wimax_error_quark (void);
+

Registers an error quark for NMDeviceWimax if necessary.

+
+

Returns

+

the error quark used for NMDeviceWimax errors.

+

+
+
+
+
+

nm_device_wimax_new ()

+
GObject *
+nm_device_wimax_new (DBusGConnection *connection,
+                     const char *path);
+

Creates a new NMDeviceWimax.

+
+

Parameters

+
--+++ - - + + + - - + + +

wimax :

a NMDeviceWimax -

connection

the DBusGConnection

 

Returns :

a GPtrArray containing -all the scanned NMWimaxNsps. -The returned array is owned by the client and should not be modified. [element-type NMClient.WimaxNsp] -

path

the D-Bus object path of the WiMAX device

 
+
+

Returns

+

a new WiMAX device.

+

[transfer full]

+
+

-

nm_device_wimax_get_center_frequency ()

-
guint               nm_device_wimax_get_center_frequency
-                                                        (NMDeviceWimax *self);
-

-Gets the center frequency (in KHz) of the radio channel the device is using -to communicate with the network when connected. Has no meaning when the -device is not connected. -

-
+

nm_device_wimax_get_hw_address ()

+
const char *
+nm_device_wimax_get_hw_address (NMDeviceWimax *wimax);
+

Gets the hardware (MAC) address of the NMDeviceWimax

+
+

Parameters

+
+++++ + + + + + +

wimax

a NMDeviceWimax

 
+
+
+

Returns

+

the hardware address. This is the internal string used by the +device, and must not be modified.

+

+
+
+
+
+

nm_device_wimax_get_active_nsp ()

+
NMWimaxNsp *
+nm_device_wimax_get_active_nsp (NMDeviceWimax *wimax);
+

Gets the active NMWimaxNsp.

+
+

Parameters

+
--++++ + + + + + +

wimax

a NMDeviceWimax

 
+
+
+

Returns

+

the access point or NULL if none is active.

+

[transfer full]

+
+
+
+
+

nm_device_wimax_get_nsp_by_path ()

+
NMWimaxNsp *
+nm_device_wimax_get_nsp_by_path (NMDeviceWimax *wimax,
+                                 const char *path);
+

Gets a NMWimaxNsp by path.

+
+

Parameters

+
++++ - - + + + - - + + +

self :

a NMDeviceWimax -

wimax

a NMDeviceWimax

 

Returns :

the center frequency in KHz, or 0

path

the object path of the NSP

 
+
+

Returns

+

the access point or NULL if none is found.

+

[transfer none]

+
+

-

nm_device_wimax_get_rssi ()

-
gint                nm_device_wimax_get_rssi            (NMDeviceWimax *self);
-

-Gets the RSSI of the current radio link in dBm. This value indicates how +

nm_device_wimax_get_nsps ()

+
const GPtrArray *
+nm_device_wimax_get_nsps (NMDeviceWimax *wimax);
+

Gets all the scanned NSPs of the NMDeviceWimax.

+
+

Parameters

+
+++++ + + + + + +

wimax

a NMDeviceWimax

 
+
+
+

Returns

+

a GPtrArray containing +all the scanned NMWimaxNsps. +The returned array is owned by the client and should not be modified.

+

[element-type NMClient.WimaxNsp]

+
+
+
+
+

nm_device_wimax_get_center_frequency ()

+
guint
+nm_device_wimax_get_center_frequency (NMDeviceWimax *self);
+

Gets the center frequency (in KHz) of the radio channel the device is using +to communicate with the network when connected. Has no meaning when the +device is not connected.

+
+

Parameters

+
+++++ + + + + + +

self

a NMDeviceWimax

 
+
+
+

Returns

+

the center frequency in KHz, or 0

+

+
+
+
+
+

nm_device_wimax_get_rssi ()

+
gint
+nm_device_wimax_get_rssi (NMDeviceWimax *self);
+

Gets the RSSI of the current radio link in dBm. This value indicates how strong the raw received RF signal from the base station is, but does not indicate the overall quality of the radio link. Has no meaning when the -device is not connected. -

-
+device is not connected.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

self :

a NMDeviceWimax -

Returns :

the RSSI in dBm, or 0

self

a NMDeviceWimax

 
+
+

Returns

+

the RSSI in dBm, or 0

+

+
+

-

nm_device_wimax_get_cinr ()

-
gint                nm_device_wimax_get_cinr            (NMDeviceWimax *self);
-

-Gets the CINR (Carrier to Interference + Noise Ratio) of the current radio +

nm_device_wimax_get_cinr ()

+
gint
+nm_device_wimax_get_cinr (NMDeviceWimax *self);
+

Gets the CINR (Carrier to Interference + Noise Ratio) of the current radio link in dB. CINR is a more accurate measure of radio link quality. Has no -meaning when the device is not connected. -

-
+meaning when the device is not connected.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

self :

a NMDeviceWimax -

Returns :

the CINR in dB, or 0

self

a NMDeviceWimax

 
+
+

Returns

+

the CINR in dB, or 0

+

+
+

-

nm_device_wimax_get_tx_power ()

-
gint                nm_device_wimax_get_tx_power        (NMDeviceWimax *self);
-

-Average power of the last burst transmitted by the device, in units of +

nm_device_wimax_get_tx_power ()

+
gint
+nm_device_wimax_get_tx_power (NMDeviceWimax *self);
+

Average power of the last burst transmitted by the device, in units of 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of --5.5 dBm. Has no meaning when the device is not connected. -

-
+-5.5 dBm. Has no meaning when the device is not connected.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

self :

a NMDeviceWimax -

Returns :

the TX power in dBm, or 0

self

a NMDeviceWimax

 
+
+

Returns

+

the TX power in dBm, or 0

+

+
+

-

nm_device_wimax_get_bsid ()

-
const char *        nm_device_wimax_get_bsid            (NMDeviceWimax *self);
-

-Gets the ID of the serving Base Station when the device is connected. -

-
+

nm_device_wimax_get_bsid ()

+
const char *
+nm_device_wimax_get_bsid (NMDeviceWimax *self);
+

Gets the ID of the serving Base Station when the device is connected.

+
+

Parameters

+
+++++ + + + + + +

self

a NMDeviceWimax

 
+
+
+

Returns

+

the ID of the serving Base Station, or NULL

+

+
+
+
+
+

Types and Values

+
+

enum NMDeviceWimaxError

+
+

Members

+
--+++ - - + + - - + + + + + + + + + + + + + + + + +

self :

a NMDeviceWimax +

NM_DEVICE_WIMAX_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

the ID of the serving Base Station, or NULL +

NM_DEVICE_WIMAX_ERROR_NOT_WIMAX_CONNECTION

+

the connection was not of WiMax type

 

NM_DEVICE_WIMAX_ERROR_INVALID_WIMAX_CONNECTION

+

the WiMax connection was invalid

+
 

NM_DEVICE_WIMAX_ERROR_INVALID_DEVICE_MAC

+

the device's MAC was invalid

+
 

NM_DEVICE_WIMAX_ERROR_MAC_MISMATCH

+

the MACs of the connection and the device mismatched

+
 
-
-

Property Details

+
-

The "active-nsp" property

-
  "active-nsp"               NMWimaxNsp*           : Read
+

NM_DEVICE_WIMAX_ERROR

+
#define NM_DEVICE_WIMAX_ERROR nm_device_wimax_error_quark ()
+

-The active NMWimaxNsp of the device.


-

The "bsid" property

-
  "bsid"                     gchar*                : Read
+

NM_DEVICE_WIMAX_HW_ADDRESS

+
#define NM_DEVICE_WIMAX_HW_ADDRESS       "hw-address"
+

-The ID of the serving base station as received from the network. Has -no meaning when the device is not connected.

-

Default value: NULL


-

The "center-frequency" property

-
  "center-frequency"         guint                 : Read
+

NM_DEVICE_WIMAX_ACTIVE_NSP

+
#define NM_DEVICE_WIMAX_ACTIVE_NSP       "active-nsp"
+

-The center frequency (in KHz) of the radio channel the device is using to -communicate with the network when connected. Has no meaning when the -device is not connected.

-

Default value: 0


-

The "cinr" property

-
  "cinr"                     gint                  : Read
+

NM_DEVICE_WIMAX_CENTER_FREQUENCY

+
#define NM_DEVICE_WIMAX_CENTER_FREQUENCY "center-frequency"
+

-CINR (Carrier to Interference + Noise Ratio) of the current radio link -in dB. CINR is a more accurate measure of radio link quality. Has no -meaning when the device is not connected.

-

Default value: 0


-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
+

NM_DEVICE_WIMAX_RSSI

+
#define NM_DEVICE_WIMAX_RSSI             "rssi"
+

-The hardware (MAC) address of the device.

-

Default value: NULL


-

The "rssi" property

-
  "rssi"                     gint                  : Read
+

NM_DEVICE_WIMAX_CINR

+
#define NM_DEVICE_WIMAX_CINR             "cinr"
+

-RSSI of the current radio link in dBm. This value indicates how strong -the raw received RF signal from the base station is, but does not -indicate the overall quality of the radio link. Has no meaning when the -device is not connected.

-

Default value: 0


-

The "tx-power" property

-
  "tx-power"                 gint                  : Read
+

NM_DEVICE_WIMAX_TX_POWER

+
#define NM_DEVICE_WIMAX_TX_POWER         "tx-power"
+
+

+

+
+
+
+

NM_DEVICE_WIMAX_BSID

+
#define NM_DEVICE_WIMAX_BSID             "bsid"
+

-Average power of the last burst transmitted by the device, in units of -0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of --5.5 dBm. Has no meaning when the device is not connected.

+
+
+
+

Property Details

+
+

The “active-nsp” property

+
  “active-nsp”               NMWimaxNsp *
+

Active NSP.

+

Flags: Read

+
+
+
+

The “bsid” property

+
  “bsid”                     gchar *
+

BSID.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “center-frequency” property

+
  “center-frequency”         guint
+

Center frequency.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “cinr” property

+
  “cinr”                     gint
+

CINR.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “hw-address” property

+
  “hw-address”               gchar *
+

Hardware MAC address.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “rssi” property

+
  “rssi”                     gint
+

RSSI.

+

Flags: Read

+

Default value: 0

+
+
+
+

The “tx-power” property

+
  “tx-power”                 gint
+

TX Power.

+

Flags: Read

Default value: 0

Signal Details

-

The "nsp-added" signal

-
void                user_function                      (NMDeviceWimax *self,
-                                                        GObject       *nsp,
-                                                        gpointer       user_data)      : Run First
-

-Notifies that a NMWimaxNsp is added to the wimax device. -

-
---- - - - - - - - - - - - - - - -

self :

the wimax device that received the signal

nsp :

the new NSP

user_data :

user data set when the signal handler was connected.
+

The “nsp-added” signal

+
void
+user_function (NMDeviceWimax *self,
+               GObject       *nsp,
+               gpointer       user_data)
+

Flags: Run First


-

The "nsp-removed" signal

-
void                user_function                      (NMDeviceWimax *self,
-                                                        GObject       *nsp,
-                                                        gpointer       user_data)      : Run First
-

-Notifies that a NMWimaxNsp is removed from the wimax device. -

-
---- - - - - - - - - - - - - - - -

self :

the wimax device that received the signal

nsp :

the removed NSP

user_data :

user data set when the signal handler was connected.
+

The “nsp-removed” signal

+
void
+user_function (NMDeviceWimax *self,
+               GObject       *nsp,
+               gpointer       user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP4Config.html b/docs/libnm-glib/html/NMIP4Config.html index 7aa6f67d..4c5fbe76 100644 --- a/docs/libnm-glib/html/NMIP4Config.html +++ b/docs/libnm-glib/html/NMIP4Config.html @@ -2,36 +2,28 @@ -NMIP4Config +libnm-glib Reference Manual: NMIP4Config - + - - - - - - - - - - + + + + + + +
@@ -39,334 +31,405 @@

NMIP4Config

NMIP4Config

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMIP4Config
-
-
-
-

Implemented Interfaces

-

-NMIP4Config implements - GInitable and GAsyncInitable.

-
-

Properties

-
-  "addresses"                gpointer              : Read
-  "domains"                  NMStringArray*        : Read
-  "nameservers"              NMUintArray*          : Read
-  "routes"                   gpointer              : Read
-  "wins-servers"             NMUintArray*          : Read
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NMIP4Config

-
typedef struct _NMIP4Config NMIP4Config;
-

-

-
-
-
-

NMIP4ConfigClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMIP4ConfigClass;
-
-

-

-
-
-
-

NM_IP4_CONFIG_ADDRESSES

-
#define NM_IP4_CONFIG_ADDRESSES "addresses"
-
-

-

-
-
-
-

NM_IP4_CONFIG_NAMESERVERS

-
#define NM_IP4_CONFIG_NAMESERVERS "nameservers"
-
-

-

-
-
-
-

NM_IP4_CONFIG_DOMAINS

-
#define NM_IP4_CONFIG_DOMAINS "domains"
-
-

-

-
-
-
-

NM_IP4_CONFIG_ROUTES

-
#define NM_IP4_CONFIG_ROUTES "routes"
-
-

-

-
-
-
-

NM_IP4_CONFIG_WINS_SERVERS

-
#define NM_IP4_CONFIG_WINS_SERVERS "wins-servers"
-
-

-

-
-
-
-

nm_ip4_config_new ()

-
GObject *           nm_ip4_config_new                   (DBusGConnection *connection,
-                                                         const char *object_path);
-

-Creates a new NMIP4Config. -

-
+

Functions

+
--++ - - + - - + + - - + - -

connection :

the DBusGConnection + +GObject * + +nm_ip4_config_new ()

object_path :

the DBus object path of the deviceconst GSList * + +nm_ip4_config_get_addresses () +

Returns :

a new IP4 configuration. [transfer full] +const GArray * + +nm_ip4_config_get_nameservers ()
-
-
-
-

nm_ip4_config_get_addresses ()

-
const GSList *      nm_ip4_config_get_addresses         (NMIP4Config *config);
-

-Gets the IP4 addresses (containing the address, prefix, and gateway). -

-
---- - - - + + + + + - - +

config :

a NMIP4Config +const GPtrArray * + +nm_ip4_config_get_domains () +
const GSList * + +nm_ip4_config_get_routes ()

Returns :

the GSList containing NMIP4Addresses. -This is the internal copy used by the configuration and must not be modified. [element-type NetworkManager.IP4Address] +const GArray * + +nm_ip4_config_get_wins_servers ()
-
-
-

nm_ip4_config_get_nameservers ()

-
const GArray *      nm_ip4_config_get_nameservers       (NMIP4Config *config);
-

-Gets the domain name servers (DNS). -

-
+
+

Properties

+
--+++ - - + + + - - + + + + + + + + + + + + + + + + + +

config :

a NMIP4Config -gpointeraddressesRead

Returns :

the GArray containing guint32s. This is the internal copy used by the -configuration and must not be modified. [element-type guint32] - +NMStringArray *domainsRead
+NMUintArray *nameserversRead
gpointerroutesRead
+NMUintArray *wins-serversRead
-
-
-

nm_ip4_config_get_domains ()

-
const GPtrArray *   nm_ip4_config_get_domains           (NMIP4Config *config);
-

-Gets the domain names. -

-
+
+

Types and Values

+
--++ - - + + - - + + + + + + + + + + + + + +

config :

a NMIP4Config -#defineNM_IP4_CONFIG_ADDRESSES

Returns :

the GPtrArray containing domains as strings. This is the -internal copy used by the configuration, and must not be modified. [element-type utf8] -#defineNM_IP4_CONFIG_NAMESERVERS
#defineNM_IP4_CONFIG_DOMAINS
#defineNM_IP4_CONFIG_ROUTES
#defineNM_IP4_CONFIG_WINS_SERVERS
-
-
-

nm_ip4_config_get_routes ()

-
const GSList *      nm_ip4_config_get_routes            (NMIP4Config *config);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMIP4Config
+
+
+
+

Description

-Gets the routes.

-
+ +
+

Functions

+
+

nm_ip4_config_new ()

+
GObject *
+nm_ip4_config_new (DBusGConnection *connection,
+                   const char *object_path);
+

Creates a new NMIP4Config.

+
+

Parameters

+
--+++ - - + + + - - + + +

config :

a NMIP4Config -

connection

the DBusGConnection

 

Returns :

the GSList containing -NMIP4Routes. This is the internal copy used by the configuration, -and must not be modified. [element-type NetworkManager.IP4Route] -

object_path

the DBus object path of the device

 
+
+

Returns

+

a new IP4 configuration.

+

[transfer full]

+
+

-

nm_ip4_config_get_wins_servers ()

-
const GArray *      nm_ip4_config_get_wins_servers      (NMIP4Config *config);
-

-Gets the Windows Internet Name Service servers (WINS). -

-
+

nm_ip4_config_get_addresses ()

+
const GSList *
+nm_ip4_config_get_addresses (NMIP4Config *config);
+

Gets the IP4 addresses (containing the address, prefix, and gateway).

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + + +

config :

a NMIP4Config -

Returns :

the GArray containing guint32s. -This is the internal copy used by the configuration and must not be modified. [element-type guint32] -

config

a NMIP4Config

 
+
+
+

Returns

+

the GSList containing NMIP4Addresses. +This is the internal copy used by the configuration and must not be modified.

+

[element-type NetworkManager.IP4Address]

+
+
+
+
+

nm_ip4_config_get_nameservers ()

+
const GArray *
+nm_ip4_config_get_nameservers (NMIP4Config *config);
+

Gets the domain name servers (DNS).

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP4Config

 
+
+
+

Returns

+

the GArray containing guint32s. This is the internal copy used by the +configuration and must not be modified.

+

[element-type guint32]

+
+
+
+
+

nm_ip4_config_get_domains ()

+
const GPtrArray *
+nm_ip4_config_get_domains (NMIP4Config *config);
+

Gets the domain names.

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP4Config

 
+
+
+

Returns

+

the GPtrArray containing domains as strings. This is the +internal copy used by the configuration, and must not be modified.

+

[element-type utf8]

+
+
+
+
+

nm_ip4_config_get_routes ()

+
const GSList *
+nm_ip4_config_get_routes (NMIP4Config *config);
+

Gets the routes.

+
+

Parameters

+
+++++ + + + + +

config

a NMIP4Config

 
+
+

Returns

+

the GSList containing +NMIP4Routes. This is the internal copy used by the configuration, +and must not be modified.

+

[element-type NetworkManager.IP4Route]

+
+
+
+
+

nm_ip4_config_get_wins_servers ()

+
const GArray *
+nm_ip4_config_get_wins_servers (NMIP4Config *config);
+

Gets the Windows Internet Name Service servers (WINS).

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP4Config

 
+
+
+

Returns

+

the GArray containing guint32s. +This is the internal copy used by the configuration and must not be modified.

+

[element-type guint32]

+
+
-

Property Details

+

Types and Values

-

The "addresses" property

-
  "addresses"                gpointer              : Read
+

NM_IP4_CONFIG_ADDRESSES

+
#define NM_IP4_CONFIG_ADDRESSES "addresses"
+

-The GPtrArray containing NMSettingIP4Addresses of the configuration.


-

The "domains" property

-
  "domains"                  NMStringArray*        : Read
+

NM_IP4_CONFIG_NAMESERVERS

+
#define NM_IP4_CONFIG_NAMESERVERS "nameservers"
+

-The GPtrArray containing domain strings of the configuration.


-

The "nameservers" property

-
  "nameservers"              NMUintArray*          : Read
+

NM_IP4_CONFIG_DOMAINS

+
#define NM_IP4_CONFIG_DOMAINS "domains"
+

-The GArray containing name servers (guint32es) of the configuration.


-

The "routes" property

-
  "routes"                   gpointer              : Read
+

NM_IP4_CONFIG_ROUTES

+
#define NM_IP4_CONFIG_ROUTES "routes"
+

-The GPtrArray containing NMSettingIP4Routes of the configuration.


-

The "wins-servers" property

-
  "wins-servers"             NMUintArray*          : Read
+

NM_IP4_CONFIG_WINS_SERVERS

+
#define NM_IP4_CONFIG_WINS_SERVERS "wins-servers"
+

-The GArray containing WINS servers (guint32es) of the configuration.

+
+

Property Details

+
+

The “addresses” property

+
  “addresses”                gpointer
+

Addresses.

+

Flags: Read

+
+
+
+

The “domains” property

+
  “domains”                  NMStringArray *
+

Domains.

+

Flags: Read

+
+
+
+

The “nameservers” property

+
  “nameservers”              NMUintArray *
+

Nameservers.

+

Flags: Read

+
+
+
+

The “routes” property

+
  “routes”                   gpointer
+

Routes.

+

Flags: Read

+
+
+
+

The “wins-servers” property

+
  “wins-servers”             NMUintArray *
+

WINS Servers.

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP6Config.html b/docs/libnm-glib/html/NMIP6Config.html index 67518a3d..4d918c54 100644 --- a/docs/libnm-glib/html/NMIP6Config.html +++ b/docs/libnm-glib/html/NMIP6Config.html @@ -2,36 +2,28 @@ -NMIP6Config +libnm-glib Reference Manual: NMIP6Config - + - - - - - - - - - - + + + + + + +
@@ -39,294 +31,349 @@

NMIP6Config

NMIP6Config

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMIP6Config
-
-
-
-

Implemented Interfaces

-

-NMIP6Config implements - GInitable and GAsyncInitable.

-
-

Properties

-
-  "addresses"                NMIP6AddressObjectArray*  : Read
-  "domains"                  NMStringArray*        : Read
-  "nameservers"              NMIP6AddressArray*    : Read
-  "routes"                   NMIP6RouteObjectArray*  : Read
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NMIP6Config

-
typedef struct _NMIP6Config NMIP6Config;
-

-

-
-
-
-

NMIP6ConfigClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMIP6ConfigClass;
-
-

-

-
-
-
-

NM_IP6_CONFIG_ADDRESSES

-
#define NM_IP6_CONFIG_ADDRESSES "addresses"
-
-

-

-
-
-
-

NM_IP6_CONFIG_NAMESERVERS

-
#define NM_IP6_CONFIG_NAMESERVERS "nameservers"
-
-

-

-
-
-
-

NM_IP6_CONFIG_DOMAINS

-
#define NM_IP6_CONFIG_DOMAINS "domains"
-
-

-

-
-
-
-

NM_IP6_CONFIG_ROUTES

-
#define NM_IP6_CONFIG_ROUTES "routes"
-
-

-

-
-
-
-

nm_ip6_config_new ()

-
GObject *           nm_ip6_config_new                   (DBusGConnection *connection,
-                                                         const char *object_path);
-

-Creates a new NMIP6Config. -

-
+

Functions

+
--++ - - + - - + + - - + - -

connection :

the DBusGConnection + +GObject * + +nm_ip6_config_new ()

object_path :

the DBus object path of the deviceconst GSList * + +nm_ip6_config_get_addresses () +

Returns :

a new IP6 configuration. [transfer full] +const GSList * + +nm_ip6_config_get_nameservers ()
-
-
-
-

nm_ip6_config_get_addresses ()

-
const GSList *      nm_ip6_config_get_addresses         (NMIP6Config *config);
-

-Gets the IP6 addresses (containing the address, prefix, and gateway). -

-
---- - - - + - - +

config :

a NMIP6Config +const GPtrArray * + +nm_ip6_config_get_domains ()

Returns :

the GSList containing -NMIP6Addresses. This is the internal copy used by the configuration -and must not be modified. [element-type NetworkManager.IP6Address] +const GSList * + +nm_ip6_config_get_routes ()
-
-
-

nm_ip6_config_get_nameservers ()

-
const GSList *      nm_ip6_config_get_nameservers       (NMIP6Config *config);
-

-Gets the domain name servers (DNS). -

-
+
+

Properties

+
--+++ - - + + + - - + + + + + + + + + + + + +

config :

a NMIP6Config - +NMIP6AddressObjectArray *addressesRead

Returns :

a GSList containing elements of type 'struct in6_addr' which -contain the addresses of nameservers of the configuration. This is the -internal copy used by the configuration and must not be modified. +NMStringArray *domainsRead
+NMIP6AddressArray *nameserversRead
+NMIP6RouteObjectArray *routesRead
-
-
-

nm_ip6_config_get_domains ()

-
const GPtrArray *   nm_ip6_config_get_domains           (NMIP6Config *config);
-

-Gets the domain names. -

-
+
+

Types and Values

+
--++ - - + + - - + + + + + + + + + +

config :

a NMIP6Config -#defineNM_IP6_CONFIG_ADDRESSES

Returns :

the GPtrArray containing domains as strings. -This is the internal copy used by the configuration, and must not be modified. [element-type utf8] -#defineNM_IP6_CONFIG_NAMESERVERS
#defineNM_IP6_CONFIG_DOMAINS
#defineNM_IP6_CONFIG_ROUTES
-
-
-

nm_ip6_config_get_routes ()

-
const GSList *      nm_ip6_config_get_routes            (NMIP6Config *config);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMIP6Config
+
+
+
+

Description

-Gets the routes.

-
+ +
+

Functions

+
+

nm_ip6_config_new ()

+
GObject *
+nm_ip6_config_new (DBusGConnection *connection,
+                   const char *object_path);
+

Creates a new NMIP6Config.

+
+

Parameters

+
--+++ - - + + + - - + + +

config :

a NMIP6Config -

connection

the DBusGConnection

 

Returns :

the GSList containing -NMIP6Routes. This is the internal copy used by the configuration, -and must not be modified. [element-type NetworkManager.IP6Route] -

object_path

the DBus object path of the device

 
+
+

Returns

+

a new IP6 configuration.

+

[transfer full]

+
+
+
+
+

nm_ip6_config_get_addresses ()

+
const GSList *
+nm_ip6_config_get_addresses (NMIP6Config *config);
+

Gets the IP6 addresses (containing the address, prefix, and gateway).

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP6Config

 
+
+
+

Returns

+

the GSList containing +NMIP6Addresses. This is the internal copy used by the configuration +and must not be modified.

+

[element-type NetworkManager.IP6Address]

+
+
+
+
+

nm_ip6_config_get_nameservers ()

+
const GSList *
+nm_ip6_config_get_nameservers (NMIP6Config *config);
+

Gets the domain name servers (DNS).

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP6Config

 
+
+
+

Returns

+

a GSList containing elements of type 'struct in6_addr' which +contain the addresses of nameservers of the configuration. This is the +internal copy used by the configuration and must not be modified.

+

+
+
+
+
+

nm_ip6_config_get_domains ()

+
const GPtrArray *
+nm_ip6_config_get_domains (NMIP6Config *config);
+

Gets the domain names.

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP6Config

 
+
+
+

Returns

+

the GPtrArray containing domains as strings. +This is the internal copy used by the configuration, and must not be modified.

+

[element-type utf8]

+
+
+
+
+

nm_ip6_config_get_routes ()

+
const GSList *
+nm_ip6_config_get_routes (NMIP6Config *config);
+

Gets the routes.

+
+

Parameters

+
+++++ + + + + + +

config

a NMIP6Config

 
+
+
+

Returns

+

the GSList containing +NMIP6Routes. This is the internal copy used by the configuration, +and must not be modified.

+

[element-type NetworkManager.IP6Route]

+
+
-

Property Details

+

Types and Values

-

The "addresses" property

-
  "addresses"                NMIP6AddressObjectArray*  : Read
+

NM_IP6_CONFIG_ADDRESSES

+
#define NM_IP6_CONFIG_ADDRESSES "addresses"
+

-The GPtrArray containing the IPv6 addresses; use -nm_utils_ip6_addresses_from_gvalue() to return a GSList of -NMSettingIP6Address objects that is more usable than the raw data.


-

The "domains" property

-
  "domains"                  NMStringArray*        : Read
+

NM_IP6_CONFIG_NAMESERVERS

+
#define NM_IP6_CONFIG_NAMESERVERS "nameservers"
+

-The GPtrArray containing domain strings of the configuration.


-

The "nameservers" property

-
  "nameservers"              NMIP6AddressArray*    : Read
+

NM_IP6_CONFIG_DOMAINS

+
#define NM_IP6_CONFIG_DOMAINS "domains"
+

-The GPtrArray containing elements of type 'struct ip6_addr' which -contain the addresses of nameservers of the configuration.


-

The "routes" property

-
  "routes"                   NMIP6RouteObjectArray*  : Read
+

NM_IP6_CONFIG_ROUTES

+
#define NM_IP6_CONFIG_ROUTES "routes"
+

-The GPtrArray containing the IPv6 routes; use -nm_utils_ip6_routes_from_gvalue() to return a GSList of -NMSettingIP6Address objects that is more usable than the raw data.

+
+

Property Details

+
+

The “addresses” property

+
  “addresses”                NMIP6AddressObjectArray *
+

Addresses.

+

Flags: Read

+
+
+
+

The “domains” property

+
  “domains”                  NMStringArray *
+

Domains.

+

Flags: Read

+
+
+
+

The “nameservers” property

+
  “nameservers”              NMIP6AddressArray *
+

Nameservers.

+

Flags: Read

+
+
+
+

The “routes” property

+
  “routes”                   NMIP6RouteObjectArray *
+

Routes.

+

Flags: Read

+
+
+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMObject.html b/docs/libnm-glib/html/NMObject.html index 99b05001..6d3c8a09 100644 --- a/docs/libnm-glib/html/NMObject.html +++ b/docs/libnm-glib/html/NMObject.html @@ -2,38 +2,29 @@ -NMObject +libnm-glib Reference Manual: NMObject - + - - - - - - - - - - + + + + + + +
@@ -41,281 +32,286 @@

NMObject

NMObject

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMClient
-         +----NMDevice
-         +----NMWimaxNsp
-         +----NMAccessPoint
-         +----NMIP4Config
-         +----NMIP6Config
-         +----NMActiveConnection
-         +----NMDHCP4Config
-         +----NMDHCP6Config
-
-
-

Implemented Interfaces

-

-NMObject implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + +
+GQuark + +nm_object_error_quark () +
+DBusGConnection * + +nm_object_get_connection () +
const char * + +nm_object_get_path () +

Properties

-
-  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only
-  "dbus-path"                gchar*                : Read / Write / Construct Only
-
+
+++++ + + + + + + + + + + + + +
+DBusGConnection *dbus-connectionRead / Write / Construct Only
+gchar *dbus-pathRead / Write / Construct Only

Signals

-
-  "object-creation-failed"                         : Run First
-
-
-
-

Description

-

-

+
+++++ + + + + + +
voidobject-creation-failedRun First
-

Details

-
-

enum NMObjectError

-
typedef enum {
-	NM_OBJECT_ERROR_UNKNOWN = 0,
-	NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE,
-} NMObjectError;
-
-

-Describes errors that may result from operations involving a NMObject. -

-
+

Types and Values

+
--++ - - + + - - + + + + + + + + + +

NM_OBJECT_ERROR_UNKNOWN

unknown or unclassified error -enumNMObjectError

NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE

an error ocured while creating an NMObject -#defineNM_OBJECT_ERROR
#defineNM_OBJECT_DBUS_CONNECTION
#defineNM_OBJECT_DBUS_PATH
-
-
-

NM_OBJECT_ERROR

-
#define NM_OBJECT_ERROR nm_object_error_quark ()
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ├── NMClient
+        ├── NMDevice
+        ├── NMWimaxNsp
+        ├── NMAccessPoint
+        ├── NMIP4Config
+        ├── NMIP6Config
+        ├── NMActiveConnection
+        ├── NMDHCP4Config
+        ╰── NMDHCP6Config
 
+
+
+

Description

+
+

Functions

+
+

nm_object_error_quark ()

+
GQuark
+nm_object_error_quark (void);
+

Registers an error quark for NMObject if necessary.

+
+

Returns

+

the error quark used for NMObject errors.

+

+
+

-

nm_object_error_quark ()

-
GQuark              nm_object_error_quark               (void);
-

-Registers an error quark for NMObject if necessary. -

-
+

nm_object_get_connection ()

+
DBusGConnection *
+nm_object_get_connection (NMObject *object);
+

Gets the NMObject's DBusGConnection.

+
+

Parameters

+
--+++ - - + + +

Returns :

the error quark used for NMObject errors.

object

a NMObject

 
-
-
-

NM_OBJECT_DBUS_CONNECTION

-
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
-
-

-

+
+

Returns

+

the connection.

+

[transfer none]

-
-
-

NM_OBJECT_DBUS_PATH

-
#define NM_OBJECT_DBUS_PATH "dbus-path"
-
-

-


-

NMObject

-
typedef struct _NMObject NMObject;
-

-

+

nm_object_get_path ()

+
const char *
+nm_object_get_path (NMObject *object);
+

Gets the DBus path of the NMObject.

+
+

Parameters

+
+++++ + + + + + +

object

a NMObject

 
-
-
-

NMObjectClass

-
typedef struct {
-	GObjectClass parent;
-
-	/* Signals */
-	/* The "object-creation-failed" signal is PRIVATE for libnm-glib and
-	 * is not meant for any external usage.  It indicates that an error
-	 * occured during creation of an object.
-	 */
-	void (*object_creation_failed) (NMObject *master_object,
-	                                GError *error,
-	                                char *failed_path);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMObjectClass;
-
-

-

+
+

Returns

+

the object's path. This is the internal string used by the +device, and must not be modified.

+

-
+
+
+
+

Types and Values

-

nm_object_get_connection ()

-
DBusGConnection *   nm_object_get_connection            (NMObject *object);
-

-Gets the NMObject's DBusGConnection. -

-
+

enum NMObjectError

+

Describes errors that may result from operations involving a NMObject.

+
+

Members

+
--+++ - - + + - - + +

object :

a NMObject +

NM_OBJECT_ERROR_UNKNOWN

+

unknown or unclassified error

 

Returns :

the connection. [transfer none] +

NM_OBJECT_ERROR_OBJECT_CREATION_FAILURE

+

an error ocured while creating an NMObject

 
+

-

nm_object_get_path ()

-
const char *        nm_object_get_path                  (NMObject *object);
+

NM_OBJECT_ERROR

+
#define NM_OBJECT_ERROR nm_object_error_quark ()
+
+

+

+
+
+
+

NM_OBJECT_DBUS_CONNECTION

+
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
+
+

+

+
+
+
+

NM_OBJECT_DBUS_PATH

+
#define NM_OBJECT_DBUS_PATH "dbus-path"
+

-Gets the DBus path of the NMObject.

-
---- - - - - - - - - - - -

object :

a NMObject -

Returns :

the object's path. This is the internal string used by the -device, and must not be modified.

Property Details

-

The "dbus-connection" property

-
  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only
+

The “dbus-connection” property

+
  “dbus-connection”          DBusGConnection *

Connection.

+

Flags: Read / Write / Construct Only


-

The "dbus-path" property

-
  "dbus-path"                gchar*                : Read / Write / Construct Only
+

The “dbus-path” property

+
  “dbus-path”                gchar *

DBus Object Path.

+

Flags: Read / Write / Construct Only

Default value: NULL

Signal Details

-

The "object-creation-failed" signal

-
void                user_function                      (NMObject *master_object,
-                                                        gpointer  error,
-                                                        gpointer  failed_path,
-                                                        gpointer  user_data)          : Run First
-

-Indicates that an error occured while creating an NMObject object -during property handling of master_object. -

-

-Note: Be aware that the signal is private for libnm-glib's internal - use. -

-
---- - - - - - - - - - - - - - - - - - - -

master_object :

the object that received the signal

error :

the error that occured while creating object

failed_path :

object path of the failed object

user_data :

user data set when the signal handler was connected.
+

The “object-creation-failed” signal

+
void
+user_function (NMObject *master_object,
+               gpointer  error,
+               gpointer  failed_path,
+               gpointer  user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMRemoteConnection.html b/docs/libnm-glib/html/NMRemoteConnection.html index 127b665b..36b650d5 100644 --- a/docs/libnm-glib/html/NMRemoteConnection.html +++ b/docs/libnm-glib/html/NMRemoteConnection.html @@ -2,38 +2,29 @@ -NMRemoteConnection +libnm-glib Reference Manual: NMRemoteConnection - + - - - - - - - - - - + + + + + + +
@@ -41,467 +32,511 @@

NMRemoteConnection

NMRemoteConnection

- +
-
-

Synopsis

-
#define             NM_REMOTE_CONNECTION_UPDATED
-#define             NM_REMOTE_CONNECTION_REMOVED
-                    NMRemoteConnection;
-                    NMRemoteConnectionClass;
-void                (*NMRemoteConnectionCommitFunc)     (NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                (*NMRemoteConnectionDeleteFunc)     (NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
-                                                         GHashTable *secrets,
-                                                         GError *error,
-                                                         gpointer user_data);
-NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
-                                                         const char *path);
-void                nm_remote_connection_commit_changes (NMRemoteConnection *connection,
-                                                         NMRemoteConnectionCommitFunc callback,
-                                                         gpointer user_data);
-void                nm_remote_connection_delete         (NMRemoteConnection *connection,
-                                                         NMRemoteConnectionDeleteFunc callback,
-                                                         gpointer user_data);
-void                nm_remote_connection_get_secrets    (NMRemoteConnection *connection,
-                                                         const char *setting_name,
-                                                         NMRemoteConnectionGetSecretsFunc callback,
-                                                         gpointer user_data);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----NMConnection
-         +----NMRemoteConnection
-
-
-

Implemented Interfaces

-

-NMRemoteConnection implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+void + +(*NMRemoteConnectionCommitFunc) () +
+void + +(*NMRemoteConnectionDeleteFunc) () +
+void + +(*NMRemoteConnectionGetSecretsFunc) () +
+NMRemoteConnection * + +nm_remote_connection_new () +
+void + +nm_remote_connection_commit_changes () +
+void + +nm_remote_connection_delete () +
+void + +nm_remote_connection_get_secrets () +

Properties

-
-  "bus"                      DBusGConnection*      : Write / Construct Only
-  "dbus-connection"          DBusGConnection*      : Write / Construct Only
-  "dbus-path"                gchar*                : Write / Construct Only
-
+
+++++ + + + + + + + + + + + + + + + + + +
+DBusGConnection *busWrite / Construct Only
+DBusGConnection *dbus-connectionWrite / Construct Only
+gchar *dbus-pathWrite / Construct Only

Signals

-
-  "removed"                                        : Run First
-  "updated"                                        : Run First
-  "visible"                                        : Run First
-
+
+++++ + + + + + + + + + + + + + + + + + +
voidremovedRun First
voidupdatedRun First
voidvisibleRun First
-

Description

-

-

+

Types and Values

+
++++ + + + + + + + + + + +
#defineNM_REMOTE_CONNECTION_UPDATED
#defineNM_REMOTE_CONNECTION_REMOVED
-

Details

-
-

NM_REMOTE_CONNECTION_UPDATED

-
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
-
-

-

-
-
-
-

NM_REMOTE_CONNECTION_REMOVED

-
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
+

Object Hierarchy

+
    GObject
+    ╰── NMConnection
+        ╰── NMRemoteConnection
 
-

-

-
-
-
-

NMRemoteConnection

-
typedef struct _NMRemoteConnection NMRemoteConnection;
-

-

-
-
-

NMRemoteConnectionClass

-
typedef struct {
-	NMConnectionClass parent_class;
-
-	/* Signals */
-	void (*updated) (NMRemoteConnection *connection,
-	                 GHashTable *new_settings);
-
-	void (*removed) (NMRemoteConnection *connection);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMRemoteConnectionClass;
-
+
+

Description

-
+
+

Functions

-

NMRemoteConnectionCommitFunc ()

-
void                (*NMRemoteConnectionCommitFunc)     (NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-Called when NetworkManager has committed outstanding changes to a connection -to backing storage as a result of nm_remote_connection_commit_changes(). -

-
+

NMRemoteConnectionCommitFunc ()

+
void
+(*NMRemoteConnectionCommitFunc) (NMRemoteConnection *connection,
+                                 GError *error,
+                                 gpointer user_data);
+

Called when NetworkManager has committed outstanding changes to a connection +to backing storage as a result of nm_remote_connection_commit_changes().

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + +

connection :

the connection for which updates are to be committed

connection

the connection for which updates are to be committed

 

error :

on failure, a descriptive error

error

on failure, a descriptive error

 

user_data :

user data passed to nm_remote_connection_commit_changes() -

user_data

user data passed to nm_remote_connection_commit_changes()

 
+

-

NMRemoteConnectionDeleteFunc ()

-
void                (*NMRemoteConnectionDeleteFunc)     (NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-Called when NetworkManager has deleted a connection as a result of -nm_remote_connection_delete(). -

-
+

NMRemoteConnectionDeleteFunc ()

+
void
+(*NMRemoteConnectionDeleteFunc) (NMRemoteConnection *connection,
+                                 GError *error,
+                                 gpointer user_data);
+

Called when NetworkManager has deleted a connection as a result of +nm_remote_connection_delete().

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + +

connection :

the connection to be deleted

connection

the connection to be deleted

 

error :

on failure, a descriptive error

error

on failure, a descriptive error

 

user_data :

user data passed to nm_remote_connection_delete() -

user_data

user data passed to nm_remote_connection_delete()

 
+

-

NMRemoteConnectionGetSecretsFunc ()

-
void                (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
-                                                         GHashTable *secrets,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-Called when NetworkManager returns secrets in response to a request for -secrets via nm_remote_connection_get_secrets(). -

-
+

NMRemoteConnectionGetSecretsFunc ()

+
void
+(*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
+                                     GHashTable *secrets,
+                                     GError *error,
+                                     gpointer user_data);
+

Called when NetworkManager returns secrets in response to a request for +secrets via nm_remote_connection_get_secrets().

+
+

Parameters

+
--+++ - - + + + - - + +containing that property's value.

+ - - + + + - - + + +

connection :

the connection for which secrets were requested

connection

the connection for which secrets were requested

 

secrets :

on success, a hash table of +

secrets

on success, a hash table of hash tables, with each inner hash mapping a setting property to a GValue -containing that property's value. [element-type utf8 GLib.HashTable] -

[element-type utf8 GLib.HashTable]

error :

on failure, a descriptive error

error

on failure, a descriptive error

 

user_data :

user data passed to nm_remote_connection_get_secrets() -

user_data

user data passed to nm_remote_connection_get_secrets()

 
+

-

nm_remote_connection_new ()

-
NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
-                                                         const char *path);
-

-Creates a new object representing the remote connection. -

-
+

nm_remote_connection_new ()

+
NMRemoteConnection *
+nm_remote_connection_new (DBusGConnection *bus,
+                          const char *path);
+

Creates a new object representing the remote connection.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

bus :

a valid and connected D-Bus connection

path :

the D-Bus path of the connection as exported by the settings service

bus

a valid and connected D-Bus connection

 

Returns :

the new remote connection object on success, or NULL on failure

path

the D-Bus path of the connection as exported by the settings service

 
+
+

Returns

+

the new remote connection object on success, or NULL on failure

+

+
+

-

nm_remote_connection_commit_changes ()

-
void                nm_remote_connection_commit_changes (NMRemoteConnection *connection,
-                                                         NMRemoteConnectionCommitFunc callback,
-                                                         gpointer user_data);
-

-Save any local changes to the settings and properties of this connection and -save them in the settings service. -

-
+

nm_remote_connection_commit_changes ()

+
void
+nm_remote_connection_commit_changes (NMRemoteConnection *connection,
+                                     NMRemoteConnectionCommitFunc callback,
+                                     gpointer user_data);
+

Save any local changes to the settings and properties of this connection and +save them in the settings service.

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + +

connection :

the NMRemoteConnection -

connection

the NMRemoteConnection

 

callback :

a function to be called when the -commit completes. [scope async][allow-none] -

callback

a function to be called when the +commit completes.

[scope async][allow-none]

user_data :

caller-specific data to be passed to callback. [closure] -

user_data

caller-specific data to be passed to callback +.

[closure]
+

-

nm_remote_connection_delete ()

-
void                nm_remote_connection_delete         (NMRemoteConnection *connection,
-                                                         NMRemoteConnectionDeleteFunc callback,
-                                                         gpointer user_data);
-

-Delete the connection. -

-
+

nm_remote_connection_delete ()

+
void
+nm_remote_connection_delete (NMRemoteConnection *connection,
+                             NMRemoteConnectionDeleteFunc callback,
+                             gpointer user_data);
+

Delete the connection.

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + +

connection :

the NMRemoteConnection -

connection

the NMRemoteConnection

 

callback :

a function to be called when the delete completes. [scope async][allow-none] -

callback

a function to be called when the delete completes.

[scope async][allow-none]

user_data :

caller-specific data to be passed to callback. [closure] -

user_data

caller-specific data to be passed to callback +.

[closure]
+

-

nm_remote_connection_get_secrets ()

-
void                nm_remote_connection_get_secrets    (NMRemoteConnection *connection,
-                                                         const char *setting_name,
-                                                         NMRemoteConnectionGetSecretsFunc callback,
-                                                         gpointer user_data);
-

-Request the connection's secrets. -

-
+

nm_remote_connection_get_secrets ()

+
void
+nm_remote_connection_get_secrets (NMRemoteConnection *connection,
+                                  const char *setting_name,
+                                  NMRemoteConnectionGetSecretsFunc callback,
+                                  gpointer user_data);
+

Request the connection's secrets.

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + + - - + + +

connection :

the NMRemoteConnection -

connection

the NMRemoteConnection

 

setting_name :

the NMSetting object name to get secrets for

setting_name

the NMSetting object name to get secrets for

 

callback :

a function to be called when the update completes; -must not be NULL. [scope async] -

callback

a function to be called when the update completes; +must not be NULL.

[scope async]

user_data :

caller-specific data to be passed to callback. [closure] -

user_data

caller-specific data to be passed to callback +.

[closure]
+ +
+

Types and Values

+
+

NM_REMOTE_CONNECTION_UPDATED

+
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
+
+

+

+
+
+
+

NM_REMOTE_CONNECTION_REMOVED

+
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
+
+

+

+
+

Property Details

-

The "bus" property

-
  "bus"                      DBusGConnection*      : Write / Construct Only
+

The “bus” property

+
  “bus”                      DBusGConnection *

DBusGConnection.

+

Flags: Write / Construct Only


-

The "dbus-connection" property

-
  "dbus-connection"          DBusGConnection*      : Write / Construct Only
+

The “dbus-connection” property

+
  “dbus-connection”          DBusGConnection *

DBusGConnection.

+

Flags: Write / Construct Only


-

The "dbus-path" property

-
  "dbus-path"                gchar*                : Write / Construct Only
+

The “dbus-path” property

+
  “dbus-path”                gchar *

DBus Object Path.

+

Flags: Write / Construct Only

Default value: NULL

Signal Details

-

The "removed" signal

-
void                user_function                      (NMRemoteConnection *connection,
-                                                        gpointer            user_data)       : Run First
-

-This signal is emitted when a connection is either deleted or becomes -invisible to the current user. -

-
---- - - - - - - - - - - -

connection :

a NMConnection -

user_data :

user data set when the signal handler was connected.
+

The “removed” signal

+
void
+user_function (NMRemoteConnection *connection,
+               gpointer            user_data)
+

Flags: Run First


-

The "updated" signal

-
void                user_function                      (NMRemoteConnection *connection,
-                                                        gpointer            user_data)       : Run First
-

-This signal is emitted when a connection changes, and it is -still visible to the user. -

-
---- - - - - - - - - - - -

connection :

a NMConnection -

user_data :

user data set when the signal handler was connected.
+

The “updated” signal

+
void
+user_function (NMRemoteConnection *connection,
+               gpointer            user_data)
+

Flags: Run First


-

The "visible" signal

-
void                user_function                      (NMRemoteConnection *nmremoteconnection,
-                                                        gboolean            arg1,
-                                                        gpointer            user_data)               : Run First
-

-

-
---- - - - - - - - - - - -

nmremoteconnection :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+

The “visible” signal

+
void
+user_function (NMRemoteConnection *nmremoteconnection,
+               gboolean            arg1,
+               gpointer            user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMRemoteSettings.html b/docs/libnm-glib/html/NMRemoteSettings.html index aeaf748e..be81004e 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -2,38 +2,29 @@ -NMRemoteSettings +libnm-glib Reference Manual: NMRemoteSettings - + - - - - - - - - - - + + + + + + +
@@ -41,620 +32,725 @@

NMRemoteSettings

NMRemoteSettings

- +
-
-

Synopsis

-
enum                NMRemoteSettingsError;
-#define             NM_REMOTE_SETTINGS_ERROR
-GQuark              nm_remote_settings_error_quark      (void);
-#define             NM_REMOTE_SETTINGS_BUS
-#define             NM_REMOTE_SETTINGS_SERVICE_RUNNING
-#define             NM_REMOTE_SETTINGS_HOSTNAME
-#define             NM_REMOTE_SETTINGS_CAN_MODIFY
-#define             NM_REMOTE_SETTINGS_NEW_CONNECTION
-#define             NM_REMOTE_SETTINGS_CONNECTIONS_READ
-void                (*NMRemoteSettingsAddConnectionFunc)
-                                                        (NMRemoteSettings *settings,
-                                                         NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
-                                                         GError *error,
-                                                         gpointer user_data);
-struct              NMRemoteSettings;
-struct              NMRemoteSettingsClass;
-NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
-void                nm_remote_settings_new_async        (DBusGConnection *bus,
-                                                         GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
-NMRemoteSettings *  nm_remote_settings_new_finish       (GAsyncResult *result,
-                                                         GError **error);
-GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
-NMRemoteConnection * nm_remote_settings_get_connection_by_path
-                                                        (NMRemoteSettings *settings,
-                                                         const char *path);
-NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
-                                                        (NMRemoteSettings *settings,
-                                                         const char *uuid);
-gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
-                                                         NMConnection *connection,
-                                                         NMRemoteSettingsAddConnectionFunc callback,
-                                                         gpointer user_data);
-gboolean            nm_remote_settings_save_hostname    (NMRemoteSettings *settings,
-                                                         const char *hostname,
-                                                         NMRemoteSettingsSaveHostnameFunc callback,
-                                                         gpointer user_data);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----NMRemoteSettings
-
-
-
-

Implemented Interfaces

-

-NMRemoteSettings implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "bus"                      DBusGConnection*      : Read / Write / Construct Only
-  "can-modify"               gboolean              : Read
-  "hostname"                 gchar*                : Read
-  "service-running"          gboolean              : Read
-
-
-
-

Description

-

-

-
-
-

Details

-
-

enum NMRemoteSettingsError

-
typedef enum {
-	NM_REMOTE_SETTINGS_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
-	NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED,     /*< nick=ConnectionRemoved >*/
-	NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE, /*< nick=ConnectionUnavailable >*/
-} NMRemoteSettingsError;
-
-

-Describes errors that may result from operations involving a NMRemoteSettings. -

-
+

Functions

+
--++ - - + - - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

unknown or unclassified error + +GQuark + +nm_remote_settings_error_quark ()

NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED

the NMRemoteConnection object - was removed before it was completely initialized + +void + +(*NMRemoteSettingsAddConnectionFunc) ()

NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE

the NMRemoteConnection object - is not visible or otherwise unreadable + +void + +(*NMRemoteSettingsSaveHostnameFunc) () +
+NMRemoteSettings * + +nm_remote_settings_new () +
+void + +nm_remote_settings_new_async () +
+NMRemoteSettings * + +nm_remote_settings_new_finish () +
+GSList * + +nm_remote_settings_list_connections () +
+NMRemoteConnection * + +nm_remote_settings_get_connection_by_path () +
+NMRemoteConnection * + +nm_remote_settings_get_connection_by_uuid () +
+gboolean + +nm_remote_settings_add_connection () +
+gboolean + +nm_remote_settings_save_hostname ()
-
-
-

NM_REMOTE_SETTINGS_ERROR

-
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
-
-

-

+
+

Properties

+
+++++ + + + + + + + + + + + + + + + + + + + + + + +
+DBusGConnection *busRead / Write / Construct Only
gbooleancan-modifyRead
+gchar *hostnameRead
gbooleanservice-runningRead
-
-
-

nm_remote_settings_error_quark ()

-
GQuark              nm_remote_settings_error_quark      (void);
-

-Registers an error quark for NMRemoteSettings if necessary. -

-
+
+

Signals

+
--+++ - - - - + + + + + + + + + + + +

Returns :

the error quark used for NMRemoteSettings errors.
voidconnections-readRun First
voidnew-connectionRun First
-
-
-

NM_REMOTE_SETTINGS_BUS

-
#define NM_REMOTE_SETTINGS_BUS             "bus"
-
-

-

+
+

Types and Values

+
-
-
-

NM_REMOTE_SETTINGS_SERVICE_RUNNING

-
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMRemoteSettings
 
-

-

-
-
-

NM_REMOTE_SETTINGS_HOSTNAME

-
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
-
+
+

Description

-
+
+

Functions

-

NM_REMOTE_SETTINGS_CAN_MODIFY

-
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
-
-

-

+

nm_remote_settings_error_quark ()

+
GQuark
+nm_remote_settings_error_quark (void);
+

Registers an error quark for NMRemoteSettings if necessary.

+
+

Returns

+

the error quark used for NMRemoteSettings errors.

+

-
-
-

NM_REMOTE_SETTINGS_NEW_CONNECTION

-
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
-
-

-


-

NM_REMOTE_SETTINGS_CONNECTIONS_READ

-
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
-
+

NMRemoteSettingsAddConnectionFunc ()

+
void
+(*NMRemoteSettingsAddConnectionFunc) (NMRemoteSettings *settings,
+                                      NMRemoteConnection *connection,
+                                      GError *error,
+                                      gpointer user_data);


-

NMRemoteSettingsAddConnectionFunc ()

-
void                (*NMRemoteSettingsAddConnectionFunc)
-                                                        (NMRemoteSettings *settings,
-                                                         NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
+

NMRemoteSettingsSaveHostnameFunc ()

+
void
+(*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
+                                     GError *error,
+                                     gpointer user_data);


-

NMRemoteSettingsSaveHostnameFunc ()

-
void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

+

nm_remote_settings_new ()

+
NMRemoteSettings *
+nm_remote_settings_new (DBusGConnection *bus);
+

Creates a new object representing the remote settings service.

+

Note that this will do blocking D-Bus calls to initialize the +settings object. You can use nm_remote_settings_new_async() if you +want to avoid that.

+
+

Parameters

+
+++++ + + + + + +

bus

a valid and connected D-Bus connection.

[allow-none]
-
-
-

struct NMRemoteSettings

-
struct NMRemoteSettings;
-

-

+
+

Returns

+

the new remote settings object on success, or NULL on failure

+

-
-
-

struct NMRemoteSettingsClass

-
struct NMRemoteSettingsClass {
-	GObjectClass parent;
-
-	/* Signals */
-	void (*new_connection) (NMRemoteSettings *settings,
-	                        NMRemoteConnection *connection);
-
-	void (*connections_read) (NMRemoteSettings *settings);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-};
-
-

-


-

nm_remote_settings_new ()

-
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
-

-Creates a new object representing the remote settings service. -

-

-Note that this will do blocking D-Bus calls to initialize the -settings object. You can use nm_remote_settings_new_async() if you -want to avoid that. -

-
+

nm_remote_settings_new_async ()

+
void
+nm_remote_settings_new_async (DBusGConnection *bus,
+                              GCancellable *cancellable,
+                              GAsyncReadyCallback callback,
+                              gpointer user_data);
+

Creates a new object representing the remote settings service and +begins asynchronously initializing it. callback + will be called +when it is done; use nm_remote_settings_new_finish() to get the +result.

+
+

Parameters

+
--+++ - - + + + - - + + + + + + + + + + + + +

bus :

a valid and connected D-Bus connection. [allow-none] -

bus

a valid and connected D-Bus connection.

[allow-none]

Returns :

the new remote settings object on success, or NULL on failure

cancellable

a GCancellable, or NULL

 

callback

callback to call when the settings object is created

 

user_data

data for callback +

 
+

-

nm_remote_settings_new_async ()

-
void                nm_remote_settings_new_async        (DBusGConnection *bus,
-                                                         GCancellable *cancellable,
-                                                         GAsyncReadyCallback callback,
-                                                         gpointer user_data);
-

-Creates a new object representing the remote settings service and -begins asynchronously initializing it. callback will be called -when it is done; use nm_remote_settings_new_finish() to get the -result. -

-
+

nm_remote_settings_new_finish ()

+
NMRemoteSettings *
+nm_remote_settings_new_finish (GAsyncResult *result,
+                               GError **error);
+

Gets the result of an nm_remote_settings_new_async() call.

+
+

Parameters

+
--+++ - - - - - - + + + - - - - - - + + +

bus :

a valid and connected D-Bus connection. [allow-none] -

cancellable :

a GCancellable, or NULL -

result

a GAsyncResult

 

callback :

callback to call when the settings object is created

user_data :

data for callback -

error

location for a GError, or NULL

 
+
+

Returns

+

a new NMRemoteSettings object, or NULL on error

+

+
+

-

nm_remote_settings_new_finish ()

-
NMRemoteSettings *  nm_remote_settings_new_finish       (GAsyncResult *result,
-                                                         GError **error);
-

-Gets the result of an nm_remote_settings_new_async() call. -

-
+

nm_remote_settings_list_connections ()

+
GSList *
+nm_remote_settings_list_connections (NMRemoteSettings *settings);
+
+

Parameters

+
--+++ - - - - - - - - - - - - - - + + + + +

result :

a GAsyncResult -

error :

location for a GError, or NULL -

Returns :

a new NMRemoteSettings object, or NULL on error

settings

the NMRemoteSettings

 
+
+

Returns

+

a +list containing all connections provided by the remote settings service. +Each element of the returned list is a NMRemoteConnection instance, which is +owned by the NMRemoteSettings object and should not be freed by the caller. +The returned list is, however, owned by the caller and should be freed +using g_slist_free() when no longer required.

+

[transfer container][element-type NMClient.RemoteConnection]

+
+

-

nm_remote_settings_list_connections ()

-
GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
-
+

nm_remote_settings_get_connection_by_path ()

+
NMRemoteConnection *
+nm_remote_settings_get_connection_by_path
+                               (NMRemoteSettings *settings,
+                                const char *path);
+

Returns the NMRemoteConnection representing the connection at path +.

+
+

Parameters

+
--+++ - - + + + - - + + +

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

Returns :

a -list containing all connections provided by the remote settings service. -Each element of the returned list is a NMRemoteConnection instance, which is -owned by the NMRemoteSettings object and should not be freed by the caller. -The returned list is, however, owned by the caller and should be freed -using g_slist_free() when no longer required. [transfer container][element-type NMClient.RemoteConnection] -

path

the D-Bus object path of the remote connection

 
+
+

Returns

+

the remote connection object on success, or NULL if the object was +not known.

+

[transfer none]

+
+

-

nm_remote_settings_get_connection_by_path ()

-
NMRemoteConnection * nm_remote_settings_get_connection_by_path
-                                                        (NMRemoteSettings *settings,
-                                                         const char *path);
-

-Returns the NMRemoteConnection representing the connection at path. -

-
+

nm_remote_settings_get_connection_by_uuid ()

+
NMRemoteConnection *
+nm_remote_settings_get_connection_by_uuid
+                               (NMRemoteSettings *settings,
+                                const char *uuid);
+

Returns the NMRemoteConnection identified by uuid +.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

settings :

the NMRemoteSettings -

path :

the D-Bus object path of the remote connection

settings

the NMRemoteSettings

 

Returns :

the remote connection object on success, or NULL if the object was -not known. [transfer none] -

uuid

the UUID of the remote connection

 
+
+

Returns

+

the remote connection object on success, or NULL if the object was +not known.

+

[transfer none]

+
+

-

nm_remote_settings_get_connection_by_uuid ()

-
NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
-                                                        (NMRemoteSettings *settings,
-                                                         const char *uuid);
-

-Returns the NMRemoteConnection identified by uuid. -

-
+

nm_remote_settings_add_connection ()

+
gboolean
+nm_remote_settings_add_connection (NMRemoteSettings *settings,
+                                   NMConnection *connection,
+                                   NMRemoteSettingsAddConnectionFunc callback,
+                                   gpointer user_data);
+

Requests that the remote settings service add the given settings to a new +connection.

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + + + + + + +

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

uuid :

the UUID of the remote connection

connection

the connection to add. Note that this object's settings will be +added, not the object itself

 

Returns :

the remote connection object on success, or NULL if the object was -not known. [transfer none] -

callback

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +.

[closure]
+
+

Returns

+

TRUE if the request was successful, FALSE if it failed

+

+
+

-

nm_remote_settings_add_connection ()

-
gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
-                                                         NMConnection *connection,
-                                                         NMRemoteSettingsAddConnectionFunc callback,
-                                                         gpointer user_data);
-

-Requests that the remote settings service add the given settings to a new -connection. -

-
+

nm_remote_settings_save_hostname ()

+
gboolean
+nm_remote_settings_save_hostname (NMRemoteSettings *settings,
+                                  const char *hostname,
+                                  NMRemoteSettingsSaveHostnameFunc callback,
+                                  gpointer user_data);
+

Requests that the machine's persistent hostname be set to the specified value +or cleared.

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + + - - - - - - + + +

settings :

the NMRemoteSettings -

settings

the NMRemoteSettings

 

connection :

the connection to add. Note that this object's settings will be -added, not the object itself

hostname

the new persistent hostname to set, or NULL to clear any existing +persistent hostname

 

callback :

callback to be called when the add operation completes. [scope async] -

callback

callback to be called when the +hostname operation completes.

[scope async][allow-none]

user_data :

caller-specific data passed to callback. [closure] -

Returns :

TRUE if the request was successful, FALSE if it failed

user_data

caller-specific data passed to callback +.

[closure]
-
+
+

Returns

+

TRUE if the request was successful, FALSE if it failed

+

+
+
+
+
+

Types and Values

-

nm_remote_settings_save_hostname ()

-
gboolean            nm_remote_settings_save_hostname    (NMRemoteSettings *settings,
-                                                         const char *hostname,
-                                                         NMRemoteSettingsSaveHostnameFunc callback,
-                                                         gpointer user_data);
-

-Requests that the machine's persistent hostname be set to the specified value -or cleared. -

-
+

enum NMRemoteSettingsError

+

Describes errors that may result from operations involving a NMRemoteSettings.

+
+

Members

+
--+++ - - + + - - - - - - + + - - + - - - - +

settings :

the NMRemoteSettings +

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

+

unknown or unclassified error

 

hostname :

the new persistent hostname to set, or NULL to clear any existing -persistent hostname

callback :

callback to be called when the -hostname operation completes. [scope async][allow-none] +

NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED

+

the NMRemoteConnection object + was removed before it was completely initialized

 

user_data :

caller-specific data passed to callback. [closure] +

NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE

+

the NMRemoteConnection object + is not visible or otherwise unreadable

Returns :

TRUE if the request was successful, FALSE if it failed 
+
+
+

NM_REMOTE_SETTINGS_ERROR

+
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_BUS

+
#define NM_REMOTE_SETTINGS_BUS             "bus"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_SERVICE_RUNNING

+
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_HOSTNAME

+
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_CAN_MODIFY

+
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_NEW_CONNECTION

+
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_CONNECTIONS_READ

+
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
+
+

+

+
+

Property Details

-

The "bus" property

-
  "bus"                      DBusGConnection*      : Read / Write / Construct Only
+

The “bus” property

+
  “bus”                      DBusGConnection *

DBusGConnection.

+

Flags: Read / Write / Construct Only


-

The "can-modify" property

-
  "can-modify"               gboolean              : Read
+

The “can-modify” property

+
  “can-modify”               gboolean

Can modify anything (hostname, connections, etc).

+

Flags: Read

Default value: FALSE


-

The "hostname" property

-
  "hostname"                 gchar*                : Read
+

The “hostname” property

+
  “hostname”                 gchar *

Persistent hostname.

+

Flags: Read

Default value: NULL


-

The "service-running" property

-
  "service-running"          gboolean              : Read
+

The “service-running” property

+
  “service-running”          gboolean

Is service running.

+

Flags: Read

Default value: FALSE

Signal Details

-

The "connections-read" signal

-
void                user_function                      (NMRemoteSettings *nmremotesettings,
-                                                        gpointer          user_data)             : Run First
-

-

-
---- - - - - - - - - - - -

nmremotesettings :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+

The “connections-read” signal

+
void
+user_function (NMRemoteSettings *nmremotesettings,
+               gpointer          user_data)
+

Flags: Run First


-

The "new-connection" signal

-
void                user_function                      (NMRemoteSettings *nmremotesettings,
-                                                        GObject          *arg1,
-                                                        gpointer          user_data)             : Run First
-

-

-
---- - - - - - - - - - - -

nmremotesettings :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+

The “new-connection” signal

+
void
+user_function (NMRemoteSettings *nmremotesettings,
+               GObject          *arg1,
+               gpointer          user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMSecretAgent.html b/docs/libnm-glib/html/NMSecretAgent.html index 671cd029..94bc4e1f 100644 --- a/docs/libnm-glib/html/NMSecretAgent.html +++ b/docs/libnm-glib/html/NMSecretAgent.html @@ -2,36 +2,29 @@ -NMSecretAgent +libnm-glib Reference Manual: NMSecretAgent - + - - - - - - - - - - + + + + + + +
@@ -39,266 +32,230 @@

NMSecretAgent

NMSecretAgent

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMSecretAgent
-
-
-
-

Properties

-
-  "auto-register"            gboolean              : Read / Write / Construct
-  "identifier"               gchar*                : Read / Write / Construct Only
-  "registered"               gboolean              : Read
-
-
-
-

Signals

-
-  "registration-result"                            : Run First
-
-
-
-

Description

-

-

-
-

Details

-
-

NM_SECRET_AGENT_ERROR

-
#define NM_SECRET_AGENT_ERROR         (nm_secret_agent_error_quark ())
-
-

-

-
-
-
-

nm_secret_agent_error_quark ()

-
GQuark              nm_secret_agent_error_quark         (void);
-

-

-
-
-
-

enum NMSecretAgentError

-
typedef enum {
-	NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED = 0, /*< nick=NotAuthorized >*/
-	NM_SECRET_AGENT_ERROR_INVALID_CONNECTION, /*< nick=InvalidConnection >*/
-	NM_SECRET_AGENT_ERROR_USER_CANCELED,      /*< nick=UserCanceled >*/
-	NM_SECRET_AGENT_ERROR_AGENT_CANCELED,     /*< nick=AgentCanceled >*/
-	NM_SECRET_AGENT_ERROR_INTERNAL_ERROR,     /*< nick=InternalError >*/
-	NM_SECRET_AGENT_ERROR_NO_SECRETS,         /*< nick=NoSecrets >*/
-} NMSecretAgentError;
-
-

-NMSecretAgentError values are passed by secret agents back to NetworkManager -when they encounter problems retrieving secrets on behalf of NM. -

-
+

Functions

+
--++ - - + + + + + + + + + + + + + + + + + + + + + - - + - - + - - + - - + - - +

NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED

the caller (ie, NetworkManager) is not - authorized to make this request +#defineNM_SECRET_AGENT_ERROR
+GQuark + +nm_secret_agent_error_quark () +
+void + +(*NMSecretAgentGetSecretsFunc) () +
+void + +(*NMSecretAgentSaveSecretsFunc) () +
+void + +(*NMSecretAgentDeleteSecretsFunc) () +
+gboolean + +nm_secret_agent_register ()

NM_SECRET_AGENT_ERROR_INVALID_CONNECTION

the connection for which secrets - were requested could not be found + +gboolean + +nm_secret_agent_unregister ()

NM_SECRET_AGENT_ERROR_USER_CANCELED

the request was canceled by the user + +gboolean + +nm_secret_agent_get_registered ()

NM_SECRET_AGENT_ERROR_AGENT_CANCELED

the agent canceled the request - because it was requested to do so by NetworkManager + +void + +nm_secret_agent_get_secrets ()

NM_SECRET_AGENT_ERROR_INTERNAL_ERROR

some internal error in the agent caused - the request to fail + +void + +nm_secret_agent_save_secrets ()

NM_SECRET_AGENT_ERROR_NO_SECRETS

the agent cannot find any secrets for this - connection + +void + +nm_secret_agent_delete_secrets ()
-
-
-

enum NMSecretAgentGetSecretsFlags

-
typedef enum {
-	NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE = 0x0,
-	NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION = 0x1,
-	NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW = 0x2,
-	NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED = 0x4
-} NMSecretAgentGetSecretsFlags;
-
-

-NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request. -

-
+
+

Properties

+
--+++ - - + + + - - + + + - - + + + + +

NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE

no special behavior; by default no -user interaction is allowed and requests for secrets are fulfilled from -persistent storage, or if no secrets are available an error is returned. -gbooleanauto-registerRead / Write / Construct

NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION

allows the request to -interact with the user, possibly prompting via UI for secrets if any are -required, or if none are found in persistent storage. - +gchar *identifierRead / Write / Construct Only

NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW

explicitly prompt for new -secrets from the user. This flag signals that NetworkManager thinks any -existing secrets are invalid or wrong. This flag implies that interaction -is allowed. -gbooleanregisteredRead
+
+
+

Signals

+
+++++ + + + + + +
voidregistration-resultRun First
+
+
+

Types and Values

+
++++ + - - + + + + + + + + + + + + + + + + + + + + + +

NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED

set if the request was -initiated by user-requested action via the D-Bus interface, as opposed to -automatically initiated by NetworkManager in response to (for example) scan -results or carrier changes. -enumNMSecretAgentError
enumNMSecretAgentGetSecretsFlags
#defineNM_SECRET_AGENT_IDENTIFIER
#defineNM_SECRET_AGENT_AUTO_REGISTER
#defineNM_SECRET_AGENT_REGISTERED
#defineNM_SECRET_AGENT_REGISTRATION_RESULT
-
-
-

NM_SECRET_AGENT_IDENTIFIER

-
#define NM_SECRET_AGENT_IDENTIFIER          "identifier"
+
+

Object Hierarchy

+
    GObject
+    ╰── NMSecretAgent
 
-

-

-
-
-

NM_SECRET_AGENT_AUTO_REGISTER

-
#define NM_SECRET_AGENT_AUTO_REGISTER       "auto-register"
-
+
+

Description

-
+
+

Functions

-

NM_SECRET_AGENT_REGISTERED

-
#define NM_SECRET_AGENT_REGISTERED          "registered"
+

NM_SECRET_AGENT_ERROR

+
#define NM_SECRET_AGENT_ERROR         (nm_secret_agent_error_quark ())
 


-

NM_SECRET_AGENT_REGISTRATION_RESULT

-
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
-
+

nm_secret_agent_error_quark ()

+
GQuark
+nm_secret_agent_error_quark (void);

+
+

Returns

+

-
-
-

NMSecretAgent

-
typedef struct _NMSecretAgent NMSecretAgent;
-

-


-

NMSecretAgentGetSecretsFunc ()

-
void                (*NMSecretAgentGetSecretsFunc)      (NMSecretAgent *agent,
-                                                         NMConnection *connection,
-                                                         GHashTable *secrets,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-Called as a result of a request by NM to retrieve secrets. When the +

NMSecretAgentGetSecretsFunc ()

+
void
+(*NMSecretAgentGetSecretsFunc) (NMSecretAgent *agent,
+                                NMConnection *connection,
+                                GHashTable *secrets,
+                                GError *error,
+                                gpointer user_data);
+

Called as a result of a request by NM to retrieve secrets. When the NMSecretAgent subclass has finished retrieving secrets and is ready to return them, or to return an error, this function should be called with -those secrets or the error. -

-

-To easily create the hash table to return the WiFi PSK, you could do -something like this: -

+those secrets or the error.

+

To easily create the hash table to return the WiFi PSK, you could do +something like this:

-

Example 1. Creating a secrets hash

+

Example 1. Creating a secrets hash

@@ -323,13 +280,13 @@ something like this: NMSettingWirelessSecurity *s_wsec;GHashTable *secrets_hash; -secrets = nm_connection_new (); -s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new (); +secrets = nm_connection_new (); +s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new ();g_object_set (G_OBJECT (s_wsec), - NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK", + NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK", NULL); -nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); -secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL); +nm_connection_add_setting (secrets, NM_SETTING (s_wsec)); +secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL);(call the NMSecretAgentGetSecretsFunc with secrets_hash) @@ -341,508 +298,591 @@ something like this: -


-

-
+
+

Parameters

+
--+++ - - + + + - - + +has returned.

+ - - + +is the secret.

+ - - + + + - - + + +

agent :

the secret agent object

agent

the secret agent object

 

connection :

the connection for which secrets were requested, +

connection

the connection for which secrets were requested, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback -has returned. [transfer none] -

[transfer none]

secrets :

the GHashTable containing -the requested secrets in the same format as an NMConnection hash (as -created by nm_connection_to_hash() for example). Each key in secrets -should be the name of a NMSetting object (like "802-11-wireless-security") +

secrets

the GHashTable containing +the requested secrets in the same format as an NMConnection hash (as +created by nm_connection_to_hash() for example). Each key in secrets +should be the name of a NMSetting object (like "802-11-wireless-security") and each value should be a GHashTable. The sub-hashes map string:GValue where the string is the setting property name (like "psk") and the value -is the secret. [element-type utf8 GLib.HashTable] -

[element-type utf8 GLib.HashTable]

error :

if the secrets request failed, give a descriptive error here

error

if the secrets request failed, give a descriptive error here

 

user_data :

caller-specific data to be passed to the function

user_data

caller-specific data to be passed to the function

 
+

-

NMSecretAgentSaveSecretsFunc ()

-
void                (*NMSecretAgentSaveSecretsFunc)     (NMSecretAgent *agent,
-                                                         NMConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-Called as a result of a request by NM to save secrets. When the +

NMSecretAgentSaveSecretsFunc ()

+
void
+(*NMSecretAgentSaveSecretsFunc) (NMSecretAgent *agent,
+                                 NMConnection *connection,
+                                 GError *error,
+                                 gpointer user_data);
+

Called as a result of a request by NM to save secrets. When the NMSecretAgent subclass has finished saving the secrets, this function -should be called. -

-
+should be called.

+
+

Parameters

+
--+++ - - + + + - - + +has returned.

+ - - + + + - - + + +

agent :

the secret agent object

agent

the secret agent object

 

connection :

the connection for which secrets were to be saved, +

connection

the connection for which secrets were to be saved, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback -has returned. [transfer none] -

[transfer none]

error :

if the saving secrets failed, give a descriptive error here

error

if the saving secrets failed, give a descriptive error here

 

user_data :

caller-specific data to be passed to the function

user_data

caller-specific data to be passed to the function

 
+

-

NMSecretAgentDeleteSecretsFunc ()

-
void                (*NMSecretAgentDeleteSecretsFunc)   (NMSecretAgent *agent,
-                                                         NMConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-Called as a result of a request by NM to delete secrets. When the +

NMSecretAgentDeleteSecretsFunc ()

+
void
+(*NMSecretAgentDeleteSecretsFunc) (NMSecretAgent *agent,
+                                   NMConnection *connection,
+                                   GError *error,
+                                   gpointer user_data);
+

Called as a result of a request by NM to delete secrets. When the NMSecretAgent subclass has finished deleting the secrets, this function -should be called. -

-
+should be called.

+
+

Parameters

+
--+++ - - + + + - - + +has returned.

+ - - + + + - - + + +

agent :

the secret agent object

agent

the secret agent object

 

connection :

the connection for which secrets were to be deleted, +

connection

the connection for which secrets were to be deleted, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback -has returned. [transfer none] -

[transfer none]

error :

if the deleting secrets failed, give a descriptive error here

error

if the deleting secrets failed, give a descriptive error here

 

user_data :

caller-specific data to be passed to the function

user_data

caller-specific data to be passed to the function

 
-
-
-

NMSecretAgentClass

-
typedef struct {
-	GObjectClass parent;
-
-	/* Virtual methods for subclasses */
-
-	/* Called when the subclass should retrieve and return secrets.  Subclass
-	 * must copy or reference any arguments it may require after returning from
-	 * this method, as the arguments will freed (except for 'self', 'callback',
-	 * and 'user_data' of course).  If the request is canceled, the callback
-	 * should still be called, but with the NM_SECRET_AGENT_ERROR_AGENT_CANCELED
-	 * error.
-	 */
-	void (*get_secrets) (NMSecretAgent *self,
-	                     NMConnection *connection,
-	                     const char *connection_path,
-	                     const char *setting_name,
-	                     const char **hints,
-	                     NMSecretAgentGetSecretsFlags flags,
-	                     NMSecretAgentGetSecretsFunc callback,
-	                     gpointer user_data);
-
-	/* Called when the subclass should cancel an outstanding request to
-	 * get secrets for a given connection.  Canceling the request MUST
-	 * call the callback that was passed along with the initial get_secrets
-	 * call, sending the NM_SECRET_AGENT_ERROR/NM_SECRET_AGENT_ERROR_AGENT_CANCELED
-	 * error to that callback.
-	 */
-	void (*cancel_get_secrets) (NMSecretAgent *self,
-	                            const char *connection_path,
-	                            const char *setting_name);
-
-	/* Called when the subclass should save the secrets contained in the
-	 * connection to backing storage.  Subclass must copy or reference any
-	 * arguments it may require after returning from this method, as the
-	 * arguments will freed (except for 'self', 'callback', and 'user_data'
-	 * of course).
-	 */
-	void (*save_secrets) (NMSecretAgent *self,
-	                      NMConnection *connection,
-	                      const char *connection_path,
-	                      NMSecretAgentSaveSecretsFunc callback,
-	                      gpointer user_data);
-
-	/* Called when the subclass should delete the secrets contained in the
-	 * connection from backing storage.  Subclass must copy or reference any
-	 * arguments it may require after returning from this method, as the
-	 * arguments will freed (except for 'self', 'callback', and 'user_data'
-	 * of course).
-	 */
-	void (*delete_secrets) (NMSecretAgent *self,
-	                        NMConnection *connection,
-	                        const char *connection_path,
-	                        NMSecretAgentDeleteSecretsFunc callback,
-	                        gpointer user_data);
-
-	/* Signals */
-	void (*registration_result) (NMSecretAgent *agent, GError *error);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMSecretAgentClass;
-
-

-


-

nm_secret_agent_register ()

-
gboolean            nm_secret_agent_register            (NMSecretAgent *self);
-

-Registers the NMSecretAgent with the NetworkManager secret manager, +

nm_secret_agent_register ()

+
gboolean
+nm_secret_agent_register (NMSecretAgent *self);
+

Registers the NMSecretAgent with the NetworkManager secret manager, indicating to NetworkManager that the agent is able to provide and save secrets for connections on behalf of its user. Registration is an asynchronous operation and its success or failure is indicated via the -'registration-result' signal. -

-
+'registration-result' signal.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

self :

a NMSecretAgent -

Returns :

a new TRUE if registration was successfully requested (this does -not mean registration itself was successful), FALSE if registration was not -successfully requested.

self

a NMSecretAgent

 
+
+

Returns

+

a new TRUE if registration was successfully requested (this does +not mean registration itself was successful), FALSE if registration was not +successfully requested.

+

+
+

-

nm_secret_agent_unregister ()

-
gboolean            nm_secret_agent_unregister          (NMSecretAgent *self);
-

-Unregisters the NMSecretAgent with the NetworkManager secret manager, +

nm_secret_agent_unregister ()

+
gboolean
+nm_secret_agent_unregister (NMSecretAgent *self);
+

Unregisters the NMSecretAgent with the NetworkManager secret manager, indicating to NetworkManager that the agent is will no longer provide or -store secrets on behalf of this user. -

-
+store secrets on behalf of this user.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

self :

a NMSecretAgent -

Returns :

a new TRUE if unregistration was successful, FALSE if it was not.

self

a NMSecretAgent

 
+
+

Returns

+

a new TRUE if unregistration was successful, FALSE if it was not.

+

+
+

-

nm_secret_agent_get_registered ()

-
gboolean            nm_secret_agent_get_registered      (NMSecretAgent *self);
-
+

nm_secret_agent_get_registered ()

+
gboolean
+nm_secret_agent_get_registered (NMSecretAgent *self);
+
+

Parameters

+
--++++ + + + + + +

self

a NMSecretAgent

 
+
+
+

Returns

+

a TRUE if the agent is registered, FALSE if it is not.

+

+
+
+
+
+

nm_secret_agent_get_secrets ()

+
void
+nm_secret_agent_get_secrets (NMSecretAgent *self,
+                             NMConnection *connection,
+                             const char *setting_name,
+                             const char **hints,
+                             NMSecretAgentGetSecretsFlags flags,
+                             NMSecretAgentGetSecretsFunc callback,
+                             gpointer user_data);
+

Asyncronously retrieve secrets belonging to connection + for the +setting setting_name +. flags + indicate specific behavior that the secret +agent should use when performing the request, for example returning only +existing secrets without user interaction, or requesting entirely new +secrets from the user.

+

Virtual: get_secrets

+
+

Parameters

+
++++ - - + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + +

self :

a NMSecretAgent -

self

a NMSecretAgent

 

connection

the NMConnection for which we're asked secrets

 

setting_name

the name of the secret setting

 

hints

hints to the agent.

[array zero-terminated=1]

Returns :

a TRUE if the agent is registered, FALSE if it is not.

flags

flags that modify the behavior of the request

 

callback

a callback, to be invoked when the operation is done.

[scope async]

user_data

caller-specific data to be passed to callback +.

[closure]
+

-

nm_secret_agent_get_secrets ()

-
void                nm_secret_agent_get_secrets         (NMSecretAgent *self,
-                                                         NMConnection *connection,
-                                                         const char *setting_name,
-                                                         const char **hints,
-                                                         NMSecretAgentGetSecretsFlags flags,
-                                                         NMSecretAgentGetSecretsFunc callback,
-                                                         gpointer user_data);
-

-Asyncronously retrieve secrets belonging to connection for the -setting setting_name. flags indicate specific behavior that the secret -agent should use when performing the request, for example returning only -existing secrets without user interaction, or requesting entirely new -secrets from the user. -

-

-Virtual: get_secrets -

-
+

nm_secret_agent_save_secrets ()

+
void
+nm_secret_agent_save_secrets (NMSecretAgent *self,
+                              NMConnection *connection,
+                              NMSecretAgentSaveSecretsFunc callback,
+                              gpointer user_data);
+

Asyncronously ensure that all secrets inside connection + +are stored to disk.

+

Virtual: save_secrets

+
+

Parameters

+
--+++ - - + + + - - + + + - - + + + - - + + + + + +

self :

a NMSecretAgent -

self

a NMSecretAgent

 

connection :

the NMConnection for which we're asked secrets

connection

a NMConnection

 

setting_name :

the name of the secret setting

callback

a callback, to be invoked when the operation is done.

[scope async]

hints :

hints to the agent. [array zero-terminated=1] -

user_data

caller-specific data to be passed to callback +.

[closure]
+
+
+
+
+

nm_secret_agent_delete_secrets ()

+
void
+nm_secret_agent_delete_secrets (NMSecretAgent *self,
+                                NMConnection *connection,
+                                NMSecretAgentDeleteSecretsFunc callback,
+                                gpointer user_data);
+

Asynchronously ask the agent to delete all saved secrets belonging to +connection +.

+

Virtual: delete_secrets

+
+

Parameters

+
+++++ + + + + + - - + + + - - + + + - - + + +

self

a NMSecretAgent

 

flags :

flags that modify the behavior of the request

connection

a NMConnection

 

callback :

a callback, to be invoked when the operation is done. [scope async] -

callback

a callback, to be invoked when the operation is done.

[scope async]

user_data :

caller-specific data to be passed to callback. [closure] -

user_data

caller-specific data to be passed to callback +.

[closure]
-
+
+
+
+

Types and Values

-

nm_secret_agent_save_secrets ()

-
void                nm_secret_agent_save_secrets        (NMSecretAgent *self,
-                                                         NMConnection *connection,
-                                                         NMSecretAgentSaveSecretsFunc callback,
-                                                         gpointer user_data);
-

-Asyncronously ensure that all secrets inside connection -are stored to disk. -

-

-Virtual: save_secrets -

-
+

enum NMSecretAgentError

+

NMSecretAgentError values are passed by secret agents back to NetworkManager +when they encounter problems retrieving secrets on behalf of NM.

+
+

Members

+
--+++ - - + + - - + + - - + + - - + + + + + + + + + + + +

self :

a NMSecretAgent +

NM_SECRET_AGENT_ERROR_NOT_AUTHORIZED

+

the caller (ie, NetworkManager) is not + authorized to make this request

 

connection :

a NMConnection +

NM_SECRET_AGENT_ERROR_INVALID_CONNECTION

+

the connection for which secrets + were requested could not be found

 

callback :

a callback, to be invoked when the operation is done. [scope async] +

NM_SECRET_AGENT_ERROR_USER_CANCELED

+

the request was canceled by the user

 

user_data :

caller-specific data to be passed to callback. [closure] +

NM_SECRET_AGENT_ERROR_AGENT_CANCELED

+

the agent canceled the request + because it was requested to do so by NetworkManager

 

NM_SECRET_AGENT_ERROR_INTERNAL_ERROR

+

some internal error in the agent caused + the request to fail

+
 

NM_SECRET_AGENT_ERROR_NO_SECRETS

+

the agent cannot find any secrets for this + connection

+
 
+

-

nm_secret_agent_delete_secrets ()

-
void                nm_secret_agent_delete_secrets      (NMSecretAgent *self,
-                                                         NMConnection *connection,
-                                                         NMSecretAgentDeleteSecretsFunc callback,
-                                                         gpointer user_data);
-

-Asynchronously ask the agent to delete all saved secrets belonging to -connection. -

-

-Virtual: delete_secrets -

-
+

enum NMSecretAgentGetSecretsFlags

+

NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.

+
+

Members

+
--+++ - - + + - - + + - - + + - - + +

self :

a NMSecretAgent +

NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE

+

no special behavior; by default no +user interaction is allowed and requests for secrets are fulfilled from +persistent storage, or if no secrets are available an error is returned.

 

connection :

a NMConnection +

NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION

+

allows the request to +interact with the user, possibly prompting via UI for secrets if any are +required, or if none are found in persistent storage.

 

callback :

a callback, to be invoked when the operation is done. [scope async] +

NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW

+

explicitly prompt for new +secrets from the user. This flag signals that NetworkManager thinks any +existing secrets are invalid or wrong. This flag implies that interaction +is allowed.

 

user_data :

caller-specific data to be passed to callback. [closure] +

NM_SECRET_AGENT_GET_SECRETS_FLAG_USER_REQUESTED

+

set if the request was +initiated by user-requested action via the D-Bus interface, as opposed to +automatically initiated by NetworkManager in response to (for example) scan +results or carrier changes.

 
-
-

Property Details

+
-

The "auto-register" property

-
  "auto-register"            gboolean              : Read / Write / Construct
+

NM_SECRET_AGENT_IDENTIFIER

+
#define NM_SECRET_AGENT_IDENTIFIER          "identifier"
+

-If TRUE, the agent will attempt to automatically register itself after -it is created (via an idle handler) and to re-register itself if -NetworkManager restarts. If FALSE, the agent does not automatically -register with NetworkManager, and nm_secret_agent_register() must be -called. If 'auto-register' is TRUE, calling nm_secret_agent_unregister() -will suppress auto-registration until nm_secret_agent_register() is -called, which re-enables auto-registration.

-

Default value: TRUE


-

The "identifier" property

-
  "identifier"               gchar*                : Read / Write / Construct Only
+

NM_SECRET_AGENT_AUTO_REGISTER

+
#define NM_SECRET_AGENT_AUTO_REGISTER       "auto-register"
+

-Identifies this agent; only one agent in each user session may use the -same identifier. Identifier formatting follows the same rules as -D-Bus bus names with the exception that the ':' character is not -allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the -identifier is limited in length to 255 characters with a minimum -of 3 characters. An example valid identifier is 'org.gnome.nm-applet' -(without quotes).

-

Default value: NULL


-

The "registered" property

-
  "registered"               gboolean              : Read
+

NM_SECRET_AGENT_REGISTERED

+
#define NM_SECRET_AGENT_REGISTERED          "registered"
+

-TRUE if the agent is registered with NetworkManager, FALSE if not.

+
+
+
+

NM_SECRET_AGENT_REGISTRATION_RESULT

+
#define NM_SECRET_AGENT_REGISTRATION_RESULT "registration-result"
+
+

+

+
+
+
+

Property Details

+
+

The “auto-register” property

+
  “auto-register”            gboolean
+

Auto Register.

+

Flags: Read / Write / Construct

+

Default value: TRUE

+
+
+
+

The “identifier” property

+
  “identifier”               gchar *
+

Identifier.

+

Flags: Read / Write / Construct Only

+

Default value: NULL

+
+
+
+

The “registered” property

+
  “registered”               gboolean
+

Registered.

+

Flags: Read

Default value: FALSE

Signal Details

-

The "registration-result" signal

-
void                user_function                      (NMSecretAgent *agent,
-                                                        gpointer       error,
-                                                        gpointer       user_data)      : Run First
-

-Indicates the result of a registration request; if error is NULL the -request was successful. -

-
---- - - - - - - - - - - - - - - -

agent :

the agent that received the signal

error :

the error, if any, that occured while registering

user_data :

user data set when the signal handler was connected.
+

The “registration-result” signal

+
void
+user_function (NMSecretAgent *agent,
+               gpointer       error,
+               gpointer       user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMVPNConnection.html b/docs/libnm-glib/html/NMVPNConnection.html index 4241b467..1b1238f9 100644 --- a/docs/libnm-glib/html/NMVPNConnection.html +++ b/docs/libnm-glib/html/NMVPNConnection.html @@ -2,38 +2,29 @@ -NMVPNConnection +libnm-glib Reference Manual: NMVPNConnection - + - - - - - - - - - - + + + + + + +
@@ -41,200 +32,237 @@

NMVPNConnection

NMVPNConnection

- +
-
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMActiveConnection
-               +----NMVPNConnection
-
-
-
-

Implemented Interfaces

-

-NMVPNConnection implements - GInitable and GAsyncInitable.

+

Functions

+
++++ + + + + + + + + + + + + + + +
+GObject * + +nm_vpn_connection_new () +
+NMVPNConnectionState + +nm_vpn_connection_get_vpn_state () +
const char * + +nm_vpn_connection_get_banner () +

Properties

-
-  "banner"                   gchar*                : Read
-  "vpn-state"                guint                 : Read
-
+
+++++ + + + + + + + + + + + + +
+gchar *bannerRead
guintvpn-stateRead

Signals

-
-  "vpn-state-changed"                              : Run First
-
+
+++++ + + + + + +
voidvpn-state-changedRun First
-

Description

-

-

+

Types and Values

+
++++ + + + + + + + + + + +
#defineNM_VPN_CONNECTION_VPN_STATE
#defineNM_VPN_CONNECTION_BANNER
-

Details

-
-

NM_VPN_CONNECTION_VPN_STATE

-
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
-
-

-

-
-
-
-

NM_VPN_CONNECTION_BANNER

-
#define NM_VPN_CONNECTION_BANNER "banner"
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMActiveConnection
+            ╰── NMVPNConnection
 
-

-

-
-
-
-

NMVPNConnection

-
typedef struct _NMVPNConnection NMVPNConnection;
-

-

-
-
-

NMVPNConnectionClass

-
typedef struct {
-	NMActiveConnectionClass parent;
-
-	/* Signals */
-	void (*vpn_state_changed) (NMVPNConnection *connection,
-	                           NMVPNConnectionState state,
-	                           NMVPNConnectionStateReason reason);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMVPNConnectionClass;
-
+
+

Description

-
+
+

Functions

-

nm_vpn_connection_new ()

-
GObject *           nm_vpn_connection_new               (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMVPNConnection. -

-
+

nm_vpn_connection_new ()

+
GObject *
+nm_vpn_connection_new (DBusGConnection *connection,
+                       const char *path);
+

Creates a new NMVPNConnection.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

connection :

the DBusGConnection -

path :

the DBus object path of the new connection

connection

the DBusGConnection

 

Returns :

a new connection object. [transfer full] -

path

the DBus object path of the new connection

 
+
+

Returns

+

a new connection object.

+

[transfer full]

+
+

-

nm_vpn_connection_get_vpn_state ()

-
NMVPNConnectionState nm_vpn_connection_get_vpn_state    (NMVPNConnection *vpn);
-

-Gets the current NMVPNConnection state. -

-
+

nm_vpn_connection_get_vpn_state ()

+
NMVPNConnectionState
+nm_vpn_connection_get_vpn_state (NMVPNConnection *vpn);
+

Gets the current NMVPNConnection state.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

vpn :

a NMVPNConnection -

Returns :

the VPN state of the active VPN connection.

vpn

a NMVPNConnection

 
+
+

Returns

+

the VPN state of the active VPN connection.

+

+
+

-

nm_vpn_connection_get_banner ()

-
const char *        nm_vpn_connection_get_banner        (NMVPNConnection *vpn);
-

-Gets the VPN login banner of the active NMVPNConnection. -

-
+

nm_vpn_connection_get_banner ()

+
const char *
+nm_vpn_connection_get_banner (NMVPNConnection *vpn);
+

Gets the VPN login banner of the active NMVPNConnection.

+
+

Parameters

+
--+++ - - - - - - - - - - + + + + +

vpn :

a NMVPNConnection -

Returns :

the VPN login banner of the VPN connection. This is the internal -string used by the connection, and must not be modified.

vpn

a NMVPNConnection

 
+
+

Returns

+

the VPN login banner of the VPN connection. This is the internal +string used by the connection, and must not be modified.

+

+
+
-

Property Details

+

Types and Values

-

The "banner" property

-
  "banner"                   gchar*                : Read
+

NM_VPN_CONNECTION_VPN_STATE

+
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
+

-The VPN login banner of the active VPN connection.

-

Default value: NULL


-

The "vpn-state" property

-
  "vpn-state"                guint                 : Read
+

NM_VPN_CONNECTION_BANNER

+
#define NM_VPN_CONNECTION_BANNER "banner"
+

-The VPN state of the active VPN connection.

+
+
+
+

Property Details

+
+

The “banner” property

+
  “banner”                   gchar *
+

Login Banner.

+

Flags: Read

+

Default value: NULL

+
+
+
+

The “vpn-state” property

+
  “vpn-state”                guint
+

Current VPN state.

+

Flags: Read

Allowed values: <= 7

Default value: 0

@@ -242,34 +270,18 @@ The VPN state of the active VPN connection.

Signal Details

-

The "vpn-state-changed" signal

-
void                user_function                      (NMVPNConnection *nmvpnconnection,
-                                                        guint            arg1,
-                                                        guint            arg2,
-                                                        gpointer         user_data)            : Run First
-

-

-
---- - - - - - - - - - - -

nmvpnconnection :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+

The “vpn-state-changed” signal

+
void
+user_function (NMVPNConnection *nmvpnconnection,
+               guint            arg1,
+               guint            arg2,
+               gpointer         user_data)
+

Flags: Run First

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMWimaxNsp.html b/docs/libnm-glib/html/NMWimaxNsp.html index 34933aaa..0976c9ff 100644 --- a/docs/libnm-glib/html/NMWimaxNsp.html +++ b/docs/libnm-glib/html/NMWimaxNsp.html @@ -2,36 +2,28 @@ -NMWimaxNsp +libnm-glib Reference Manual: NMWimaxNsp - + - - - - - - - - - - + + + + + + +
@@ -39,350 +31,423 @@

NMWimaxNsp

NMWimaxNsp

- +
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMWimaxNsp
-
-
-
-

Implemented Interfaces

-

-NMWimaxNsp implements - GInitable and GAsyncInitable.

-
-
-

Properties

-
-  "name"                     gchar*                : Read
-  "network-type"             guint                 : Read
-  "signal-quality"           guint                 : Read
-
-
-
-

Description

-

-

-
-

Details

-
-

NM_WIMAX_NSP_NAME

-
#define NM_WIMAX_NSP_NAME           "name"
-
-

-

-
-
-
-

NM_WIMAX_NSP_SIGNAL_QUALITY

-
#define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality"
-
-

-

-
-
-
-

NM_WIMAX_NSP_NETWORK_TYPE

-
#define NM_WIMAX_NSP_NETWORK_TYPE   "network-type"
-
-

-

-
-
-
-

enum NMWimaxNspNetworkType

-
typedef enum {
-	NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN         = 0,
-	NM_WIMAX_NSP_NETWORK_TYPE_HOME            = 1,
-	NM_WIMAX_NSP_NETWORK_TYPE_PARTNER         = 2,
-	NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER = 3
-} NMWimaxNspNetworkType;
-
-

-

-
+

Functions

+
--++ - - + + + + + - - + - - + - - + + + + +

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

+ +GObject * + +nm_wimax_nsp_new () +
const char * + +nm_wimax_nsp_get_name ()

NM_WIMAX_NSP_NETWORK_TYPE_HOME

+ +guint32 + +nm_wimax_nsp_get_signal_quality ()

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

+ +NMWimaxNspNetworkType + +nm_wimax_nsp_get_network_type ()

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

+ +GSList * + +nm_wimax_nsp_filter_connections () +
+gboolean + +nm_wimax_nsp_connection_valid ()
-
-
-

NMWimaxNsp

-
typedef struct _NMWimaxNsp NMWimaxNsp;
-

-

-
-
-
-

NMWimaxNspClass

-
typedef struct {
-	NMObjectClass parent;
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMWimaxNspClass;
-
-

-

-
-
-
-

nm_wimax_nsp_new ()

-
GObject *           nm_wimax_nsp_new                    (DBusGConnection *connection,
-                                                         const char *path);
-

-Creates a new NMWimaxNsp. -

-
+
+

Properties

+
--+++ - - + + + - - + + + - - + + +

connection :

the DBusGConnection - +gchar *nameRead

path :

the D-Bus object path of the WiMAX NSPguintnetwork-typeRead

Returns :

a new WiMAX NSP. [transfer full] -guintsignal-qualityRead
-
-
-

nm_wimax_nsp_get_name ()

-
const char *        nm_wimax_nsp_get_name               (NMWimaxNsp *nsp);
-

-Gets the name of the wimax NSP -

-
+
+

Types and Values

+
--++ - - + + + + + + - - + + + + + +

nsp :

a NMWimaxNsp -#defineNM_WIMAX_NSP_NAME
#defineNM_WIMAX_NSP_SIGNAL_QUALITY

Returns :

the name#defineNM_WIMAX_NSP_NETWORK_TYPE
enumNMWimaxNspNetworkType
-
-
-

nm_wimax_nsp_get_signal_quality ()

-
guint32             nm_wimax_nsp_get_signal_quality     (NMWimaxNsp *nsp);
+
+

Object Hierarchy

+
    GObject
+    ╰── NMObject
+        ╰── NMWimaxNsp
+
+
+
+

Description

-Gets the WPA signal quality of the wimax NSP.

-
+ +
+

Functions

+
+

nm_wimax_nsp_new ()

+
GObject *
+nm_wimax_nsp_new (DBusGConnection *connection,
+                  const char *path);
+

Creates a new NMWimaxNsp.

+
+

Parameters

+
--+++ - - + + + - - + + +

nsp :

a NMWimaxNsp -

connection

the DBusGConnection

 

Returns :

the signal quality

path

the D-Bus object path of the WiMAX NSP

 
+
+

Returns

+

a new WiMAX NSP.

+

[transfer full]

+
+

-

nm_wimax_nsp_get_network_type ()

-
NMWimaxNspNetworkType nm_wimax_nsp_get_network_type     (NMWimaxNsp *nsp);
-

-Gets the network type of the wimax NSP. -

-
+

nm_wimax_nsp_get_name ()

+
const char *
+nm_wimax_nsp_get_name (NMWimaxNsp *nsp);
+

Gets the name of the wimax NSP

+
+

Parameters

+
+++++ + + + + + +

nsp

a NMWimaxNsp

 
+
+
+

Returns

+

the name

+

+
+
+
+
+

nm_wimax_nsp_get_signal_quality ()

+
guint32
+nm_wimax_nsp_get_signal_quality (NMWimaxNsp *nsp);
+

Gets the WPA signal quality of the wimax NSP.

+
+

Parameters

+
+++++ + + + + + +

nsp

a NMWimaxNsp

 
+
+
+

Returns

+

the signal quality

+

+
+
+
+
+

nm_wimax_nsp_get_network_type ()

+
NMWimaxNspNetworkType
+nm_wimax_nsp_get_network_type (NMWimaxNsp *nsp);
+

Gets the network type of the wimax NSP.

+
+

Parameters

+
--++++ + + + + + +

nsp

a NMWimaxNsp

 
+
+
+

Returns

+

the network type

+

+
+
+
+
+

nm_wimax_nsp_filter_connections ()

+
GSList *
+nm_wimax_nsp_filter_connections (NMWimaxNsp *nsp,
+                                 const GSList *connections);
+

Filters a given list of connections for a given NMWimaxNsp object and +return connections which may be activated with the access point. Any +returned connections will match the nsp +'s network name and other attributes.

+
+

Parameters

+
++++ - - + + + - - + + +

nsp :

a NMWimaxNsp -

nsp

an NMWimaxNsp to filter connections for

 

Returns :

the network type

connections

a list of +NMConnection objects to filter.

[element-type NetworkManager.Connection]
+
+

Returns

+

a +list of NMConnection objects that could be activated with the given nsp +. +The elements of the list are owned by their creator and should not be freed +by the caller, but the returned list itself is owned by the caller and should +be freed with g_slist_free() when it is no longer required.

+

[transfer container][element-type NetworkManager.Connection]

+
+

-

nm_wimax_nsp_filter_connections ()

-
GSList *            nm_wimax_nsp_filter_connections     (NMWimaxNsp *nsp,
-                                                         const GSList *connections);
-

-Filters a given list of connections for a given NMWimaxNsp object and -return connections which may be activated with the access point. Any -returned connections will match the nsp's network name and other attributes. -

-
+

nm_wimax_nsp_connection_valid ()

+
gboolean
+nm_wimax_nsp_connection_valid (NMWimaxNsp *nsp,
+                               NMConnection *connection);
+

Validates a given connection against a given WiMAX NSP to ensure that the +connection may be activated with that NSP. The connection must match the +nsp +'s network name and other attributes.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + +

nsp :

an NMWimaxNsp to filter connections for

connections :

a list of -NMConnection objects to filter. [element-type NetworkManager.Connection] -

nsp

an NMWimaxNsp to validate connection +against

 

Returns :

a -list of NMConnection objects that could be activated with the given nsp. -The elements of the list are owned by their creator and should not be freed -by the caller, but the returned list itself is owned by the caller and should -be freed with g_slist_free() when it is no longer required. [transfer container][element-type NetworkManager.Connection] -

connection

an NMConnection to validate against nsp +

 
+
+

Returns

+

TRUE if the connection may be activated with this WiMAX NSP, +FALSE if it cannot be.

+

+
+
+ +
+

Types and Values

+
+

NM_WIMAX_NSP_NAME

+
#define NM_WIMAX_NSP_NAME           "name"
+
+

+

+

-

nm_wimax_nsp_connection_valid ()

-
gboolean            nm_wimax_nsp_connection_valid       (NMWimaxNsp *nsp,
-                                                         NMConnection *connection);
+

NM_WIMAX_NSP_SIGNAL_QUALITY

+
#define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality"
+
+

+

+
+
+
+

NM_WIMAX_NSP_NETWORK_TYPE

+
#define NM_WIMAX_NSP_NETWORK_TYPE   "network-type"
+

-Validates a given connection against a given WiMAX NSP to ensure that the -connection may be activated with that NSP. The connection must match the -nsp's network name and other attributes.

-
+ +
+
+

enum NMWimaxNspNetworkType

+

+

+
+

Members

+
--+++ - - + + + - - + + + + + + + + - - + + +

nsp :

an NMWimaxNsp to validate connection against

NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN

  

connection :

an NMConnection to validate against nsp -

NM_WIMAX_NSP_NETWORK_TYPE_HOME

  

NM_WIMAX_NSP_NETWORK_TYPE_PARTNER

  

Returns :

-TRUE if the connection may be activated with this WiMAX NSP, -FALSE if it cannot be.

NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER

  
+

Property Details

-

The "name" property

-
  "name"                     gchar*                : Read
-

-The name of the WiMAX NSP. -

+

The “name” property

+
  “name”                     gchar *
+

Name.

+

Flags: Read

Default value: NULL


-

The "network-type" property

-
  "network-type"             guint                 : Read
-

-The network type of the WiMAX NSP. -

+

The “network-type” property

+
  “network-type”             guint
+

Network Type.

+

Flags: Read

Default value: 0


-

The "signal-quality" property

-
  "signal-quality"           guint                 : Read
-

-The signal quality of the WiMAX NSP. -

+

The “signal-quality” property

+
  “signal-quality”           guint
+

Signal Quality.

+

Flags: Read

Allowed values: <= 100

Default value: 0

@@ -390,6 +455,6 @@ The signal quality of the WiMAX NSP.
+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/annotation-glossary.html b/docs/libnm-glib/html/annotation-glossary.html index b8c851e4..ede10027 100644 --- a/docs/libnm-glib/html/annotation-glossary.html +++ b/docs/libnm-glib/html/annotation-glossary.html @@ -2,81 +2,62 @@ -Annotation Glossary +libnm-glib Reference Manual: Annotation Glossary - + - - - - - - - - - - + + + + + + +

Annotation Glossary

-

C

-
closure
-

This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.

-

T

-
transfer container
-

Free data container after the code is done.

A

allow-none

NULL is ok, both for passing and for returning.

-

S

-
scope async
-

The callback is valid until first called.

+
array
+

Parameter points to an array of items.

+

C

+
closure
+

This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.

E

element-type

Generics and defining elements of containers and arrays.

-

T

-
transfer none
-

Don't free data after the code is done.

-

A

-
array
-

Parameter points to an array of items.

-

T

-
type
-

Override the parsed C type with given type.

O

out

Parameter for returning results. Default is transfer full.

+

S

+
scope async
+

The callback is valid until first called.

T

+
transfer container
+

Free data container after the code is done.

transfer full

Free data after the code is done.

+
transfer none
+

Don't free data after the code is done.

+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/api-index-full.html b/docs/libnm-glib/html/api-index-full.html index fd9de82b..822db046 100644 --- a/docs/libnm-glib/html/api-index-full.html +++ b/docs/libnm-glib/html/api-index-full.html @@ -2,94 +2,81 @@ -API Index +libnm-glib Reference Manual: API Index - + - - - - - - - - - - + + + + + + +

API Index

A

-NMAccessPoint, struct in NMAccessPoint +NMAccessPoint:bssid, object property in NMAccessPoint
-NMAccessPoint:bssid, object property in NMAccessPoint +NMAccessPoint:flags, object property in NMAccessPoint
-NMAccessPoint:flags, object property in NMAccessPoint +NMAccessPoint:frequency, object property in NMAccessPoint
-NMAccessPoint:frequency, object property in NMAccessPoint +NMAccessPoint:hw-address, object property in NMAccessPoint
-NMAccessPoint:hw-address, object property in NMAccessPoint +NMAccessPoint:max-bitrate, object property in NMAccessPoint
-NMAccessPoint:max-bitrate, object property in NMAccessPoint +NMAccessPoint:mode, object property in NMAccessPoint
-NMAccessPoint:mode, object property in NMAccessPoint +NMAccessPoint:rsn-flags, object property in NMAccessPoint
-NMAccessPoint:rsn-flags, object property in NMAccessPoint +NMAccessPoint:ssid, object property in NMAccessPoint
-NMAccessPoint:ssid, object property in NMAccessPoint +NMAccessPoint:strength, object property in NMAccessPoint
-NMAccessPoint:strength, object property in NMAccessPoint -
-
-
-NMAccessPoint:wpa-flags, object property in NMAccessPoint -
-
-
-NMAccessPointClass, struct in NMAccessPoint +NMAccessPoint:wpa-flags, object property in NMAccessPoint
@@ -97,11 +84,11 @@
-nm_access_point_connection_valid, function in NMAccessPoint +nm_access_point_connection_valid, function in NMAccessPoint
-nm_access_point_filter_connections, function in NMAccessPoint +nm_access_point_filter_connections, function in NMAccessPoint
@@ -113,43 +100,43 @@
-nm_access_point_get_bssid, function in NMAccessPoint +nm_access_point_get_bssid, function in NMAccessPoint
-nm_access_point_get_flags, function in NMAccessPoint +nm_access_point_get_flags, function in NMAccessPoint
-nm_access_point_get_frequency, function in NMAccessPoint +nm_access_point_get_frequency, function in NMAccessPoint
-nm_access_point_get_hw_address, function in NMAccessPoint +nm_access_point_get_hw_address, function in NMAccessPoint
-nm_access_point_get_max_bitrate, function in NMAccessPoint +nm_access_point_get_max_bitrate, function in NMAccessPoint
-nm_access_point_get_mode, function in NMAccessPoint +nm_access_point_get_mode, function in NMAccessPoint
-nm_access_point_get_rsn_flags, function in NMAccessPoint +nm_access_point_get_rsn_flags, function in NMAccessPoint
-nm_access_point_get_ssid, function in NMAccessPoint +nm_access_point_get_ssid, function in NMAccessPoint
-nm_access_point_get_strength, function in NMAccessPoint +nm_access_point_get_strength, function in NMAccessPoint
-nm_access_point_get_wpa_flags, function in NMAccessPoint +nm_access_point_get_wpa_flags, function in NMAccessPoint
@@ -165,7 +152,7 @@
-nm_access_point_new, function in NMAccessPoint +nm_access_point_new, function in NMAccessPoint
@@ -185,43 +172,35 @@
-NMActiveConnection, struct in NMActiveConnection +NMActiveConnection:connection, object property in NMActiveConnection
-NMActiveConnection:connection, object property in NMActiveConnection +NMActiveConnection:default, object property in NMActiveConnection
-NMActiveConnection:default, object property in NMActiveConnection +NMActiveConnection:default6, object property in NMActiveConnection
-NMActiveConnection:default6, object property in NMActiveConnection +NMActiveConnection:devices, object property in NMActiveConnection
-NMActiveConnection:devices, object property in NMActiveConnection +NMActiveConnection:master, object property in NMActiveConnection
-NMActiveConnection:master, object property in NMActiveConnection +NMActiveConnection:specific-object, object property in NMActiveConnection
-NMActiveConnection:specific-object, object property in NMActiveConnection +NMActiveConnection:state, object property in NMActiveConnection
-NMActiveConnection:state, object property in NMActiveConnection -
-
-
-NMActiveConnection:uuid, object property in NMActiveConnection -
-
-
-NMActiveConnectionClass, struct in NMActiveConnection +NMActiveConnection:uuid, object property in NMActiveConnection
@@ -241,35 +220,35 @@
-nm_active_connection_get_connection, function in NMActiveConnection +nm_active_connection_get_connection, function in NMActiveConnection
-nm_active_connection_get_default, function in NMActiveConnection +nm_active_connection_get_default, function in NMActiveConnection
-nm_active_connection_get_default6, function in NMActiveConnection +nm_active_connection_get_default6, function in NMActiveConnection
-nm_active_connection_get_devices, function in NMActiveConnection +nm_active_connection_get_devices, function in NMActiveConnection
-nm_active_connection_get_master, function in NMActiveConnection +nm_active_connection_get_master, function in NMActiveConnection
-nm_active_connection_get_specific_object, function in NMActiveConnection +nm_active_connection_get_specific_object, function in NMActiveConnection
-nm_active_connection_get_state, function in NMActiveConnection +nm_active_connection_get_state, function in NMActiveConnection
-nm_active_connection_get_uuid, function in NMActiveConnection +nm_active_connection_get_uuid, function in NMActiveConnection
@@ -277,7 +256,7 @@
-nm_active_connection_new, function in NMActiveConnection +nm_active_connection_new, function in NMActiveConnection
@@ -294,87 +273,79 @@

C

-NMClient, struct in NMClient -
-
-
-NMClient::device-added, object signal in NMClient -
-
-
-NMClient::device-removed, object signal in NMClient +NMClient::device-added, object signal in NMClient
-NMClient::permission-changed, object signal in NMClient +NMClient::device-removed, object signal in NMClient
-NMClient:activating-connection, object property in NMClient +NMClient::permission-changed, object signal in NMClient
-NMClient:active-connections, object property in NMClient +NMClient:activating-connection, object property in NMClient
-NMClient:connectivity, object property in NMClient +NMClient:active-connections, object property in NMClient
-NMClient:manager-running, object property in NMClient +NMClient:connectivity, object property in NMClient
-NMClient:networking-enabled, object property in NMClient +NMClient:manager-running, object property in NMClient
-NMClient:primary-connection, object property in NMClient +NMClient:networking-enabled, object property in NMClient
-NMClient:state, object property in NMClient +NMClient:primary-connection, object property in NMClient
-NMClient:version, object property in NMClient +NMClient:state, object property in NMClient
-NMClient:wimax-enabled, object property in NMClient +NMClient:version, object property in NMClient
-NMClient:wimax-hardware-enabled, object property in NMClient +NMClient:wimax-enabled, object property in NMClient
-NMClient:wireless-enabled, object property in NMClient +NMClient:wimax-hardware-enabled, object property in NMClient
-NMClient:wireless-hardware-enabled, object property in NMClient +NMClient:wireless-enabled, object property in NMClient
-NMClient:wwan-enabled, object property in NMClient +NMClient:wireless-hardware-enabled, object property in NMClient
-NMClient:wwan-hardware-enabled, object property in NMClient +NMClient:wwan-enabled, object property in NMClient
-NMClientActivateFn, user_function in NMClient +NMClient:wwan-hardware-enabled, object property in NMClient
-NMClientAddActivateFn, user_function in NMClient +NMClientActivateFn, user_function in NMClient
-NMClientClass, struct in NMClient +NMClientAddActivateFn, user_function in NMClient
@@ -386,7 +357,7 @@
-nm_client_activate_connection, function in NMClient +nm_client_activate_connection, function in NMClient
@@ -398,19 +369,19 @@
-nm_client_add_and_activate_connection, function in NMClient +nm_client_add_and_activate_connection, function in NMClient
-nm_client_check_connectivity, function in NMClient +nm_client_check_connectivity, function in NMClient
-nm_client_check_connectivity_async, function in NMClient +nm_client_check_connectivity_async, function in NMClient
-nm_client_check_connectivity_finish, function in NMClient +nm_client_check_connectivity_finish, function in NMClient
@@ -418,55 +389,55 @@
-nm_client_deactivate_connection, function in NMClient +nm_client_deactivate_connection, function in NMClient
-nm_client_get_activating_connection, function in NMClient +nm_client_get_activating_connection, function in NMClient
-nm_client_get_active_connections, function in NMClient +nm_client_get_active_connections, function in NMClient
-nm_client_get_connectivity, function in NMClient +nm_client_get_connectivity, function in NMClient
-nm_client_get_devices, function in NMClient +nm_client_get_devices, function in NMClient
-nm_client_get_device_by_iface, function in NMClient +nm_client_get_device_by_iface, function in NMClient
-nm_client_get_device_by_path, function in NMClient +nm_client_get_device_by_path, function in NMClient
-nm_client_get_logging, function in NMClient +nm_client_get_logging, function in NMClient
-nm_client_get_manager_running, function in NMClient +nm_client_get_manager_running, function in NMClient
-nm_client_get_permission_result, function in NMClient +nm_client_get_permission_result, function in NMClient
-nm_client_get_primary_connection, function in NMClient +nm_client_get_primary_connection, function in NMClient
-nm_client_get_state, function in NMClient +nm_client_get_state, function in NMClient
-nm_client_get_version, function in NMClient +nm_client_get_version, function in NMClient
@@ -478,23 +449,23 @@
-nm_client_networking_get_enabled, function in NMClient +nm_client_networking_get_enabled, function in NMClient
-nm_client_networking_set_enabled, function in NMClient +nm_client_networking_set_enabled, function in NMClient
-nm_client_new, function in NMClient +nm_client_new, function in NMClient
-nm_client_new_async, function in NMClient +nm_client_new_async, function in NMClient
-nm_client_new_finish, function in NMClient +nm_client_new_finish, function in NMClient
@@ -502,11 +473,11 @@
-nm_client_set_logging, function in NMClient +nm_client_set_logging, function in NMClient
-nm_client_sleep, function in NMClient +nm_client_sleep, function in NMClient
@@ -522,7 +493,7 @@
-nm_client_wimax_get_enabled, function in NMClient +nm_client_wimax_get_enabled, function in NMClient
@@ -530,11 +501,11 @@
-nm_client_wimax_hardware_get_enabled, function in NMClient +nm_client_wimax_hardware_get_enabled, function in NMClient
-nm_client_wimax_set_enabled, function in NMClient +nm_client_wimax_set_enabled, function in NMClient
@@ -542,7 +513,7 @@
-nm_client_wireless_get_enabled, function in NMClient +nm_client_wireless_get_enabled, function in NMClient
@@ -550,11 +521,11 @@
-nm_client_wireless_hardware_get_enabled, function in NMClient +nm_client_wireless_hardware_get_enabled, function in NMClient
-nm_client_wireless_set_enabled, function in NMClient +nm_client_wireless_set_enabled, function in NMClient
@@ -562,7 +533,7 @@
-nm_client_wwan_get_enabled, function in NMClient +nm_client_wwan_get_enabled, function in NMClient
@@ -570,116 +541,104 @@
-nm_client_wwan_hardware_get_enabled, function in NMClient +nm_client_wwan_hardware_get_enabled, function in NMClient
-nm_client_wwan_set_enabled, function in NMClient +nm_client_wwan_set_enabled, function in NMClient

D

-NMDevice, struct in NMDevice -
-
-
-NMDevice::state-changed, object signal in NMDevice +NMDevice::state-changed, object signal in NMDevice
-NMDevice:active-connection, object property in NMDevice +NMDevice:active-connection, object property in NMDevice
-NMDevice:autoconnect, object property in NMDevice +NMDevice:autoconnect, object property in NMDevice
-NMDevice:available-connections, object property in NMDevice +NMDevice:available-connections, object property in NMDevice
-NMDevice:capabilities, object property in NMDevice +NMDevice:capabilities, object property in NMDevice
-NMDevice:device-type, object property in NMDevice +NMDevice:device-type, object property in NMDevice
-NMDevice:dhcp4-config, object property in NMDevice +NMDevice:dhcp4-config, object property in NMDevice
-NMDevice:dhcp6-config, object property in NMDevice +NMDevice:dhcp6-config, object property in NMDevice
-NMDevice:driver, object property in NMDevice +NMDevice:driver, object property in NMDevice
-NMDevice:driver-version, object property in NMDevice +NMDevice:driver-version, object property in NMDevice
-NMDevice:firmware-missing, object property in NMDevice +NMDevice:firmware-missing, object property in NMDevice
-NMDevice:firmware-version, object property in NMDevice +NMDevice:firmware-version, object property in NMDevice
-NMDevice:interface, object property in NMDevice +NMDevice:interface, object property in NMDevice
-NMDevice:ip-interface, object property in NMDevice +NMDevice:ip-interface, object property in NMDevice
-NMDevice:ip4-config, object property in NMDevice +NMDevice:ip4-config, object property in NMDevice
-NMDevice:ip6-config, object property in NMDevice +NMDevice:ip6-config, object property in NMDevice
-NMDevice:managed, object property in NMDevice +NMDevice:managed, object property in NMDevice
-NMDevice:product, object property in NMDevice +NMDevice:product, object property in NMDevice
-NMDevice:state, object property in NMDevice +NMDevice:state, object property in NMDevice
-NMDevice:state-reason, object property in NMDevice +NMDevice:state-reason, object property in NMDevice
-NMDevice:udi, object property in NMDevice +NMDevice:udi, object property in NMDevice
-NMDevice:vendor, object property in NMDevice +NMDevice:vendor, object property in NMDevice
-NMDeviceAdsl, struct in NMDeviceAdsl -
-
-
-NMDeviceAdsl:carrier, object property in NMDeviceAdsl -
-
-
-NMDeviceAdslClass, struct in NMDeviceAdsl +NMDeviceAdsl:carrier, object property in NMDeviceAdsl
@@ -687,23 +646,15 @@
-NMDeviceBond, struct in NMDeviceBond -
-
-
-NMDeviceBond:carrier, object property in NMDeviceBond -
-
-
-NMDeviceBond:hw-address, object property in NMDeviceBond +NMDeviceBond:carrier, object property in NMDeviceBond
-NMDeviceBond:slaves, object property in NMDeviceBond +NMDeviceBond:hw-address, object property in NMDeviceBond
-NMDeviceBondClass, struct in NMDeviceBond +NMDeviceBond:slaves, object property in NMDeviceBond
@@ -711,23 +662,15 @@
-NMDeviceBridge, struct in NMDeviceBridge -
-
-
-NMDeviceBridge:carrier, object property in NMDeviceBridge +NMDeviceBridge:carrier, object property in NMDeviceBridge
-NMDeviceBridge:hw-address, object property in NMDeviceBridge +NMDeviceBridge:hw-address, object property in NMDeviceBridge
-NMDeviceBridge:slaves, object property in NMDeviceBridge -
-
-
-NMDeviceBridgeClass, struct in NMDeviceBridge +NMDeviceBridge:slaves, object property in NMDeviceBridge
@@ -735,23 +678,15 @@
-NMDeviceBt, struct in NMDeviceBt +NMDeviceBt:bt-capabilities, object property in NMDeviceBt
-NMDeviceBt:bt-capabilities, object property in NMDeviceBt +NMDeviceBt:hw-address, object property in NMDeviceBt
-NMDeviceBt:hw-address, object property in NMDeviceBt -
-
-
-NMDeviceBt:name, object property in NMDeviceBt -
-
-
-NMDeviceBtClass, struct in NMDeviceBt +NMDeviceBt:name, object property in NMDeviceBt
@@ -759,35 +694,23 @@
-NMDeviceClass, struct in NMDevice -
-
-
-NMDeviceDeactivateFn, user_function in NMDevice -
-
-
-NMDeviceEthernet, struct in NMDeviceEthernet +NMDeviceDeactivateFn, user_function in NMDevice
-NMDeviceEthernet:carrier, object property in NMDeviceEthernet +NMDeviceEthernet:carrier, object property in NMDeviceEthernet
-NMDeviceEthernet:hw-address, object property in NMDeviceEthernet +NMDeviceEthernet:hw-address, object property in NMDeviceEthernet
-NMDeviceEthernet:perm-hw-address, object property in NMDeviceEthernet +NMDeviceEthernet:perm-hw-address, object property in NMDeviceEthernet
-NMDeviceEthernet:speed, object property in NMDeviceEthernet -
-
-
-NMDeviceEthernetClass, struct in NMDeviceEthernet +NMDeviceEthernet:speed, object property in NMDeviceEthernet
@@ -795,19 +718,11 @@
-NMDeviceInfiniband, struct in NMDeviceInfiniband -
-
-
-NMDeviceInfiniband:carrier, object property in NMDeviceInfiniband +NMDeviceInfiniband:carrier, object property in NMDeviceInfiniband
-NMDeviceInfiniband:hw-address, object property in NMDeviceInfiniband -
-
-
-NMDeviceInfinibandClass, struct in NMDeviceInfiniband +NMDeviceInfiniband:hw-address, object property in NMDeviceInfiniband
@@ -815,19 +730,11 @@
-NMDeviceModem, struct in NMDeviceModem -
-
-
-NMDeviceModem:current-capabilities, object property in NMDeviceModem -
-
-
-NMDeviceModem:modem-capabilities, object property in NMDeviceModem +NMDeviceModem:current-capabilities, object property in NMDeviceModem
-NMDeviceModemClass, struct in NMDeviceModem +NMDeviceModem:modem-capabilities, object property in NMDeviceModem
@@ -835,23 +742,15 @@
-NMDeviceOlpcMesh, struct in NMDeviceOlpcMesh -
-
-
-NMDeviceOlpcMesh:active-channel, object property in NMDeviceOlpcMesh -
-
-
-NMDeviceOlpcMesh:companion, object property in NMDeviceOlpcMesh +NMDeviceOlpcMesh:active-channel, object property in NMDeviceOlpcMesh
-NMDeviceOlpcMesh:hw-address, object property in NMDeviceOlpcMesh +NMDeviceOlpcMesh:companion, object property in NMDeviceOlpcMesh
-NMDeviceOlpcMeshClass, struct in NMDeviceOlpcMesh +NMDeviceOlpcMesh:hw-address, object property in NMDeviceOlpcMesh
@@ -859,23 +758,15 @@
-NMDeviceVlan, struct in NMDeviceVlan -
-
-
-NMDeviceVlan:carrier, object property in NMDeviceVlan -
-
-
-NMDeviceVlan:hw-address, object property in NMDeviceVlan +NMDeviceVlan:carrier, object property in NMDeviceVlan
-NMDeviceVlan:vlan-id, object property in NMDeviceVlan +NMDeviceVlan:hw-address, object property in NMDeviceVlan
-NMDeviceVlanClass, struct in NMDeviceVlan +NMDeviceVlan:vlan-id, object property in NMDeviceVlan
@@ -883,43 +774,35 @@
-NMDeviceWifi, struct in NMDeviceWifi -
-
-
-NMDeviceWifi::access-point-added, object signal in NMDeviceWifi +NMDeviceWifi::access-point-added, object signal in NMDeviceWifi
-NMDeviceWifi::access-point-removed, object signal in NMDeviceWifi +NMDeviceWifi::access-point-removed, object signal in NMDeviceWifi
-NMDeviceWifi:active-access-point, object property in NMDeviceWifi +NMDeviceWifi:active-access-point, object property in NMDeviceWifi
-NMDeviceWifi:bitrate, object property in NMDeviceWifi +NMDeviceWifi:bitrate, object property in NMDeviceWifi
-NMDeviceWifi:hw-address, object property in NMDeviceWifi +NMDeviceWifi:hw-address, object property in NMDeviceWifi
-NMDeviceWifi:mode, object property in NMDeviceWifi +NMDeviceWifi:mode, object property in NMDeviceWifi
-NMDeviceWifi:perm-hw-address, object property in NMDeviceWifi +NMDeviceWifi:perm-hw-address, object property in NMDeviceWifi
-NMDeviceWifi:wireless-capabilities, object property in NMDeviceWifi -
-
-
-NMDeviceWifiClass, struct in NMDeviceWifi +NMDeviceWifi:wireless-capabilities, object property in NMDeviceWifi
@@ -927,51 +810,43 @@
-NMDeviceWifiRequestScanFn, user_function in NMDeviceWifi -
-
-
-NMDeviceWimax, struct in NMDeviceWimax +NMDeviceWifiRequestScanFn, user_function in NMDeviceWifi
-NMDeviceWimax::nsp-added, object signal in NMDeviceWimax +NMDeviceWimax::nsp-added, object signal in NMDeviceWimax
-NMDeviceWimax::nsp-removed, object signal in NMDeviceWimax +NMDeviceWimax::nsp-removed, object signal in NMDeviceWimax
-NMDeviceWimax:active-nsp, object property in NMDeviceWimax +NMDeviceWimax:active-nsp, object property in NMDeviceWimax
-NMDeviceWimax:bsid, object property in NMDeviceWimax +NMDeviceWimax:bsid, object property in NMDeviceWimax
-NMDeviceWimax:center-frequency, object property in NMDeviceWimax +NMDeviceWimax:center-frequency, object property in NMDeviceWimax
-NMDeviceWimax:cinr, object property in NMDeviceWimax +NMDeviceWimax:cinr, object property in NMDeviceWimax
-NMDeviceWimax:hw-address, object property in NMDeviceWimax +NMDeviceWimax:hw-address, object property in NMDeviceWimax
-NMDeviceWimax:rssi, object property in NMDeviceWimax +NMDeviceWimax:rssi, object property in NMDeviceWimax
-NMDeviceWimax:tx-power, object property in NMDeviceWimax -
-
-
-NMDeviceWimaxClass, struct in NMDeviceWimax +NMDeviceWimax:tx-power, object property in NMDeviceWimax
@@ -991,15 +866,15 @@
-nm_device_adsl_error_quark, function in NMDeviceAdsl +nm_device_adsl_error_quark, function in NMDeviceAdsl
-nm_device_adsl_get_carrier, function in NMDeviceAdsl +nm_device_adsl_get_carrier, function in NMDeviceAdsl
-nm_device_adsl_new, function in NMDeviceAdsl +nm_device_adsl_new, function in NMDeviceAdsl
@@ -1019,19 +894,19 @@
-nm_device_bond_error_quark, function in NMDeviceBond +nm_device_bond_error_quark, function in NMDeviceBond
-nm_device_bond_get_carrier, function in NMDeviceBond +nm_device_bond_get_carrier, function in NMDeviceBond
-nm_device_bond_get_hw_address, function in NMDeviceBond +nm_device_bond_get_hw_address, function in NMDeviceBond
-nm_device_bond_get_slaves, function in NMDeviceBond +nm_device_bond_get_slaves, function in NMDeviceBond
@@ -1039,7 +914,7 @@
-nm_device_bond_new, function in NMDeviceBond +nm_device_bond_new, function in NMDeviceBond
@@ -1055,19 +930,19 @@
-nm_device_bridge_error_quark, function in NMDeviceBridge +nm_device_bridge_error_quark, function in NMDeviceBridge
-nm_device_bridge_get_carrier, function in NMDeviceBridge +nm_device_bridge_get_carrier, function in NMDeviceBridge
-nm_device_bridge_get_hw_address, function in NMDeviceBridge +nm_device_bridge_get_hw_address, function in NMDeviceBridge
-nm_device_bridge_get_slaves, function in NMDeviceBridge +nm_device_bridge_get_slaves, function in NMDeviceBridge
@@ -1075,7 +950,7 @@
-nm_device_bridge_new, function in NMDeviceBridge +nm_device_bridge_new, function in NMDeviceBridge
@@ -1091,19 +966,19 @@
-nm_device_bt_error_quark, function in NMDeviceBt +nm_device_bt_error_quark, function in NMDeviceBt
-nm_device_bt_get_capabilities, function in NMDeviceBt +nm_device_bt_get_capabilities, function in NMDeviceBt
-nm_device_bt_get_hw_address, function in NMDeviceBt +nm_device_bt_get_hw_address, function in NMDeviceBt
-nm_device_bt_get_name, function in NMDeviceBt +nm_device_bt_get_name, function in NMDeviceBt
@@ -1115,7 +990,7 @@
-nm_device_bt_new, function in NMDeviceBt +nm_device_bt_new, function in NMDeviceBt
@@ -1123,11 +998,11 @@
-nm_device_connection_compatible, function in NMDevice +nm_device_connection_compatible, function in NMDevice
-nm_device_connection_valid, function in NMDevice +nm_device_connection_valid, function in NMDevice
@@ -1143,7 +1018,7 @@
-nm_device_disconnect, function in NMDevice +nm_device_disconnect, function in NMDevice
@@ -1163,23 +1038,23 @@
-nm_device_ethernet_error_quark, function in NMDeviceEthernet +nm_device_ethernet_error_quark, function in NMDeviceEthernet
-nm_device_ethernet_get_carrier, function in NMDeviceEthernet +nm_device_ethernet_get_carrier, function in NMDeviceEthernet
-nm_device_ethernet_get_hw_address, function in NMDeviceEthernet +nm_device_ethernet_get_hw_address, function in NMDeviceEthernet
-nm_device_ethernet_get_permanent_hw_address, function in NMDeviceEthernet +nm_device_ethernet_get_permanent_hw_address, function in NMDeviceEthernet
-nm_device_ethernet_get_speed, function in NMDeviceEthernet +nm_device_ethernet_get_speed, function in NMDeviceEthernet
@@ -1187,7 +1062,7 @@
-nm_device_ethernet_new, function in NMDeviceEthernet +nm_device_ethernet_new, function in NMDeviceEthernet
@@ -1199,7 +1074,7 @@
-nm_device_filter_connections, function in NMDevice +nm_device_filter_connections, function in NMDevice
@@ -1211,87 +1086,87 @@
-nm_device_get_active_connection, function in NMDevice +nm_device_get_active_connection, function in NMDevice
-nm_device_get_autoconnect, function in NMDevice +nm_device_get_autoconnect, function in NMDevice
-nm_device_get_available_connections, function in NMDevice +nm_device_get_available_connections, function in NMDevice
-nm_device_get_capabilities, function in NMDevice +nm_device_get_capabilities, function in NMDevice
-nm_device_get_device_type, function in NMDevice +nm_device_get_device_type, function in NMDevice
-nm_device_get_dhcp4_config, function in NMDevice +nm_device_get_dhcp4_config, function in NMDevice
-nm_device_get_dhcp6_config, function in NMDevice +nm_device_get_dhcp6_config, function in NMDevice
-nm_device_get_driver, function in NMDevice +nm_device_get_driver, function in NMDevice
-nm_device_get_driver_version, function in NMDevice +nm_device_get_driver_version, function in NMDevice
-nm_device_get_firmware_missing, function in NMDevice +nm_device_get_firmware_missing, function in NMDevice
-nm_device_get_firmware_version, function in NMDevice +nm_device_get_firmware_version, function in NMDevice
-nm_device_get_iface, function in NMDevice +nm_device_get_iface, function in NMDevice
-nm_device_get_ip4_config, function in NMDevice +nm_device_get_ip4_config, function in NMDevice
-nm_device_get_ip6_config, function in NMDevice +nm_device_get_ip6_config, function in NMDevice
-nm_device_get_ip_iface, function in NMDevice +nm_device_get_ip_iface, function in NMDevice
-nm_device_get_managed, function in NMDevice +nm_device_get_managed, function in NMDevice
-nm_device_get_product, function in NMDevice +nm_device_get_product, function in NMDevice
-nm_device_get_state, function in NMDevice +nm_device_get_state, function in NMDevice
-nm_device_get_state_reason, function in NMDevice +nm_device_get_state_reason, function in NMDevice
-nm_device_get_udi, function in NMDevice +nm_device_get_udi, function in NMDevice
-nm_device_get_vendor, function in NMDevice +nm_device_get_vendor, function in NMDevice
@@ -1303,15 +1178,15 @@
-nm_device_infiniband_error_quark, function in NMDeviceInfiniband +nm_device_infiniband_error_quark, function in NMDeviceInfiniband
-nm_device_infiniband_get_carrier, function in NMDeviceInfiniband +nm_device_infiniband_get_carrier, function in NMDeviceInfiniband
-nm_device_infiniband_get_hw_address, function in NMDeviceInfiniband +nm_device_infiniband_get_hw_address, function in NMDeviceInfiniband
@@ -1319,7 +1194,7 @@
-nm_device_infiniband_new, function in NMDeviceInfiniband +nm_device_infiniband_new, function in NMDeviceInfiniband
@@ -1351,15 +1226,15 @@
-nm_device_modem_error_quark, function in NMDeviceModem +nm_device_modem_error_quark, function in NMDeviceModem
-nm_device_modem_get_current_capabilities, function in NMDeviceModem +nm_device_modem_get_current_capabilities, function in NMDeviceModem
-nm_device_modem_get_modem_capabilities, function in NMDeviceModem +nm_device_modem_get_modem_capabilities, function in NMDeviceModem
@@ -1367,7 +1242,7 @@
-nm_device_new, function in NMDevice +nm_device_new, function in NMDevice
@@ -1383,19 +1258,19 @@
-nm_device_olpc_mesh_error_quark, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_error_quark, function in NMDeviceOlpcMesh
-nm_device_olpc_mesh_get_active_channel, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_get_active_channel, function in NMDeviceOlpcMesh
-nm_device_olpc_mesh_get_companion, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_get_companion, function in NMDeviceOlpcMesh
-nm_device_olpc_mesh_get_hw_address, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_get_hw_address, function in NMDeviceOlpcMesh
@@ -1403,7 +1278,7 @@
-nm_device_olpc_mesh_new, function in NMDeviceOlpcMesh +nm_device_olpc_mesh_new, function in NMDeviceOlpcMesh
@@ -1411,7 +1286,7 @@
-nm_device_set_autoconnect, function in NMDevice +nm_device_set_autoconnect, function in NMDevice
@@ -1439,19 +1314,19 @@
-nm_device_vlan_error_quark, function in NMDeviceVlan +nm_device_vlan_error_quark, function in NMDeviceVlan
-nm_device_vlan_get_carrier, function in NMDeviceVlan +nm_device_vlan_get_carrier, function in NMDeviceVlan
-nm_device_vlan_get_hw_address, function in NMDeviceVlan +nm_device_vlan_get_hw_address, function in NMDeviceVlan
-nm_device_vlan_get_vlan_id, function in NMDeviceVlan +nm_device_vlan_get_vlan_id, function in NMDeviceVlan
@@ -1459,7 +1334,7 @@
-nm_device_vlan_new, function in NMDeviceVlan +nm_device_vlan_new, function in NMDeviceVlan
@@ -1483,39 +1358,39 @@
-nm_device_wifi_error_quark, function in NMDeviceWifi +nm_device_wifi_error_quark, function in NMDeviceWifi
-nm_device_wifi_get_access_points, function in NMDeviceWifi +nm_device_wifi_get_access_points, function in NMDeviceWifi
-nm_device_wifi_get_access_point_by_path, function in NMDeviceWifi +nm_device_wifi_get_access_point_by_path, function in NMDeviceWifi
-nm_device_wifi_get_active_access_point, function in NMDeviceWifi +nm_device_wifi_get_active_access_point, function in NMDeviceWifi
-nm_device_wifi_get_bitrate, function in NMDeviceWifi +nm_device_wifi_get_bitrate, function in NMDeviceWifi
-nm_device_wifi_get_capabilities, function in NMDeviceWifi +nm_device_wifi_get_capabilities, function in NMDeviceWifi
-nm_device_wifi_get_hw_address, function in NMDeviceWifi +nm_device_wifi_get_hw_address, function in NMDeviceWifi
-nm_device_wifi_get_mode, function in NMDeviceWifi +nm_device_wifi_get_mode, function in NMDeviceWifi
-nm_device_wifi_get_permanent_hw_address, function in NMDeviceWifi +nm_device_wifi_get_permanent_hw_address, function in NMDeviceWifi
@@ -1527,7 +1402,7 @@
-nm_device_wifi_new, function in NMDeviceWifi +nm_device_wifi_new, function in NMDeviceWifi
@@ -1535,7 +1410,7 @@
-nm_device_wifi_request_scan_simple, function in NMDeviceWifi +nm_device_wifi_request_scan_simple, function in NMDeviceWifi
@@ -1559,43 +1434,43 @@
-nm_device_wimax_error_quark, function in NMDeviceWimax +nm_device_wimax_error_quark, function in NMDeviceWimax
-nm_device_wimax_get_active_nsp, function in NMDeviceWimax +nm_device_wimax_get_active_nsp, function in NMDeviceWimax
-nm_device_wimax_get_bsid, function in NMDeviceWimax +nm_device_wimax_get_bsid, function in NMDeviceWimax
-nm_device_wimax_get_center_frequency, function in NMDeviceWimax +nm_device_wimax_get_center_frequency, function in NMDeviceWimax
-nm_device_wimax_get_cinr, function in NMDeviceWimax +nm_device_wimax_get_cinr, function in NMDeviceWimax
-nm_device_wimax_get_hw_address, function in NMDeviceWimax +nm_device_wimax_get_hw_address, function in NMDeviceWimax
-nm_device_wimax_get_nsps, function in NMDeviceWimax +nm_device_wimax_get_nsps, function in NMDeviceWimax
-nm_device_wimax_get_nsp_by_path, function in NMDeviceWimax +nm_device_wimax_get_nsp_by_path, function in NMDeviceWimax
-nm_device_wimax_get_rssi, function in NMDeviceWimax +nm_device_wimax_get_rssi, function in NMDeviceWimax
-nm_device_wimax_get_tx_power, function in NMDeviceWimax +nm_device_wimax_get_tx_power, function in NMDeviceWimax
@@ -1603,7 +1478,7 @@
-nm_device_wimax_new, function in NMDeviceWimax +nm_device_wimax_new, function in NMDeviceWimax
@@ -1615,27 +1490,19 @@
-NMDHCP4Config, struct in NMDHCP4Config +NMDHCP4Config:options, object property in NMDHCP4Config
-NMDHCP4Config:options, object property in NMDHCP4Config +nm_dhcp4_config_get_one_option, function in NMDHCP4Config
-NMDHCP4ConfigClass, struct in NMDHCP4Config +nm_dhcp4_config_get_options, function in NMDHCP4Config
-nm_dhcp4_config_get_one_option, function in NMDHCP4Config -
-
-
-nm_dhcp4_config_get_options, function in NMDHCP4Config -
-
-
-nm_dhcp4_config_new, function in NMDHCP4Config +nm_dhcp4_config_new, function in NMDHCP4Config
@@ -1643,27 +1510,19 @@
-NMDHCP6Config, struct in NMDHCP6Config -
-
-
-NMDHCP6Config:options, object property in NMDHCP6Config -
-
-
-NMDHCP6ConfigClass, struct in NMDHCP6Config +NMDHCP6Config:options, object property in NMDHCP6Config
-nm_dhcp6_config_get_one_option, function in NMDHCP6Config +nm_dhcp6_config_get_one_option, function in NMDHCP6Config
-nm_dhcp6_config_get_options, function in NMDHCP6Config +nm_dhcp6_config_get_options, function in NMDHCP6Config
-nm_dhcp6_config_new, function in NMDHCP6Config +nm_dhcp6_config_new, function in NMDHCP6Config
@@ -1672,31 +1531,23 @@

I

-NMIP4Config, struct in NMIP4Config +NMIP4Config:addresses, object property in NMIP4Config
-NMIP4Config:addresses, object property in NMIP4Config +NMIP4Config:domains, object property in NMIP4Config
-NMIP4Config:domains, object property in NMIP4Config +NMIP4Config:nameservers, object property in NMIP4Config
-NMIP4Config:nameservers, object property in NMIP4Config +NMIP4Config:routes, object property in NMIP4Config
-NMIP4Config:routes, object property in NMIP4Config -
-
-
-NMIP4Config:wins-servers, object property in NMIP4Config -
-
-
-NMIP4ConfigClass, struct in NMIP4Config +NMIP4Config:wins-servers, object property in NMIP4Config
@@ -1708,23 +1559,23 @@
-nm_ip4_config_get_addresses, function in NMIP4Config +nm_ip4_config_get_addresses, function in NMIP4Config
-nm_ip4_config_get_domains, function in NMIP4Config +nm_ip4_config_get_domains, function in NMIP4Config
-nm_ip4_config_get_nameservers, function in NMIP4Config +nm_ip4_config_get_nameservers, function in NMIP4Config
-nm_ip4_config_get_routes, function in NMIP4Config +nm_ip4_config_get_routes, function in NMIP4Config
-nm_ip4_config_get_wins_servers, function in NMIP4Config +nm_ip4_config_get_wins_servers, function in NMIP4Config
@@ -1732,7 +1583,7 @@
-nm_ip4_config_new, function in NMIP4Config +nm_ip4_config_new, function in NMIP4Config
@@ -1744,27 +1595,19 @@
-NMIP6Config, struct in NMIP6Config -
-
-
-NMIP6Config:addresses, object property in NMIP6Config -
-
-
-NMIP6Config:domains, object property in NMIP6Config +NMIP6Config:addresses, object property in NMIP6Config
-NMIP6Config:nameservers, object property in NMIP6Config +NMIP6Config:domains, object property in NMIP6Config
-NMIP6Config:routes, object property in NMIP6Config +NMIP6Config:nameservers, object property in NMIP6Config
-NMIP6ConfigClass, struct in NMIP6Config +NMIP6Config:routes, object property in NMIP6Config
@@ -1776,19 +1619,19 @@
-nm_ip6_config_get_addresses, function in NMIP6Config +nm_ip6_config_get_addresses, function in NMIP6Config
-nm_ip6_config_get_domains, function in NMIP6Config +nm_ip6_config_get_domains, function in NMIP6Config
-nm_ip6_config_get_nameservers, function in NMIP6Config +nm_ip6_config_get_nameservers, function in NMIP6Config
-nm_ip6_config_get_routes, function in NMIP6Config +nm_ip6_config_get_routes, function in NMIP6Config
@@ -1796,7 +1639,7 @@
-nm_ip6_config_new, function in NMIP6Config +nm_ip6_config_new, function in NMIP6Config
@@ -1805,23 +1648,15 @@

O

-NMObject, struct in NMObject -
-
-
-NMObject::object-creation-failed, object signal in NMObject +NMObject::object-creation-failed, object signal in NMObject
-NMObject:dbus-connection, object property in NMObject +NMObject:dbus-connection, object property in NMObject
-NMObject:dbus-path, object property in NMObject -
-
-
-NMObjectClass, struct in NMObject +NMObject:dbus-path, object property in NMObject
@@ -1841,96 +1676,80 @@
-nm_object_error_quark, function in NMObject +nm_object_error_quark, function in NMObject
-nm_object_get_connection, function in NMObject +nm_object_get_connection, function in NMObject
-nm_object_get_path, function in NMObject +nm_object_get_path, function in NMObject

R

-NMRemoteConnection, struct in NMRemoteConnection +NMRemoteConnection::removed, object signal in NMRemoteConnection
-NMRemoteConnection::removed, object signal in NMRemoteConnection +NMRemoteConnection::updated, object signal in NMRemoteConnection
-NMRemoteConnection::updated, object signal in NMRemoteConnection +NMRemoteConnection::visible, object signal in NMRemoteConnection
-NMRemoteConnection::visible, object signal in NMRemoteConnection +NMRemoteConnection:bus, object property in NMRemoteConnection
-NMRemoteConnection:bus, object property in NMRemoteConnection +NMRemoteConnection:dbus-connection, object property in NMRemoteConnection
-NMRemoteConnection:dbus-connection, object property in NMRemoteConnection +NMRemoteConnection:dbus-path, object property in NMRemoteConnection
-NMRemoteConnection:dbus-path, object property in NMRemoteConnection +NMRemoteConnectionCommitFunc, user_function in NMRemoteConnection
-NMRemoteConnectionClass, struct in NMRemoteConnection +NMRemoteConnectionDeleteFunc, user_function in NMRemoteConnection
-NMRemoteConnectionCommitFunc, user_function in NMRemoteConnection +NMRemoteConnectionGetSecretsFunc, user_function in NMRemoteConnection
-NMRemoteConnectionDeleteFunc, user_function in NMRemoteConnection +NMRemoteSettings::connections-read, object signal in NMRemoteSettings
-NMRemoteConnectionGetSecretsFunc, user_function in NMRemoteConnection +NMRemoteSettings::new-connection, object signal in NMRemoteSettings
-NMRemoteSettings, struct in NMRemoteSettings +NMRemoteSettings:bus, object property in NMRemoteSettings
-NMRemoteSettings::connections-read, object signal in NMRemoteSettings +NMRemoteSettings:can-modify, object property in NMRemoteSettings
-NMRemoteSettings::new-connection, object signal in NMRemoteSettings +NMRemoteSettings:hostname, object property in NMRemoteSettings
-NMRemoteSettings:bus, object property in NMRemoteSettings +NMRemoteSettings:service-running, object property in NMRemoteSettings
-NMRemoteSettings:can-modify, object property in NMRemoteSettings -
-
-
-NMRemoteSettings:hostname, object property in NMRemoteSettings -
-
-
-NMRemoteSettings:service-running, object property in NMRemoteSettings -
-
-
-NMRemoteSettingsAddConnectionFunc, user_function in NMRemoteSettings -
-
-
-NMRemoteSettingsClass, struct in NMRemoteSettings +NMRemoteSettingsAddConnectionFunc, user_function in NMRemoteSettings
@@ -1938,23 +1757,23 @@
-NMRemoteSettingsSaveHostnameFunc, user_function in NMRemoteSettings +NMRemoteSettingsSaveHostnameFunc, user_function in NMRemoteSettings
-nm_remote_connection_commit_changes, function in NMRemoteConnection +nm_remote_connection_commit_changes, function in NMRemoteConnection
-nm_remote_connection_delete, function in NMRemoteConnection +nm_remote_connection_delete, function in NMRemoteConnection
-nm_remote_connection_get_secrets, function in NMRemoteConnection +nm_remote_connection_get_secrets, function in NMRemoteConnection
-nm_remote_connection_new, function in NMRemoteConnection +nm_remote_connection_new, function in NMRemoteConnection
@@ -1966,7 +1785,7 @@
-nm_remote_settings_add_connection, function in NMRemoteSettings +nm_remote_settings_add_connection, function in NMRemoteSettings
@@ -1986,15 +1805,15 @@
-nm_remote_settings_error_quark, function in NMRemoteSettings +nm_remote_settings_error_quark, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_path, function in NMRemoteSettings +nm_remote_settings_get_connection_by_path, function in NMRemoteSettings
-nm_remote_settings_get_connection_by_uuid, function in NMRemoteSettings +nm_remote_settings_get_connection_by_uuid, function in NMRemoteSettings
@@ -2002,15 +1821,15 @@
-nm_remote_settings_list_connections, function in NMRemoteSettings +nm_remote_settings_list_connections, function in NMRemoteSettings
-nm_remote_settings_new, function in NMRemoteSettings +nm_remote_settings_new, function in NMRemoteSettings
-nm_remote_settings_new_async, function in NMRemoteSettings +nm_remote_settings_new_async, function in NMRemoteSettings
@@ -2018,11 +1837,11 @@
-nm_remote_settings_new_finish, function in NMRemoteSettings +nm_remote_settings_new_finish, function in NMRemoteSettings
-nm_remote_settings_save_hostname, function in NMRemoteSettings +nm_remote_settings_save_hostname, function in NMRemoteSettings
@@ -2031,31 +1850,23 @@

S

-NMSecretAgent, struct in NMSecretAgent +NMSecretAgent::registration-result, object signal in NMSecretAgent
-NMSecretAgent::registration-result, object signal in NMSecretAgent +NMSecretAgent:auto-register, object property in NMSecretAgent
-NMSecretAgent:auto-register, object property in NMSecretAgent +NMSecretAgent:identifier, object property in NMSecretAgent
-NMSecretAgent:identifier, object property in NMSecretAgent +NMSecretAgent:registered, object property in NMSecretAgent
-NMSecretAgent:registered, object property in NMSecretAgent -
-
-
-NMSecretAgentClass, struct in NMSecretAgent -
-
-
-NMSecretAgentDeleteSecretsFunc, user_function in NMSecretAgent +NMSecretAgentDeleteSecretsFunc, user_function in NMSecretAgent
@@ -2067,11 +1878,11 @@
-NMSecretAgentGetSecretsFunc, user_function in NMSecretAgent +NMSecretAgentGetSecretsFunc, user_function in NMSecretAgent
-NMSecretAgentSaveSecretsFunc, user_function in NMSecretAgent +NMSecretAgentSaveSecretsFunc, user_function in NMSecretAgent
@@ -2079,7 +1890,7 @@
-nm_secret_agent_delete_secrets, function in NMSecretAgent +nm_secret_agent_delete_secrets, function in NMSecretAgent
@@ -2087,15 +1898,15 @@
-nm_secret_agent_error_quark, function in NMSecretAgent +nm_secret_agent_error_quark, function in NMSecretAgent
-nm_secret_agent_get_registered, function in NMSecretAgent +nm_secret_agent_get_registered, function in NMSecretAgent
-nm_secret_agent_get_secrets, function in NMSecretAgent +nm_secret_agent_get_secrets, function in NMSecretAgent
@@ -2103,7 +1914,7 @@
-nm_secret_agent_register, function in NMSecretAgent +nm_secret_agent_register, function in NMSecretAgent
@@ -2115,40 +1926,24 @@
-nm_secret_agent_save_secrets, function in NMSecretAgent +nm_secret_agent_save_secrets, function in NMSecretAgent
-nm_secret_agent_unregister, function in NMSecretAgent +nm_secret_agent_unregister, function in NMSecretAgent

V

-NMVPNConnection, struct in NMVPNConnection -
-
-
-NMVPNConnection::vpn-state-changed, object signal in NMVPNConnection -
-
-
-NMVPNConnection:banner, object property in NMVPNConnection -
-
-
-NMVPNConnection:vpn-state, object property in NMVPNConnection +NMVPNConnection::vpn-state-changed, object signal in NMVPNConnection
-NMVPNConnectionClass, struct in NMVPNConnection +NMVPNConnection:banner, object property in NMVPNConnection
-NMVPNPlugin, struct in NMVPNPlugin -
-
-
-NMVPNPluginClass, struct in NMVPNPlugin +NMVPNConnection:vpn-state, object property in NMVPNConnection
@@ -2156,23 +1951,15 @@
-NMVpnPluginUiCapability, enum in NMVpnPluginUi -
-
-
-NMVpnPluginUiFactory, user_function in NMVpnPluginUi +NMVpnPluginUiCapability, enum in NMVpnPluginUiWidget
-NMVpnPluginUiInterface, struct in NMVpnPluginUi +NMVpnPluginUiFactory, user_function in NMVpnPluginUiWidget
-NMVpnPluginUiInterfaceProp, enum in NMVpnPluginUi -
-
-
-NMVpnPluginUiWidgetInterface, struct in NMVpnPluginUi +NMVpnPluginUiInterfaceProp, enum in NMVpnPluginUiWidget
@@ -2180,15 +1967,15 @@
-nm_vpn_connection_get_banner, function in NMVPNConnection +nm_vpn_connection_get_banner, function in NMVPNConnection
-nm_vpn_connection_get_vpn_state, function in NMVPNConnection +nm_vpn_connection_get_vpn_state, function in NMVPNConnection
-nm_vpn_connection_new, function in NMVPNConnection +nm_vpn_connection_new, function in NMVPNConnection
@@ -2200,43 +1987,43 @@
-nm_vpn_plugin_disconnect, function in NMVPNPlugin +nm_vpn_plugin_disconnect, function in NMVPNPlugin
-nm_vpn_plugin_error_quark, function in NMVPNPlugin +nm_vpn_plugin_error_quark, function in NMVPNPlugin
-nm_vpn_plugin_failure, function in NMVPNPlugin +nm_vpn_plugin_failure, function in NMVPNPlugin
-nm_vpn_plugin_get_connection, function in NMVPNPlugin +nm_vpn_plugin_get_connection, function in NMVPNPlugin
-nm_vpn_plugin_get_state, function in NMVPNPlugin +nm_vpn_plugin_get_state, function in NMVPNPlugin
-nm_vpn_plugin_set_config, function in NMVPNPlugin +nm_vpn_plugin_set_config, function in NMVPNPlugin
-nm_vpn_plugin_set_ip4_config, function in NMVPNPlugin +nm_vpn_plugin_set_ip4_config, function in NMVPNPlugin
-nm_vpn_plugin_set_ip6_config, function in NMVPNPlugin +nm_vpn_plugin_set_ip6_config, function in NMVPNPlugin
-nm_vpn_plugin_set_login_banner, function in NMVPNPlugin +nm_vpn_plugin_set_login_banner, function in NMVPNPlugin
-nm_vpn_plugin_set_state, function in NMVPNPlugin +nm_vpn_plugin_set_state, function in NMVPNPlugin
@@ -2244,84 +2031,76 @@
-nm_vpn_plugin_ui_factory, function in NMVpnPluginUi +nm_vpn_plugin_ui_factory, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_delete_connection, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_delete_connection, function in NMVpnPluginUiWidget
-NM_VPN_PLUGIN_UI_INTERFACE_DESC, macro in NMVpnPluginUi +NM_VPN_PLUGIN_UI_INTERFACE_DESC, macro in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_export, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_export, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_get_capabilities, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_get_capabilities, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_get_suggested_name, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_get_suggested_name, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_import, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_import, function in NMVpnPluginUiWidget
-NM_VPN_PLUGIN_UI_INTERFACE_NAME, macro in NMVpnPluginUi +NM_VPN_PLUGIN_UI_INTERFACE_NAME, macro in NMVpnPluginUiWidget
-NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, macro in NMVpnPluginUi +NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, macro in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_interface_ui_factory, function in NMVpnPluginUi +nm_vpn_plugin_ui_interface_ui_factory, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_widget_interface_get_widget, function in NMVpnPluginUi +nm_vpn_plugin_ui_widget_interface_get_widget, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_widget_interface_save_secrets, function in NMVpnPluginUi +nm_vpn_plugin_ui_widget_interface_save_secrets, function in NMVpnPluginUiWidget
-nm_vpn_plugin_ui_widget_interface_update_connection, function in NMVpnPluginUi +nm_vpn_plugin_ui_widget_interface_update_connection, function in NMVpnPluginUiWidget
-nm_vpn_plugin_utils_get_secret_flags, function in nm-vpn-plugin-utils +nm_vpn_plugin_utils_get_secret_flags, function in nm-vpn-plugin-utils
-nm_vpn_plugin_utils_read_vpn_details, function in nm-vpn-plugin-utils +nm_vpn_plugin_utils_read_vpn_details, function in nm-vpn-plugin-utils

W

-NMWimaxNsp, struct in NMWimaxNsp -
-
-
-NMWimaxNsp:name, object property in NMWimaxNsp -
-
-
-NMWimaxNsp:network-type, object property in NMWimaxNsp +NMWimaxNsp:name, object property in NMWimaxNsp
-NMWimaxNsp:signal-quality, object property in NMWimaxNsp +NMWimaxNsp:network-type, object property in NMWimaxNsp
-NMWimaxNspClass, struct in NMWimaxNsp +NMWimaxNsp:signal-quality, object property in NMWimaxNsp
@@ -2329,23 +2108,23 @@
-nm_wimax_nsp_connection_valid, function in NMWimaxNsp +nm_wimax_nsp_connection_valid, function in NMWimaxNsp
-nm_wimax_nsp_filter_connections, function in NMWimaxNsp +nm_wimax_nsp_filter_connections, function in NMWimaxNsp
-nm_wimax_nsp_get_name, function in NMWimaxNsp +nm_wimax_nsp_get_name, function in NMWimaxNsp
-nm_wimax_nsp_get_network_type, function in NMWimaxNsp +nm_wimax_nsp_get_network_type, function in NMWimaxNsp
-nm_wimax_nsp_get_signal_quality, function in NMWimaxNsp +nm_wimax_nsp_get_signal_quality, function in NMWimaxNsp
@@ -2357,7 +2136,7 @@
-nm_wimax_nsp_new, function in NMWimaxNsp +nm_wimax_nsp_new, function in NMWimaxNsp
@@ -2367,6 +2146,6 @@
+ Generated by GTK-Doc V1.20 \ No newline at end of file diff --git a/docs/libnm-glib/html/ch02.html b/docs/libnm-glib/html/ch02.html index a14eec19..573515a1 100644 --- a/docs/libnm-glib/html/ch02.html +++ b/docs/libnm-glib/html/ch02.html @@ -2,22 +2,22 @@ -libnm-glib API Reference +libnm-glib Reference Manual: libnm-glib API Reference - + - - - - - - + + + + + +

@@ -105,7 +105,7 @@ NMVPNPlugin
-NMVpnPluginUi +NMVpnPluginUiWidget
nm-vpn-plugin-utils @@ -114,6 +114,6 @@

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/home.png b/docs/libnm-glib/html/home.png index 17003611..9346b336 100644 Binary files a/docs/libnm-glib/html/home.png and b/docs/libnm-glib/html/home.png differ diff --git a/docs/libnm-glib/html/index.html b/docs/libnm-glib/html/index.html index 36d9df96..e231d828 100644 --- a/docs/libnm-glib/html/index.html +++ b/docs/libnm-glib/html/index.html @@ -2,11 +2,11 @@ -libnm-glib Reference Manual +libnm-glib Reference Manual: libnm-glib Reference Manual - + @@ -15,12 +15,12 @@

- for libnm-glib 0.9.8.8 + for libnm-glib 0.9.8.10 The latest version of this documentation can be found on-line at - http://projects.gnome.org/NetworkManager/developers/libnm-glib/09/. + https://developer.gnome.org/libnm-glib/0.9/.

-
+

Permission is granted to copy, distribute and/or modify this @@ -132,7 +132,7 @@ NMVPNPlugin

-NMVpnPluginUi +NMVpnPluginUiWidget
nm-vpn-plugin-utils @@ -145,6 +145,6 @@
+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/index.sgml b/docs/libnm-glib/html/index.sgml index 993d7c9a..c4c30f65 100644 --- a/docs/libnm-glib/html/index.sgml +++ b/docs/libnm-glib/html/index.sgml @@ -1,47 +1,12 @@ - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -78,6 +43,23 @@ + + + + + + + + + + + + + + + + + @@ -98,22 +80,12 @@ - - - + + + - - - - - - - - - - - + @@ -123,6 +95,15 @@ + + + + + + + + + @@ -133,36 +114,13 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - + @@ -191,6 +149,28 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -216,62 +196,39 @@ - - - + + + - - - - - - - - + - - - - - - + + + + + + + - - - + + + - - - - - - - - - - + - - - - - - - - @@ -283,6 +240,15 @@ + + + + + + + + + @@ -294,82 +260,54 @@ - - - + + + - + + + + + - - - - - - - - - - - - + + + - - - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - - + - - - - - - - - - @@ -380,6 +318,16 @@ + + + + + + + + + + @@ -392,204 +340,157 @@ - - - + + + - - - - - - + - - - + + + + - - - + + + - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - - + - - - - + + + + + - - - + + + - - - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - + - - - - - + + + + + + - - - + + + - - - - - - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - + @@ -603,6 +504,17 @@ + + + + + + + + + + + @@ -615,25 +527,24 @@ - - - + + + - - - - - - - - + + + + + + + @@ -641,94 +552,84 @@ - - - + + + - - - - - - - + + + + + + - - - + + + - - - - + + + - - - + + + - - - - + + + - - - + + + - + + + + + - - - - - - - - - - + + + - - - - - + @@ -736,6 +637,9 @@ + + + @@ -745,29 +649,16 @@ - - - + + + - - - - - - + - - - - - - - - @@ -776,6 +667,15 @@ + + + + + + + + + @@ -785,45 +685,36 @@ - + - + + - - + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + @@ -831,43 +722,30 @@ - - - + + + - - - - - + + + + - + + + - - - - - - - - - - - - - - - + @@ -878,48 +756,47 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - + - - + - - - - + + + + + diff --git a/docs/libnm-glib/html/left-insensitive.png b/docs/libnm-glib/html/left-insensitive.png new file mode 100644 index 00000000..3269393a Binary files /dev/null and b/docs/libnm-glib/html/left-insensitive.png differ diff --git a/docs/libnm-glib/html/left.png b/docs/libnm-glib/html/left.png index 2d05b3d5..2abde032 100644 Binary files a/docs/libnm-glib/html/left.png and b/docs/libnm-glib/html/left.png differ diff --git a/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html index f283bae7..41a3ce7c 100644 --- a/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html +++ b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html @@ -2,30 +2,27 @@ -NMVPNPlugin +libnm-glib Reference Manual: NMVPNPlugin - - + + - - - - - - - - - - + + + + + + +
@@ -33,279 +30,348 @@

NMVPNPlugin

NMVPNPlugin

- +
-
-

Synopsis

-
#define             NM_VPN_PLUGIN_DBUS_SERVICE_NAME
-#define             NM_VPN_PLUGIN_STATE
-enum                NMVPNPluginError;
-                    NMVPNPlugin;
-                    NMVPNPluginClass;
-GQuark              nm_vpn_plugin_error_quark           (void);
-DBusGConnection *   nm_vpn_plugin_get_connection        (NMVPNPlugin *plugin);
-NMVPNServiceState   nm_vpn_plugin_get_state             (NMVPNPlugin *plugin);
-void                nm_vpn_plugin_set_state             (NMVPNPlugin *plugin,
-                                                         NMVPNServiceState state);
-void                nm_vpn_plugin_set_login_banner      (NMVPNPlugin *plugin,
-                                                         const char *banner);
-void                nm_vpn_plugin_failure               (NMVPNPlugin *plugin,
-                                                         NMVPNPluginFailure reason);
-void                nm_vpn_plugin_set_config            (NMVPNPlugin *plugin,
-                                                         GHashTable *config);
-void                nm_vpn_plugin_set_ip4_config        (NMVPNPlugin *plugin,
-                                                         GHashTable *ip4_config);
-void                nm_vpn_plugin_set_ip6_config        (NMVPNPlugin *plugin,
-                                                         GHashTable *ip6_config);
-gboolean            nm_vpn_plugin_disconnect            (NMVPNPlugin *plugin,
-                                                         GError **err);
-
-
-
-

Description

-

-

-
-

Details

-
-

NM_VPN_PLUGIN_DBUS_SERVICE_NAME

-
#define NM_VPN_PLUGIN_DBUS_SERVICE_NAME "service-name"
-
-

-

-
-
-
-

NM_VPN_PLUGIN_STATE

-
#define NM_VPN_PLUGIN_STATE             "state"
-
-

-

-
-
-
-

enum NMVPNPluginError

-
typedef enum {
-	NM_VPN_PLUGIN_ERROR_GENERAL,              /*< nick=General >*/
-	NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS, /*< nick=StartingInProgress >*/
-	NM_VPN_PLUGIN_ERROR_ALREADY_STARTED,      /*< nick=AlreadyStarted >*/
-	NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS, /*< nick=StoppingInProgress >*/
-	NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED,      /*< nick=AlreadyStopped >*/
-	NM_VPN_PLUGIN_ERROR_WRONG_STATE,          /*< nick=WrongState >*/
-	NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,        /*< nick=BadArguments >*/
-	NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED,        /*< nick=LaunchFailed >*/
-	NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID,   /*< nick=ConnectionInvalid >*/
-} NMVPNPluginError;
-
-

-Returned by the VPN service plugin to indicate errors. -

-
+

Functions

+
--++ - - + + + + + - - + - - + - - + - - + - - + - - + - - + - - +

NM_VPN_PLUGIN_ERROR_GENERAL

general failure + +GQuark + +nm_vpn_plugin_error_quark () +
+DBusGConnection * + +nm_vpn_plugin_get_connection ()

NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS

the plugin is already starting, - and another connect request was received + +NMVPNServiceState + +nm_vpn_plugin_get_state ()

NM_VPN_PLUGIN_ERROR_ALREADY_STARTED

the plugin is already connected, and - another connect request was received + +void + +nm_vpn_plugin_set_state ()

NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS

the plugin is already stopping, - and another stop request was received + +void + +nm_vpn_plugin_set_login_banner ()

NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED

the plugin is already stopped, and - another disconnect request was received + +void + +nm_vpn_plugin_failure ()

NM_VPN_PLUGIN_ERROR_WRONG_STATE

the operation could not be performed in - this state + +void + +nm_vpn_plugin_set_config ()

NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS

the operation could not be performed as - the request contained malformed arguments, or arguments of unexpected type. - Usually means that one of the VPN setting data items or secrets was not of - the expected type (ie int, string, bool, etc). + +void + +nm_vpn_plugin_set_ip4_config ()

NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED

a child process failed to launch + +void + +nm_vpn_plugin_set_ip6_config ()

NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID

the operation could not be performed - because the connection was invalid. Usually means that the connection's - VPN setting was missing some required data item or secret. + +gboolean + +nm_vpn_plugin_disconnect ()
-
-
-

NMVPNPlugin

-
typedef struct {
-	GObject parent;
-} NMVPNPlugin;
+
+

Types and Values

+
++++ + + + + + + + + + + + + + + +
#defineNM_VPN_PLUGIN_DBUS_SERVICE_NAME
#defineNM_VPN_PLUGIN_STATE
enumNMVPNPluginError
+
+
+

Object Hierarchy

+
 
+
+
+

Description

-
+
+

Functions

-

NMVPNPluginClass

-
typedef struct {
-	GObjectClass parent;
-
-	/* virtual methods */
-	gboolean (*connect)      (NMVPNPlugin   *plugin,
-	                          NMConnection  *connection,
-	                          GError       **err);
-
-	gboolean (*need_secrets) (NMVPNPlugin *plugin,
-	                          NMConnection *connection,
-	                          char **setting_name,
-	                          GError **error);
-
-	gboolean (*disconnect)   (NMVPNPlugin   *plugin,
-	                          GError       **err);
-
-	/* Signals */
-	void (*state_changed)  (NMVPNPlugin *plugin,
-	                        NMVPNServiceState state);
-
-	void (*ip4_config)     (NMVPNPlugin *plugin,
-	                        GHashTable  *ip4_config);
-
-	void (*login_banner)   (NMVPNPlugin *plugin,
-	                        const char *banner);
-
-	void (*failure)        (NMVPNPlugin *plugin,
-	                        NMVPNPluginFailure reason);
-
-	void (*quit)           (NMVPNPlugin *plugin);
-
-	void (*config)         (NMVPNPlugin *plugin,
-	                        GHashTable  *config);
-
-	void (*ip6_config)     (NMVPNPlugin *plugin,
-	                        GHashTable  *config);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-} NMVPNPluginClass;
-
+

nm_vpn_plugin_error_quark ()

+
GQuark
+nm_vpn_plugin_error_quark (void);

+
+

Returns

+

+

-

nm_vpn_plugin_error_quark ()

-
GQuark              nm_vpn_plugin_error_quark           (void);
+

nm_vpn_plugin_get_connection ()

+
DBusGConnection *
+nm_vpn_plugin_get_connection (NMVPNPlugin *plugin);

+
+

Returns

+

+

-

nm_vpn_plugin_get_connection ()

-
DBusGConnection *   nm_vpn_plugin_get_connection        (NMVPNPlugin *plugin);
+

nm_vpn_plugin_get_state ()

+
NMVPNServiceState
+nm_vpn_plugin_get_state (NMVPNPlugin *plugin);

+
+

Returns

+

+

-

nm_vpn_plugin_get_state ()

-
NMVPNServiceState   nm_vpn_plugin_get_state             (NMVPNPlugin *plugin);
+

nm_vpn_plugin_set_state ()

+
void
+nm_vpn_plugin_set_state (NMVPNPlugin *plugin,
+                         NMVPNServiceState state);


-

nm_vpn_plugin_set_state ()

-
void                nm_vpn_plugin_set_state             (NMVPNPlugin *plugin,
-                                                         NMVPNServiceState state);
+

nm_vpn_plugin_set_login_banner ()

+
void
+nm_vpn_plugin_set_login_banner (NMVPNPlugin *plugin,
+                                const char *banner);


-

nm_vpn_plugin_set_login_banner ()

-
void                nm_vpn_plugin_set_login_banner      (NMVPNPlugin *plugin,
-                                                         const char *banner);
+

nm_vpn_plugin_failure ()

+
void
+nm_vpn_plugin_failure (NMVPNPlugin *plugin,
+                       NMVPNPluginFailure reason);


-

nm_vpn_plugin_failure ()

-
void                nm_vpn_plugin_failure               (NMVPNPlugin *plugin,
-                                                         NMVPNPluginFailure reason);
+

nm_vpn_plugin_set_config ()

+
void
+nm_vpn_plugin_set_config (NMVPNPlugin *plugin,
+                          GHashTable *config);


-

nm_vpn_plugin_set_config ()

-
void                nm_vpn_plugin_set_config            (NMVPNPlugin *plugin,
-                                                         GHashTable *config);
+

nm_vpn_plugin_set_ip4_config ()

+
void
+nm_vpn_plugin_set_ip4_config (NMVPNPlugin *plugin,
+                              GHashTable *ip4_config);


-

nm_vpn_plugin_set_ip4_config ()

-
void                nm_vpn_plugin_set_ip4_config        (NMVPNPlugin *plugin,
-                                                         GHashTable *ip4_config);
+

nm_vpn_plugin_set_ip6_config ()

+
void
+nm_vpn_plugin_set_ip6_config (NMVPNPlugin *plugin,
+                              GHashTable *ip6_config);


-

nm_vpn_plugin_set_ip6_config ()

-
void                nm_vpn_plugin_set_ip6_config        (NMVPNPlugin *plugin,
-                                                         GHashTable *ip6_config);
+

nm_vpn_plugin_disconnect ()

+
gboolean
+nm_vpn_plugin_disconnect (NMVPNPlugin *plugin,
+                          GError **err);
+

+

+
+

Returns

+

+
+
+
+
+

Types and Values

+
+

NM_VPN_PLUGIN_DBUS_SERVICE_NAME

+
#define NM_VPN_PLUGIN_DBUS_SERVICE_NAME "service-name"
+


-

nm_vpn_plugin_disconnect ()

-
gboolean            nm_vpn_plugin_disconnect            (NMVPNPlugin *plugin,
-                                                         GError **err);
+

NM_VPN_PLUGIN_STATE

+
#define NM_VPN_PLUGIN_STATE             "state"
+

+
+
+

enum NMVPNPluginError

+

Returned by the VPN service plugin to indicate errors.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

NM_VPN_PLUGIN_ERROR_GENERAL

+

general failure

+
 

NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS

+

the plugin is already starting, + and another connect request was received

+
 

NM_VPN_PLUGIN_ERROR_ALREADY_STARTED

+

the plugin is already connected, and + another connect request was received

+
 

NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS

+

the plugin is already stopping, + and another stop request was received

+
 

NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED

+

the plugin is already stopped, and + another disconnect request was received

+
 

NM_VPN_PLUGIN_ERROR_WRONG_STATE

+

the operation could not be performed in + this state

+
 

NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS

+

the operation could not be performed as + the request contained malformed arguments, or arguments of unexpected type. + Usually means that one of the VPN setting data items or secrets was not of + the expected type (ie int, string, bool, etc).

+
 

NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED

+

a child process failed to launch

+
 

NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID

+

the operation could not be performed + because the connection was invalid. Usually means that the connection's + VPN setting was missing some required data item or secret.

+
 
+
+
+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html deleted file mode 100644 index fb13eb06..00000000 --- a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - -NMVpnPluginUi - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMVpnPluginUi

-

NMVpnPluginUi

-
-
-

Synopsis

-
NMVpnPluginUiInterface * (*NMVpnPluginUiFactory)        (GError **error);
-NMVpnPluginUiInterface * nm_vpn_plugin_ui_factory       (GError **error);
-enum                NMVpnPluginUiCapability;
-#define             NM_VPN_PLUGIN_UI_INTERFACE_NAME
-#define             NM_VPN_PLUGIN_UI_INTERFACE_DESC
-#define             NM_VPN_PLUGIN_UI_INTERFACE_SERVICE
-enum                NMVpnPluginUiInterfaceProp;
-struct              NMVpnPluginUiInterface;
-NMVpnPluginUiWidgetInterface * nm_vpn_plugin_ui_interface_ui_factory
-                                                        (NMVpnPluginUiInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-guint32             nm_vpn_plugin_ui_interface_get_capabilities
-                                                        (NMVpnPluginUiInterface *iface);
-NMConnection *      nm_vpn_plugin_ui_interface_import   (NMVpnPluginUiInterface *iface,
-                                                         const char *path,
-                                                         GError **error);
-gboolean            nm_vpn_plugin_ui_interface_export   (NMVpnPluginUiInterface *iface,
-                                                         const char *path,
-                                                         NMConnection *connection,
-                                                         GError **error);
-char *              nm_vpn_plugin_ui_interface_get_suggested_name
-                                                        (NMVpnPluginUiInterface *iface,
-                                                         NMConnection *connection);
-gboolean            nm_vpn_plugin_ui_interface_delete_connection
-                                                        (NMVpnPluginUiInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-struct              NMVpnPluginUiWidgetInterface;
-GObject *           nm_vpn_plugin_ui_widget_interface_get_widget
-                                                        (NMVpnPluginUiWidgetInterface *iface);
-gboolean            nm_vpn_plugin_ui_widget_interface_update_connection
-                                                        (NMVpnPluginUiWidgetInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-gboolean            nm_vpn_plugin_ui_widget_interface_save_secrets
-                                                        (NMVpnPluginUiWidgetInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NMVpnPluginUiFactory ()

-
NMVpnPluginUiInterface * (*NMVpnPluginUiFactory)        (GError **error);
-

-

-
-
-
-

nm_vpn_plugin_ui_factory ()

-
NMVpnPluginUiInterface * nm_vpn_plugin_ui_factory       (GError **error);
-

-

-
-
-
-

enum NMVpnPluginUiCapability

-
typedef enum {
-	NM_VPN_PLUGIN_UI_CAPABILITY_NONE   = 0x00,
-	NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT = 0x01,
-	NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT = 0x02,
-	NM_VPN_PLUGIN_UI_CAPABILITY_IPV6   = 0x04
-} NMVpnPluginUiCapability;
-
-

-Flags that indicate to UI programs certain capabilities of the plugin. -

-
---- - - - - - - - - - - - - - - - - - - -

NM_VPN_PLUGIN_UI_CAPABILITY_NONE

unknown or no capability -

NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT

the plugin can import new connections -

NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT

the plugin can export connections -

NM_VPN_PLUGIN_UI_CAPABILITY_IPV6

the plugin supports IPv6 addressing -
-
-
-
-

NM_VPN_PLUGIN_UI_INTERFACE_NAME

-
#define NM_VPN_PLUGIN_UI_INTERFACE_NAME "name"
-
-

-

-
-
-
-

NM_VPN_PLUGIN_UI_INTERFACE_DESC

-
#define NM_VPN_PLUGIN_UI_INTERFACE_DESC "desc"
-
-

-

-
-
-
-

NM_VPN_PLUGIN_UI_INTERFACE_SERVICE

-
#define NM_VPN_PLUGIN_UI_INTERFACE_SERVICE "service"
-
-

-

-
-
-
-

enum NMVpnPluginUiInterfaceProp

-
typedef enum {
-	NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME = NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST,
-	NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC,
-	NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE
-} NMVpnPluginUiInterfaceProp;
-
-

-GObject property numbers that plugins should override to provide certain -information to UI programs. -

-
---- - - - - - - - - - - - - - - -

NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME

the VPN plugin's name -

NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC

description of the VPN plugin and what -VPN services it supports -

NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE

the D-Bus service name used by the -plugin's VPN service daemon -
-
-
-
-

struct NMVpnPluginUiInterface

-
struct NMVpnPluginUiInterface {
-	GTypeInterface g_iface;
-
-	/* Plugin's factory function that returns a GObject that implements
-	 * NMVpnPluginUiWidgetInterface, pre-filled with values from 'connection'
-	 * if non-NULL.
-	 */
-	NMVpnPluginUiWidgetInterface * (*ui_factory) (NMVpnPluginUiInterface *iface,
-	                                              NMConnection *connection,
-	                                              GError **error);
-
-	/* Plugin's capabiltity function that returns a bitmask of capabilities
-	 * described by NM_VPN_PLUGIN_UI_CAPABILITY_* defines.
-	 */
-	guint32 (*get_capabilities) (NMVpnPluginUiInterface *iface);
-
-	/* Try to import a connection from the specified path.  On success, return a
-	 * partial NMConnection object.  On error, return NULL and set 'error' with
-	 * additional information.  Note that 'error' can be NULL, in which case no
-	 * additional error information should be provided.
-	 */
-	NMConnection * (*import_from_file) (NMVpnPluginUiInterface *iface,
-	                                    const char *path,
-	                                    GError **error);
-
-	/* Export the given connection to the specified path.  Return TRUE on success.
-	 * On error, return FALSE and set 'error' with additional error information.
-	 * Note that 'error' can be NULL, in which case no additional error information
-	 * should be provided.
-	 */
-	gboolean (*export_to_file) (NMVpnPluginUiInterface *iface,
-	                            const char *path,
-	                            NMConnection *connection,
-	                            GError **error);
-
-	/* For a given connection, return a suggested file name.  Returned value should
-	 * be NULL or a suggested file name allocated via g_malloc/g_new/etc to be freed
-	 * by the caller.
-	 */
-	char * (*get_suggested_name) (NMVpnPluginUiInterface *iface, NMConnection *connection);
-
-	/* Deprecated and no longer used */
-	gboolean (*delete_connection) (NMVpnPluginUiInterface *iface, NMConnection *connection, GError **error);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-};
-
-

-

-
-
-
-

nm_vpn_plugin_ui_interface_ui_factory ()

-
NMVpnPluginUiWidgetInterface * nm_vpn_plugin_ui_interface_ui_factory
-                                                        (NMVpnPluginUiInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-

-

-
-
-
-

nm_vpn_plugin_ui_interface_get_capabilities ()

-
guint32             nm_vpn_plugin_ui_interface_get_capabilities
-                                                        (NMVpnPluginUiInterface *iface);
-

-

-
-
-
-

nm_vpn_plugin_ui_interface_import ()

-
NMConnection *      nm_vpn_plugin_ui_interface_import   (NMVpnPluginUiInterface *iface,
-                                                         const char *path,
-                                                         GError **error);
-

-

-
-
-
-

nm_vpn_plugin_ui_interface_export ()

-
gboolean            nm_vpn_plugin_ui_interface_export   (NMVpnPluginUiInterface *iface,
-                                                         const char *path,
-                                                         NMConnection *connection,
-                                                         GError **error);
-

-

-
-
-
-

nm_vpn_plugin_ui_interface_get_suggested_name ()

-
char *              nm_vpn_plugin_ui_interface_get_suggested_name
-                                                        (NMVpnPluginUiInterface *iface,
-                                                         NMConnection *connection);
-

-

-
-
-
-

nm_vpn_plugin_ui_interface_delete_connection ()

-
gboolean            nm_vpn_plugin_ui_interface_delete_connection
-                                                        (NMVpnPluginUiInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-

-

-
-
-
-

struct NMVpnPluginUiWidgetInterface

-
struct NMVpnPluginUiWidgetInterface {
-	GTypeInterface g_iface;
-
-	/* Return the GtkWidget for the VPN's UI */
-	GObject * (*get_widget) (NMVpnPluginUiWidgetInterface *iface);
-
-	/* Called to save the user-entered options to the connection object.  Should
-	 * return FALSE and set 'error' if the current options are invalid.  'error'
-	 * should contain enough information for the plugin to determine which UI
-	 * widget is invalid at a later point in time.  For example, creating unique
-	 * error codes for what error occurred and populating the message field
-	 * of 'error' with the name of the invalid property.
-	 */
-	gboolean (*update_connection) (NMVpnPluginUiWidgetInterface *iface,
-	                               NMConnection *connection,
-	                               GError **error);
-
-	/* Deprecated and no longer used */
-	gboolean (*save_secrets) (NMVpnPluginUiWidgetInterface *iface,
-	                          NMConnection *connection,
-	                          GError **error);
-
-	/* Emitted when the value of a UI widget changes.  May trigger a validity
-	 * check via update_connection() to write values to the connection */
-	void (*changed) (NMVpnPluginUiWidgetInterface *iface);
-};
-
-

-

-
-
-
-

nm_vpn_plugin_ui_widget_interface_get_widget ()

-
GObject *           nm_vpn_plugin_ui_widget_interface_get_widget
-                                                        (NMVpnPluginUiWidgetInterface *iface);
-

-

-
-
-
-

nm_vpn_plugin_ui_widget_interface_update_connection ()

-
gboolean            nm_vpn_plugin_ui_widget_interface_update_connection
-                                                        (NMVpnPluginUiWidgetInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-

-

-
-
-
-

nm_vpn_plugin_ui_widget_interface_save_secrets ()

-
gboolean            nm_vpn_plugin_ui_widget_interface_save_secrets
-                                                        (NMVpnPluginUiWidgetInterface *iface,
-                                                         NMConnection *connection,
-                                                         GError **error);
-

-

-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html new file mode 100644 index 00000000..01eb80ee --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUiWidget.html @@ -0,0 +1,446 @@ + + + + +libnm-glib Reference Manual: NMVpnPluginUiWidget + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMVpnPluginUiWidget

+

NMVpnPluginUiWidget

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+NMVpnPluginUiInterface * + +(*NMVpnPluginUiFactory) () +
+NMVpnPluginUiInterface * + +nm_vpn_plugin_ui_factory () +
+NMVpnPluginUiWidgetInterface * + +nm_vpn_plugin_ui_interface_ui_factory () +
+guint32 + +nm_vpn_plugin_ui_interface_get_capabilities () +
+NMConnection * + +nm_vpn_plugin_ui_interface_import () +
+gboolean + +nm_vpn_plugin_ui_interface_export () +
+char * + +nm_vpn_plugin_ui_interface_get_suggested_name () +
+gboolean + +nm_vpn_plugin_ui_interface_delete_connection () +
+GObject * + +nm_vpn_plugin_ui_widget_interface_get_widget () +
+gboolean + +nm_vpn_plugin_ui_widget_interface_update_connection () +
+gboolean + +nm_vpn_plugin_ui_widget_interface_save_secrets () +
+
+
+

Types and Values

+ +
+
+

Object Hierarchy

+
+
+
+
+

Description

+

+

+
+
+

Functions

+
+

NMVpnPluginUiFactory ()

+
NMVpnPluginUiInterface *
+(*NMVpnPluginUiFactory) (GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_factory ()

+
NMVpnPluginUiInterface *
+nm_vpn_plugin_ui_factory (GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_interface_ui_factory ()

+
NMVpnPluginUiWidgetInterface *
+nm_vpn_plugin_ui_interface_ui_factory (NMVpnPluginUiInterface *iface,
+                                       NMConnection *connection,
+                                       GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_interface_get_capabilities ()

+
guint32
+nm_vpn_plugin_ui_interface_get_capabilities
+                               (NMVpnPluginUiInterface *iface);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_interface_import ()

+
NMConnection *
+nm_vpn_plugin_ui_interface_import (NMVpnPluginUiInterface *iface,
+                                   const char *path,
+                                   GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_interface_export ()

+
gboolean
+nm_vpn_plugin_ui_interface_export (NMVpnPluginUiInterface *iface,
+                                   const char *path,
+                                   NMConnection *connection,
+                                   GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_interface_get_suggested_name ()

+
char *
+nm_vpn_plugin_ui_interface_get_suggested_name
+                               (NMVpnPluginUiInterface *iface,
+                                NMConnection *connection);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_interface_delete_connection ()

+
gboolean
+nm_vpn_plugin_ui_interface_delete_connection
+                               (NMVpnPluginUiInterface *iface,
+                                NMConnection *connection,
+                                GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_widget_interface_get_widget ()

+
GObject *
+nm_vpn_plugin_ui_widget_interface_get_widget
+                               (NMVpnPluginUiWidgetInterface *iface);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_widget_interface_update_connection ()

+
gboolean
+nm_vpn_plugin_ui_widget_interface_update_connection
+                               (NMVpnPluginUiWidgetInterface *iface,
+                                NMConnection *connection,
+                                GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

nm_vpn_plugin_ui_widget_interface_save_secrets ()

+
gboolean
+nm_vpn_plugin_ui_widget_interface_save_secrets
+                               (NMVpnPluginUiWidgetInterface *iface,
+                                NMConnection *connection,
+                                GError **error);
+

+

+
+

Returns

+

+
+
+
+
+

Types and Values

+
+

enum NMVpnPluginUiCapability

+

Flags that indicate to UI programs certain capabilities of the plugin.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + + + + + + +

NM_VPN_PLUGIN_UI_CAPABILITY_NONE

+

unknown or no capability

+
 

NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT

+

the plugin can import new connections

+
 

NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT

+

the plugin can export connections

+
 

NM_VPN_PLUGIN_UI_CAPABILITY_IPV6

+

the plugin supports IPv6 addressing

+
 
+
+
+
+
+

NM_VPN_PLUGIN_UI_INTERFACE_NAME

+
#define NM_VPN_PLUGIN_UI_INTERFACE_NAME "name"
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_INTERFACE_DESC

+
#define NM_VPN_PLUGIN_UI_INTERFACE_DESC "desc"
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_INTERFACE_SERVICE

+
#define NM_VPN_PLUGIN_UI_INTERFACE_SERVICE "service"
+
+

+

+
+
+
+

enum NMVpnPluginUiInterfaceProp

+

GObject property numbers that plugins should override to provide certain +information to UI programs.

+
+

Members

+
+++++ + + + + + + + + + + + + + + + + + +

NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME

+

the VPN plugin's name

+
 

NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC

+

description of the VPN plugin and what +VPN services it supports

+
 

NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE

+

the D-Bus service name used by the +plugin's VPN service daemon

+
 
+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-types.html b/docs/libnm-glib/html/libnm-glib-nm-types.html index 3793ddcd..c54f111e 100644 --- a/docs/libnm-glib/html/libnm-glib-nm-types.html +++ b/docs/libnm-glib/html/libnm-glib-nm-types.html @@ -2,30 +2,27 @@ -nm-types +libnm-glib Reference Manual: nm-types - + - - - - - - - - - - + + + + + + +
@@ -33,11 +30,12 @@

nm-types

nm-types

- +
-
-

Synopsis

-

+
+

Object Hierarchy

+
+

Description

@@ -45,11 +43,14 @@

-

Details

+

Functions

+
+
+

Types and Values

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html b/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html index 5bc3027b..cbb16e38 100644 --- a/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html +++ b/docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-utils.html @@ -2,30 +2,27 @@ -nm-vpn-plugin-utils +libnm-glib Reference Manual: nm-vpn-plugin-utils - + - + - - - - - - - - - - + + + + + + +
@@ -33,18 +30,38 @@

nm-vpn-plugin-utils

nm-vpn-plugin-utils

- +
-
-

Synopsis

-
gboolean            nm_vpn_plugin_utils_read_vpn_details
-                                                        (int fd,
-                                                         GHashTable **out_data,
-                                                         GHashTable **out_secrets);
-gboolean            nm_vpn_plugin_utils_get_secret_flags
-                                                        (GHashTable *data,
-                                                         const char *secret_name,
-                                                         NMSettingSecretFlags *out_flags);
+
+

Functions

+ +
+
+

Object Hierarchy

+
 
@@ -53,91 +70,103 @@

-

Details

+

Functions

-

nm_vpn_plugin_utils_read_vpn_details ()

-
gboolean            nm_vpn_plugin_utils_read_vpn_details
-                                                        (int fd,
-                                                         GHashTable **out_data,
-                                                         GHashTable **out_secrets);
-

-Parses key/value pairs from a file descriptor (normally stdin) passed by -an applet when the applet calls the authentication dialog of the VPN plugin. -

-
+

nm_vpn_plugin_utils_read_vpn_details ()

+
gboolean
+nm_vpn_plugin_utils_read_vpn_details (int fd,
+                                      GHashTable **out_data,
+                                      GHashTable **out_secrets);
+

Parses key/value pairs from a file descriptor (normally stdin) passed by +an applet when the applet calls the authentication dialog of the VPN plugin.

+
+

Parameters

+
--+++ - - + + + - - + + + - - - - - - + + +

fd :

file descriptor to read from, usually stdin (0)

fd

file descriptor to read from, usually stdin (0)

 

out_data :

on successful return, a hash table -(mapping char*:char*) containing the key/value pairs of VPN data items. [out][transfer full] -

out_data

on successful return, a hash table +(mapping char*:char*) containing the key/value pairs of VPN data items.

[out][transfer full]

out_secrets :

on successful return, a hash table -(mapping char*:char*) containing the key/value pairsof VPN secrets. [out][transfer full] -

Returns :

-TRUE if reading values was successful, FALSE if not

out_secrets

on successful return, a hash table +(mapping char*:char*) containing the key/value pairsof VPN secrets.

[out][transfer full]
+
+

Returns

+

TRUE if reading values was successful, FALSE if not

+

+
+

-

nm_vpn_plugin_utils_get_secret_flags ()

-
gboolean            nm_vpn_plugin_utils_get_secret_flags
-                                                        (GHashTable *data,
-                                                         const char *secret_name,
-                                                         NMSettingSecretFlags *out_flags);
-

-Given a VPN secret key name, attempts to find the corresponding flags data -item in data. If found, converts the flags data item to -NMSettingSecretFlags and returns it. -

-
+

nm_vpn_plugin_utils_get_secret_flags ()

+
gboolean
+nm_vpn_plugin_utils_get_secret_flags (GHashTable *data,
+                                      const char *secret_name,
+                                      NMSettingSecretFlags *out_flags);
+

Given a VPN secret key name, attempts to find the corresponding flags data +item in data +. If found, converts the flags data item to +NMSettingSecretFlags and returns it.

+
+

Parameters

+
--+++ - - - - - - + + + - - + + + - - + + +

data :

hash table containing VPN key/value pair data items

secret_name :

VPN secret key name for which to retrieve flags for

data

hash table containing VPN key/value pair data items

 

out_flags :

on success, the flags associated with secret_name. [out] -

secret_name

VPN secret key name for which to retrieve flags for

 

Returns :

-TRUE if the flag data item was found and successfully converted -to flags, FALSE if not

out_flags

on success, the flags associated with secret_name +.

[out]
+
+

Returns

+

TRUE if the flag data item was found and successfully converted +to flags, FALSE if not

+

+
+
+
+
+

Types and Values

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib.devhelp2 b/docs/libnm-glib/html/libnm-glib.devhelp2 index e046cc04..4e60b47e 100644 --- a/docs/libnm-glib/html/libnm-glib.devhelp2 +++ b/docs/libnm-glib/html/libnm-glib.devhelp2 @@ -31,7 +31,7 @@ - + @@ -39,6 +39,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -55,61 +91,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -118,25 +125,42 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -158,135 +182,107 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + - @@ -294,123 +290,110 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - + + + + + + + + - - - - - - - - - - + + + + + + + - - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -421,304 +404,164 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - + + + + + + + - - - - - - + + + + - - - - + + + + - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-glib/html/object-tree.html b/docs/libnm-glib/html/object-tree.html index e001e47a..199cb73d 100644 --- a/docs/libnm-glib/html/object-tree.html +++ b/docs/libnm-glib/html/object-tree.html @@ -2,58 +2,58 @@ -Object Hierarchy +libnm-glib Reference Manual: Object Hierarchy - + - - - - - - + + + + + +

Object Hierarchy

     GObject
-        NMObject
-            NMClient
-            NMDevice
-                NMDeviceEthernet
-                NMDeviceWifi
-                NMDeviceModem
-                NMDeviceBt
-                NMDeviceWimax
-                NMDeviceOlpcMesh
-                NMDeviceAdsl
-                NMDeviceInfiniband
-                NMDeviceBond
-                NMDeviceBridge
-                NMDeviceVlan
-            NMWimaxNsp
-            NMAccessPoint
-            NMIP4Config
-            NMIP6Config
-            NMActiveConnection
-                NMVPNConnection
-            NMDHCP4Config
-            NMDHCP6Config
-        NMRemoteSettings
-        NMConnection
-            NMRemoteConnection
-        NMSecretAgent
+    ├── NMObject
+    │   ├── NMClient
+    │   ├── NMDevice
+    │   │   ├── NMDeviceEthernet
+    │   │   ├── NMDeviceWifi
+    │   │   ├── NMDeviceModem
+    │   │   ├── NMDeviceBt
+    │   │   ├── NMDeviceWimax
+    │   │   ├── NMDeviceOlpcMesh
+    │   │   ├── NMDeviceAdsl
+    │   │   ├── NMDeviceInfiniband
+    │   │   ├── NMDeviceBond
+    │   │   ├── NMDeviceBridge
+    │   │   ╰── NMDeviceVlan
+    │   ├── NMWimaxNsp
+    │   ├── NMAccessPoint
+    │   ├── NMIP4Config
+    │   ├── NMIP6Config
+    │   ├── NMActiveConnection
+    │   │   ╰── NMVPNConnection
+    │   ├── NMDHCP4Config
+    │   ╰── NMDHCP6Config
+    ├── NMRemoteSettings
+    ├── NMConnection
+    │   ╰── NMRemoteConnection
+    ╰── NMSecretAgent
 
+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/ref-overview.html b/docs/libnm-glib/html/ref-overview.html index 6dd6954c..ad919bb8 100644 --- a/docs/libnm-glib/html/ref-overview.html +++ b/docs/libnm-glib/html/ref-overview.html @@ -2,22 +2,22 @@ -Object Overview +libnm-glib Reference Manual: Object Overview - + - - - - - - + + + + + +

@@ -42,6 +42,6 @@

+ Generated by GTK-Doc V1.20
\ No newline at end of file diff --git a/docs/libnm-glib/html/right-insensitive.png b/docs/libnm-glib/html/right-insensitive.png new file mode 100644 index 00000000..4c95785b Binary files /dev/null and b/docs/libnm-glib/html/right-insensitive.png differ diff --git a/docs/libnm-glib/html/right.png b/docs/libnm-glib/html/right.png index 92832e3a..76260ec8 100644 Binary files a/docs/libnm-glib/html/right.png and b/docs/libnm-glib/html/right.png differ diff --git a/docs/libnm-glib/html/style.css b/docs/libnm-glib/html/style.css index d6f6c26e..705a5c9a 100644 --- a/docs/libnm-glib/html/style.css +++ b/docs/libnm-glib/html/style.css @@ -1,15 +1,23 @@ +body +{ + font-family: cantarell, sans-serif; +} .synopsis, .classsynopsis { /* tango:aluminium 1/2 */ background: #eeeeec; - border: solid 1px #d3d7cf; + background: rgba(238, 238, 236, 0.5); + border: solid 1px rgb(238, 238, 236); padding: 0.5em; } .programlisting { /* tango:sky blue 0/1 */ + /* fallback for no rgba support */ background: #e6f3ff; border: solid 1px #729fcf; + background: rgba(114, 159, 207, 0.1); + border: solid 1px rgba(114, 159, 207, 0.2); padding: 0.5em; } .variablelist @@ -27,7 +35,6 @@ { position: relative; top: 0em ! important; - } /* this is needed so that the local anchors are displayed below the naviagtion */ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] @@ -46,16 +53,20 @@ */ body { - padding-top: 3.2em; - padding-bottom: 20em; + padding-top: 5em; + padding-bottom: 500px; + max-width: 60em; + } + p + { + max-width: 60em; } /* style and size the navigation bar */ table.navigation#top { position: fixed; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; + background: #e2e2e2; + border-bottom: solid 1px #babdb6; margin-top: 0; margin-bottom: 0; top: 0; @@ -65,21 +76,57 @@ } .navigation a, .navigation a:visited { - /* tango:scarlet red 3 */ - color: #a40000; + /* tango:sky blue 3 */ + color: #204a87; } .navigation a:hover { - /* tango:scarlet red 1 */ - color: #ef2929; + /* tango:sky blue 2 */ + color: #3465a4; } td.shortcuts { - /* tango:scarlet red 1 */ - color: #ef2929; + /* tango:sky blue 2 */ + color: #3465a4; font-size: 80%; white-space: nowrap; } + td.shortcuts .dim + { + color: #babdb6; + } +} +@media screen and (min-width: 60em) { + /* screen larger than 60em */ + body { margin: auto; } +} +@media screen and (max-width: 60em) { + /* screen less than 60em */ + #nav_hierarchy { display: none; } + #nav_interfaces { display: none; } + #nav_prerequisites { display: none; } + #nav_derived_interfaces { display: none; } + #nav_implementations { display: none; } + #nav_child_properties { display: none; } + #nav_style_properties { display: none; } + #nav_index { display: none; } + #nav_glossary { display: none; } + .gallery_image { display: none; } + .property_flags { display: none; } + .signal_flags { display: none; } + .parameter_annotations { display: none; } + .enum_member_annotations { display: none; } + .struct_member_annotations { display: none; } + .union_member_annotations { display: none; } + /* now that a column is hidden, optimize space */ + col.parameters_name { width: auto; } + col.parameters_description { width: auto; } + col.struct_members_name { width: auto; } + col.struct_members_description { width: auto; } + col.enum_members_name { width: auto; } + col.enum_members_description { width: auto; } + col.union_members_name { width: auto; } + col.union_members_description { width: auto; } } @media print { table.navigation { @@ -89,9 +136,8 @@ div.titlepage table.navigation { visibility: visible; display: table; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; + background: #e2e2e2; + border: solid 1px #babdb6; margin-top: 0; margin-bottom: 0; top: 0; @@ -102,7 +148,7 @@ .navigation .title { - font-size: 200%; + font-size: 120%; } div.gallery-float @@ -132,6 +178,67 @@ a:hover color: #729fcf; } +div.informaltable table +{ + border-collapse: separate; + border-spacing: 20px 3px; + border: none; +} + +div.informaltable table td, div.informaltable table th +{ + vertical-align: top; +} + +.function_type, +.variable_type, +.property_type, +.signal_type, +.parameter_name, +.struct_member_name, +.union_member_name, +.define_keyword, +.datatype_keyword, +.typedef_keyword +{ + text-align: right; +} + +/* dim non-primary columns */ +.c_punctuation, +.function_type, +.variable_type, +.property_type, +.signal_type, +.define_keyword, +.datatype_keyword, +.typedef_keyword, +.property_flags, +.signal_flags, +.parameter_annotations, +.enum_member_annotations, +.struct_member_annotations, +.union_member_annotations +{ + color: #888a85; +} + +.function_type a, +.function_type a:visited, +.function_type a:hover, +.property_type a, +.property_type a:visited, +.property_type a:hover, +.signal_type a, +.signal_type a:visited, +.signal_type a:hover, +.signal_flags a, +.signal_flags a:visited, +.signal_flags a:hover +{ + color: #729fcf; +} + div.table table { border-collapse: collapse; @@ -154,14 +261,43 @@ div.table table th background-color: #d3d7cf; } +h4 +{ + color: #555753; +} + hr { - /* tango:aluminium 3 */ - color: #babdb6; - background: #babdb6; + /* tango:aluminium 1 */ + color: #d3d7cf; + background: #d3d7cf; border: none 0px; height: 1px; clear: both; + margin: 2.0em 0em 2.0em 0em; +} + +dl.toc dt +{ + padding-bottom: 0.25em; +} + +dl.toc > dd > dl > dt +{ + padding-top: 0.25em; + padding-bottom: 0.25em; +} + +dl.toc > dt +{ + padding-top: 1em; + padding-bottom: 0.5em; + font-weight: bold; +} + +.parameter +{ + font-style: normal; } .footer @@ -173,31 +309,70 @@ hr font-size: 80%; } +.informalfigure, +.figure +{ + margin: 1em; +} + +.informalexample, +.example +{ + margin-top: 1em; + margin-bottom: 1em; +} + .warning { /* tango:orange 0/1 */ background: #ffeed9; + background: rgba(252, 175, 62, 0.1); border-color: #ffb04f; + border-color: rgba(252, 175, 62, 0.2); } .note { /* tango:chameleon 0/0.5 */ background: #d8ffb2; + background: rgba(138, 226, 52, 0.1); border-color: #abf562; + border-color: rgba(138, 226, 52, 0.2); } -.note, .warning +div.blockquote +{ + border-color: #eeeeec; +} +.note, .warning, div.blockquote { padding: 0.5em; border-width: 1px; border-style: solid; + margin: 2em; } -.note h3, .warning h3 +.note p, .warning p { - margin-top: 0.0em + margin: 0; } -.note p, .warning p + +div.warning h3.title, +div.note h3.title { - margin-bottom: 0.0em + display: none; +} + +p + div.section +{ + margin-top: 1em; +} + +div.refnamediv, +div.refsynopsisdiv, +div.refsect1, +div.refsect2, +div.toc, +div.section +{ + margin-bottom: 1em; } /* blob links */ @@ -210,11 +385,22 @@ h2 .extralinks, h3 .extralinks font-weight: normal; } +.lineart +{ + color: #d3d7cf; + font-weight: normal; +} + .annotation { /* tango:aluminium 5 */ color: #555753; - font-size: 80%; + font-weight: normal; +} + +.structfield +{ + font-style: normal; font-weight: normal; } @@ -237,6 +423,7 @@ h2 .extralinks, h3 .extralinks .listing_frame { /* tango:sky blue 1 */ border: solid 1px #729fcf; + border: solid 1px rgba(114, 159, 207, 0.2); padding: 0px; } @@ -245,20 +432,28 @@ h2 .extralinks, h3 .extralinks margin-bottom: 0px; padding: 0.5em; } +.listing_lines { + /* this just adds visual clutter and + takes precious room from small screens */ + display: none; +} .listing_lines { /* tango:sky blue 0.5 */ background: #a6c5e3; + background: rgba(114, 159, 207, 0.2); /* tango:aluminium 6 */ color: #2e3436; } .listing_code { /* tango:sky blue 0 */ background: #e6f3ff; + background: rgba(114, 159, 207, 0.1); } .listing_code .programlisting { /* override from previous */ border: none 0px; padding: 0px; + background: none; } .listing_lines pre, .listing_code pre { margin: 0px; diff --git a/docs/libnm-glib/html/up-insensitive.png b/docs/libnm-glib/html/up-insensitive.png new file mode 100644 index 00000000..f4049860 Binary files /dev/null and b/docs/libnm-glib/html/up-insensitive.png differ diff --git a/docs/libnm-glib/html/up.png b/docs/libnm-glib/html/up.png index 85b3e2a2..80b4b37e 100644 Binary files a/docs/libnm-glib/html/up.png and b/docs/libnm-glib/html/up.png differ -- cgit 1.3.0-6-gf8a5