From a6b89d35fabd9f5934b84d7cde22e9268f92c3d3 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 29 Nov 2010 19:00:22 +0100 Subject: Imported Upstream version 0.8.2 --- docs/libnm-glib/html/NMAccessPoint.html | 522 ++++++++++++ docs/libnm-glib/html/NMActiveConnection.html | 464 +++++++++++ docs/libnm-glib/html/NMCdmaDevice.html | 39 +- docs/libnm-glib/html/NMClient.html | 910 +++++++++++++++++++++ docs/libnm-glib/html/NMDHCP4Config.html | 45 +- docs/libnm-glib/html/NMDHCP6Config.html | 39 +- docs/libnm-glib/html/NMDevice.html | 849 +++++++++++++++++++ docs/libnm-glib/html/NMDeviceEthernet.html | 308 +++++++ docs/libnm-glib/html/NMDeviceWifi.html | 527 ++++++++++++ docs/libnm-glib/html/NMGsmDevice.html | 31 +- docs/libnm-glib/html/NMIP4Config.html | 89 +- docs/libnm-glib/html/NMIP6Config.html | 69 +- docs/libnm-glib/html/NMObject.html | 189 +++++ docs/libnm-glib/html/NMSerialDevice.html | 54 +- docs/libnm-glib/html/ch01.html | 44 +- docs/libnm-glib/html/index.html | 38 +- docs/libnm-glib/html/index.sgml | 762 ++++++++--------- docs/libnm-glib/html/libnm-glib-NMDeviceBt.html | 215 +++++ .../html/libnm-glib-NMExportedConnection.html | 47 +- .../html/libnm-glib-NMRemoteConnection.html | 35 +- .../html/libnm-glib-NMRemoteSettings.html | 142 ++++ .../html/libnm-glib-NMRemoteSettingsSystem.html | 35 +- docs/libnm-glib/html/libnm-glib-NMSettings.html | 314 +++++++ .../html/libnm-glib-NMSettingsConnection.html | 386 +++++++++ .../html/libnm-glib-NMSettingsService.html | 189 +++++ .../html/libnm-glib-NMSettingsSystem.html | 305 +++++++ .../html/libnm-glib-NMVPNConnection.html | 183 +++++ docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html | 375 +++++++++ docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html | 667 +++++++++++++++ .../html/libnm-glib-nm-access-point.html | 503 ------------ .../html/libnm-glib-nm-active-connection.html | 445 ---------- docs/libnm-glib/html/libnm-glib-nm-client.html | 724 ---------------- docs/libnm-glib/html/libnm-glib-nm-device-bt.html | 196 ----- .../html/libnm-glib-nm-device-ethernet.html | 243 ------ .../libnm-glib/html/libnm-glib-nm-device-wifi.html | 458 ----------- docs/libnm-glib/html/libnm-glib-nm-device.html | 743 ----------------- docs/libnm-glib/html/libnm-glib-nm-object.html | 170 ---- .../html/libnm-glib-nm-remote-settings.html | 123 --- ...ibnm-glib-nm-settings-connection-interface.html | 403 --------- .../html/libnm-glib-nm-settings-interface.html | 331 -------- .../html/libnm-glib-nm-settings-service.html | 158 ---- .../libnm-glib-nm-settings-system-interface.html | 322 -------- docs/libnm-glib/html/libnm-glib-nm-types.html | 42 +- .../html/libnm-glib-nm-vpn-connection.html | 159 ---- .../libnm-glib-nm-vpn-plugin-ui-interface.html | 679 --------------- docs/libnm-glib/html/libnm-glib-nm-vpn-plugin.html | 328 -------- docs/libnm-glib/html/libnm-glib.devhelp | 604 +++++++------- docs/libnm-glib/html/libnm-glib.devhelp2 | 604 +++++++------- docs/libnm-glib/html/style.css | 8 + 49 files changed, 7997 insertions(+), 7118 deletions(-) create mode 100644 docs/libnm-glib/html/NMAccessPoint.html create mode 100644 docs/libnm-glib/html/NMActiveConnection.html create mode 100644 docs/libnm-glib/html/NMClient.html create mode 100644 docs/libnm-glib/html/NMDevice.html create mode 100644 docs/libnm-glib/html/NMDeviceEthernet.html create mode 100644 docs/libnm-glib/html/NMDeviceWifi.html create mode 100644 docs/libnm-glib/html/NMObject.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMDeviceBt.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMRemoteSettings.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMSettings.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMSettingsConnection.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMSettingsService.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMVPNConnection.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html create mode 100644 docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-access-point.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-active-connection.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-client.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-device-bt.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-device-ethernet.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-device-wifi.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-device.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-object.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-remote-settings.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-settings-connection-interface.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-settings-interface.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-settings-service.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-settings-system-interface.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-vpn-connection.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-vpn-plugin-ui-interface.html delete mode 100644 docs/libnm-glib/html/libnm-glib-nm-vpn-plugin.html (limited to 'docs/libnm-glib/html') diff --git a/docs/libnm-glib/html/NMAccessPoint.html b/docs/libnm-glib/html/NMAccessPoint.html new file mode 100644 index 00000000..4988976c --- /dev/null +++ b/docs/libnm-glib/html/NMAccessPoint.html @@ -0,0 +1,522 @@ + + + + +NMAccessPoint + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMAccessPoint

+

NMAccessPoint

+
+ +
+

Object Hierarchy

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

Properties

+
+  "flags"                    guint                 : Read
+  "frequency"                guint                 : Read
+  "hw-address"               gchar*                : Read
+  "max-bitrate"              guint                 : Read
+  "mode"                     guint                 : Read
+  "rsn-flags"                guint                 : Read
+  "ssid"                     nm-ssid*              : 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_FREQUENCY

+
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
+
+

+

+
+
+
+

NM_ACCESS_POINT_HW_ADDRESS

+
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
+
+

+

+
+
+
+

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"
+
+

+

+
+
+
+

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. +

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

connection :

the DBusGConnection +

path :

the DBusobject path of the access point +

Returns :

a new access point +
+
+
+
+

nm_access_point_get_flags ()

+
guint32             nm_access_point_get_flags           (NMAccessPoint *ap);
+

+Gets the flags of the access point +

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

ap :

a NMAccessPoint +

Returns :

the flags +
+
+
+
+

nm_access_point_get_wpa_flags ()

+
guint32             nm_access_point_get_wpa_flags       (NMAccessPoint *ap);
+

+Gets the WPA flags of the access point. +

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

ap :

a NMAccessPoint +

Returns :

the WPA flags +
+
+
+
+

nm_access_point_get_rsn_flags ()

+
guint32             nm_access_point_get_rsn_flags       (NMAccessPoint *ap);
+

+Gets the RSN flags of the access point. +

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

ap :

a NMAccessPoint +

Returns :

the RSN flags +
+
+
+
+

nm_access_point_get_ssid ()

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

+Gets the SSID of the access point. +

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

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_frequency ()

+
guint32             nm_access_point_get_frequency       (NMAccessPoint *ap);
+

+Gets the frequency of the access point. +

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

ap :

a NMAccessPoint +

Returns :

the frequency +
+
+
+
+

nm_access_point_get_hw_address ()

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

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

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

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. +
+
+
+
+

nm_access_point_get_mode ()

+
NM80211Mode         nm_access_point_get_mode            (NMAccessPoint *ap);
+

+Gets the mode of the access point. +

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

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. +

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

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. +

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

ap :

a NMAccessPoint +

Returns :

the signal strength +
+
+
+
+

Property Details

+
+

The "flags" property

+
  "flags"                    guint                 : Read
+

+The flags of the access point. +

+

Allowed values: <= 1

+

Default value: 0

+
+
+
+

The "frequency" property

+
  "frequency"                guint                 : Read
+

+The frequency of the access point. +

+

Allowed values: <= 10000

+

Default value: 0

+
+
+
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

+The hardware address of the access point. +

+

Default value: NULL

+
+
+
+

The "max-bitrate" property

+
  "max-bitrate"              guint                 : Read
+

+The maximum bit rate of the access point. +

+

Default value: 0

+
+
+
+

The "mode" property

+
  "mode"                     guint                 : Read
+

+The mode of the access point. +

+

Allowed values: [1,2]

+

Default value: 2

+
+
+
+

The "rsn-flags" property

+
  "rsn-flags"                guint                 : Read
+

+The RSN flags of the access point. +

+

Default value: 0

+
+
+
+

The "ssid" property

+
  "ssid"                     nm-ssid*              : Read
+

+The SSID of the access point. +

+
+
+
+

The "strength" property

+
  "strength"                 guchar                : Read
+

+The current signal strength of the access point. +

+

Default value: 0

+
+
+
+

The "wpa-flags" property

+
  "wpa-flags"                guint                 : Read
+

+The WPA flags of the access point. +

+

Default value: 0

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMActiveConnection.html b/docs/libnm-glib/html/NMActiveConnection.html new file mode 100644 index 00000000..ec15593a --- /dev/null +++ b/docs/libnm-glib/html/NMActiveConnection.html @@ -0,0 +1,464 @@ + + + + +NMActiveConnection + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMActiveConnection

+

NMActiveConnection

+
+ +
+

Object Hierarchy

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

Properties

+
+  "connection"               gchar*                : Read
+  "default"                  gboolean              : Read
+  "default6"                 gboolean              : Read
+  "devices"                  nm-object-array*      : Read
+  "service-name"             gchar*                : Read
+  "specific-object"          gchar*                : Read
+  "state"                    guint                 : Read
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_ACTIVE_CONNECTION_SERVICE_NAME

+
#define NM_ACTIVE_CONNECTION_SERVICE_NAME        "service-name"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_CONNECTION

+
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
+
+

+

+
+
+
+

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_STATE

+
#define NM_ACTIVE_CONNECTION_STATE               "state"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DEFAULT

+
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
+
+

+

+
+
+
+

NM_ACTIVE_CONNECTION_DEFAULT6

+
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
+
+

+

+
+
+
+

NMActiveConnection

+
typedef struct _NMActiveConnection NMActiveConnection;
+

+

+
+
+
+

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_new ()

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

+Creates a new NMActiveConnection. +

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

connection :

the DBusGConnection +

path :

the DBus object path of the device +

Returns :

a new active connection +
+
+
+
+

nm_active_connection_get_service_name ()

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

+Gets the service name of the active connection. +

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

connection :

a NMActiveConnection +

Returns :

the service name. This is the internal string used by the +connection, and must not be modified. +
+
+
+
+

nm_active_connection_get_scope ()

+
NMConnectionScope   nm_active_connection_get_scope      (NMActiveConnection *connection);
+

+Gets the scope of the active connection. +

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

connection :

a NMActiveConnection +

Returns :

the connection's scope +
+
+
+
+

nm_active_connection_get_connection ()

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

+Gets the NMConnection's DBus object path. +

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

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_get_specific_object ()

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

+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);
+

+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. +
+
+
+
+

nm_active_connection_get_state ()

+
NMActiveConnectionState  nm_active_connection_get_state (NMActiveConnection *connection);
+

+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);
+

+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);
+

+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 +
+
+
+
+

Property Details

+
+

The "connection" property

+
  "connection"               gchar*                : Read
+

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

+

Default value: NULL

+
+
+
+

The "default" property

+
  "default"                  gboolean              : Read
+

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

+

Default value: FALSE

+
+
+
+

The "default6" property

+
  "default6"                 gboolean              : Read
+

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

+

Default value: FALSE

+
+
+
+

The "devices" property

+
  "devices"                  nm-object-array*      : Read
+

Devices.

+
+
+
+

The "service-name" property

+
  "service-name"             gchar*                : Read
+

+The service name of the active connection. +

+

Default value: NULL

+
+
+
+

The "specific-object" property

+
  "specific-object"          gchar*                : Read
+

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

+

Default value: NULL

+
+
+
+

The "state" property

+
  "state"                    guint                 : Read
+

+The state of the active connection. +

+

Allowed values: <= 2

+

Default value: 0

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMCdmaDevice.html b/docs/libnm-glib/html/NMCdmaDevice.html index f0765444..c7153339 100644 --- a/docs/libnm-glib/html/NMCdmaDevice.html +++ b/docs/libnm-glib/html/NMCdmaDevice.html @@ -3,12 +3,12 @@ NMCdmaDevice - + - - + + @@ -18,7 +18,7 @@ Up Home libnm-glib Reference Manual -Next +Next Top @@ -40,16 +40,17 @@

Synopsis

                    NMCdmaDevice;
-GObject *           nm_cdma_device_new                  (DBusGConnection *connection,
+                    NMCdmaDeviceClass;
+GObject *           nm_cdma_device_new                  (DBusGConnection *connection,
                                                          const char *path);
 

Object Hierarchy

-  GObject
-   +----NMObject
-         +----NMDevice
+  GObject
+   +----NMObject
+         +----NMDevice
                +----NMSerialDevice
                      +----NMCdmaDevice
 
@@ -68,9 +69,27 @@


+
+

NMCdmaDeviceClass

+
typedef struct {
+	NMSerialDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMCdmaDeviceClass;
+
+

+

+
+

nm_cdma_device_new ()

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

Creates a new NMCdmaDevice. @@ -100,6 +119,6 @@ Creates a new

+ Generated by GTK-Doc V1.15
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html new file mode 100644 index 00000000..b871e694 --- /dev/null +++ b/docs/libnm-glib/html/NMClient.html @@ -0,0 +1,910 @@ + + + + +NMClient + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMClient

+

NMClient

+
+
+

Synopsis

+
#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_ACTIVE_CONNECTIONS
+enum                NMClientPermission;
+enum                NMClientPermissionResult;
+                    NMClient;
+                    NMClientClass;
+NMClient *          nm_client_new                       (void);
+const GPtrArray *   nm_client_get_devices               (NMClient *client);
+NMDevice *          nm_client_get_device_by_path        (NMClient *client,
+                                                         const char *object_path);
+void                (*NMClientActivateDeviceFn)         (gpointer user_data,
+                                                         const char *object_path,
+                                                         GError *error);
+void                nm_client_activate_connection       (NMClient *client,
+                                                         const char *service_name,
+                                                         const char *connection_path,
+                                                         NMDevice *device,
+                                                         const char *specific_object,
+                                                         NMClientActivateDeviceFn 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);
+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);
+
+
+
+

Object Hierarchy

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

Properties

+
+  "active-connections"       nm-object-array*      : Read
+  "manager-running"          gboolean              : Read
+  "networking-enabled"       gboolean              : Read
+  "state"                    guint                 : Read
+  "wireless-enabled"         gboolean              : Read / Write
+  "wireless-hardware-enabled" gboolean              : Read
+  "wwan-enabled"             gboolean              : Read / Write / Construct
+  "wwan-hardware-enabled"    gboolean              : Read / Write / Construct Only
+
+
+
+

Signals

+
+  "device-added"                                   : Run First
+  "device-removed"                                 : Run First
+  "permission-changed"                             : Run First
+
+
+
+

Description

+

+

+
+
+

Details

+
+

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"
+
+

+

+
+
+
+

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"
+
+

+

+
+
+
+

NM_CLIENT_WWAN_ENABLED

+
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
+
+

+

+
+
+
+

NM_CLIENT_WWAN_HARDWARE_ENABLED

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

+

+
+
+
+

NM_CLIENT_ACTIVE_CONNECTIONS

+
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
+
+

+

+
+
+
+

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_USE_USER_CONNECTIONS = 4,
+
+	NM_CLIENT_PERMISSION_LAST = NM_CLIENT_PERMISSION_USE_USER_CONNECTIONS
+} NMClientPermission;
+
+

+

+
+
+
+

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;
+
+

+

+
+
+
+

NMClient

+
typedef struct _NMClient NMClient;
+

+

+
+
+
+

NMClientClass

+
typedef struct {
+	NMObjectClass parent;
+
+	/* Signals */
+	void (*device_added) (NMClient *client, NMDevice *device);
+	void (*device_removed) (NMClient *client, NMDevice *device);
+
+	/* 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_new ()

+
NMClient *          nm_client_new                       (void);
+

+Creates a new NMClient. +

+
++ + + + +

Returns :

a new NMClient +
+
+
+
+

nm_client_get_devices ()

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

+Gets all the detected devices. +

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

client :

a NMClient +

Returns :

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

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. +

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

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. +
+
+
+
+

NMClientActivateDeviceFn ()

+
void                (*NMClientActivateDeviceFn)         (gpointer user_data,
+                                                         const char *object_path,
+                                                         GError *error);
+

+

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

user_data :

+

object_path :

+

error :

+
+
+
+
+

nm_client_activate_connection ()

+
void                nm_client_activate_connection       (NMClient *client,
+                                                         const char *service_name,
+                                                         const char *connection_path,
+                                                         NMDevice *device,
+                                                         const char *specific_object,
+                                                         NMClientActivateDeviceFn callback,
+                                                         gpointer user_data);
+

+Activates a connection with the given NMDevice. +

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

client :

a NMClient +

service_name :

the connection's service name +

connection_path :

the connection's DBus path +

device :

the NMDevice +

specific_object :

the device specific object (currently used only for +activating wireless devices and should be the NMAccessPoint's path. +

callback :

the function to call when the call is done +

user_data :

user data to pass to the callback function +
+
+
+
+

nm_client_deactivate_connection ()

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

+Deactivates an active NMActiveConnection. +

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

client :

a NMClient +

active :

the NMActiveConnection to deactivate +
+
+
+
+

nm_client_networking_get_enabled ()

+
gboolean            nm_client_networking_get_enabled    (NMClient *client);
+

+Whether networking is enabled or disabled. +

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

client :

a NMClient +

Returns :

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

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 +

enabled :

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

nm_client_wireless_get_enabled ()

+
gboolean            nm_client_wireless_get_enabled      (NMClient *client);
+

+Determines whether the wireless is enabled. +

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

client :

a NMClient +

Returns :

TRUE if wireless is enabled +
+
+
+
+

nm_client_wireless_set_enabled ()

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

+Enables or disables wireless devices. +

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

client :

a NMClient +

enabled :

+TRUE to enable wireless +
+
+
+
+

nm_client_wireless_hardware_get_enabled ()

+
gboolean            nm_client_wireless_hardware_get_enabled
+                                                        (NMClient *client);
+

+Determines whether the wireless hardware is enabled. +

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

client :

a NMClient +

Returns :

TRUE if the wireless hardware is enabled +
+
+
+
+

nm_client_wwan_get_enabled ()

+
gboolean            nm_client_wwan_get_enabled          (NMClient *client);
+

+Determines whether WWAN is enabled. +

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

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. +

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

client :

a NMClient +

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. +

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

client :

a NMClient +

Returns :

TRUE if the WWAN hardware is enabled +
+
+
+
+

nm_client_get_state ()

+
NMState             nm_client_get_state                 (NMClient *client);
+

+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);
+

+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);
+

+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. +
+
+
+
+

nm_client_sleep ()

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

+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);
+

+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 +
+
+
+
+

Property Details

+
+

The "active-connections" property

+
  "active-connections"       nm-object-array*      : Read
+

Active connections.

+
+
+
+

The "manager-running" property

+
  "manager-running"          gboolean              : Read
+

Whether NetworkManager is running.

+

Default value: FALSE

+
+
+
+

The "networking-enabled" property

+
  "networking-enabled"       gboolean              : Read
+

Is networking enabled.

+

Default value: TRUE

+
+
+
+

The "state" property

+
  "state"                    guint                 : Read
+

+The current daemon state. +

+

Allowed values: <= 4

+

Default value: 0

+
+
+
+

The "wireless-enabled" property

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

Is wireless enabled.

+

Default value: TRUE

+
+
+
+

The "wireless-hardware-enabled" property

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

Is wireless hardware enabled.

+

Default value: TRUE

+
+
+
+

The "wwan-enabled" property

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

Is WWAN enabled.

+

Default value: TRUE

+
+
+
+

The "wwan-hardware-enabled" property

+
  "wwan-hardware-enabled"    gboolean              : Read / Write / Construct Only
+

Is WWAN hardware enabled.

+

Default value: TRUE

+
+
+
+

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 +

user_data :

user data set when the signal handler was connected.
+
+
+
+

The "device-removed" signal

+
void                user_function                      (NMClient *widget,
+                                                        GObject  *device,
+                                                        gpointer  user_data)      : Run First
+

+Notifies that a NMDevice is removed. +

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

widget :

the client that received the signal +

device :

the removed device +

user_data :

user data set when the signal handler was connected.
+
+
+
+

The "permission-changed" signal

+
void                user_function                      (NMClient *widget,
+                                                        guint     permission,
+                                                        guint     result,
+                                                        gpointer  user_data)       : Run First
+

+Notifies that a permission has changed +

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

widget :

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.
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDHCP4Config.html b/docs/libnm-glib/html/NMDHCP4Config.html index 697744f7..b52751b8 100644 --- a/docs/libnm-glib/html/NMDHCP4Config.html +++ b/docs/libnm-glib/html/NMDHCP4Config.html @@ -3,12 +3,12 @@ NMDHCP4Config - + - + @@ -42,10 +42,11 @@

Synopsis

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

Object Hierarchy

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

Properties

-  "options"                  GHashTable*           : Read
+  "options"                  GHashTable*           : Read
 
@@ -78,6 +79,24 @@ const char * +

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"
@@ -88,7 +107,7 @@ const char *        
 

nm_dhcp4_config_new ()

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

Creates a new NMDHCP4Config. @@ -117,7 +136,7 @@ Creates a new

nm_dhcp4_config_get_options ()

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

Gets all the options contained in the configuration.

@@ -131,7 +150,7 @@ Gets all the options contained in the configuration.

Returns :

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

Property Details

The "options" property

-
  "options"                  GHashTable*           : Read
+
  "options"                  GHashTable*           : Read

-The GHashTable containing options of the configuration. +The GHashTable containing options of the configuration.

+ Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDHCP6Config.html b/docs/libnm-glib/html/NMDHCP6Config.html index 8edffbb6..005854f4 100644 --- a/docs/libnm-glib/html/NMDHCP6Config.html +++ b/docs/libnm-glib/html/NMDHCP6Config.html @@ -3,12 +3,12 @@ NMDHCP6Config - + - + @@ -40,10 +40,11 @@

Synopsis

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

Object Hierarchy

-  GObject
-   +----NMObject
+  GObject
+   +----NMObject
          +----NMDHCP6Config
 
@@ -70,6 +71,24 @@ const char * +

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"
@@ -80,7 +99,7 @@ const char *        
 

nm_dhcp6_config_new ()

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

Creates a new NMDHCP6Config. @@ -109,7 +128,7 @@ Creates a new

nm_dhcp6_config_get_options ()

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

Gets all the options contained in the configuration.

@@ -123,7 +142,7 @@ Gets all the options contained in the configuration.

Returns :

- the GHashTable containing strings for keys and values. + the GHashTable containing strings for keys and values. This is the internal copy used by the configuration, and must not be modified. @@ -164,6 +183,6 @@ configuration, and must not be modified.
+ Generated by GTK-Doc V1.15
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMDevice.html b/docs/libnm-glib/html/NMDevice.html new file mode 100644 index 00000000..588eba19 --- /dev/null +++ b/docs/libnm-glib/html/NMDevice.html @@ -0,0 +1,849 @@ + + + + +NMDevice + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDevice

+

NMDevice

+
+
+

Synopsis

+
#define             NM_DEVICE_UDI
+#define             NM_DEVICE_INTERFACE
+#define             NM_DEVICE_IP_INTERFACE
+#define             NM_DEVICE_DRIVER
+#define             NM_DEVICE_CAPABILITIES
+#define             NM_DEVICE_MANAGED
+#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_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);
+const char *        nm_device_get_udi                   (NMDevice *device);
+const char *        nm_device_get_driver                (NMDevice *device);
+guint32             nm_device_get_capabilities          (NMDevice *device);
+gboolean            nm_device_get_managed               (NMDevice *device);
+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);
+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);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMDevice
+               +----NMDeviceEthernet
+               +----NMDeviceWifi
+               +----NMSerialDevice
+
+
+
+

Properties

+
+  "capabilities"             guint                 : Read
+  "dhcp4-config"             NMDHCP4Config*        : Read
+  "dhcp6-config"             NMDHCP6Config*        : Read
+  "driver"                   gchar*                : Read
+  "firmware-missing"         gboolean              : Read
+  "interface"                gchar*                : Read
+  "ip4-config"               NMIP4Config*          : Read
+  "ip6-config"               NMIP6Config*          : Read
+  "managed"                  gboolean              : Read
+  "product"                  gchar*                : Read
+  "state"                    guint                 : Read
+  "udi"                      gchar*                : Read
+  "vendor"                   gchar*                : Read
+
+
+
+

Signals

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

Description

+

+

+
+
+

Details

+
+

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_CAPABILITIES

+
#define NM_DEVICE_CAPABILITIES "capabilities"
+
+

+

+
+
+
+

NM_DEVICE_MANAGED

+
#define NM_DEVICE_MANAGED "managed"
+
+

+

+
+
+
+

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_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);
+
+	/* 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 +

path :

the DBus object path of the device +

Returns :

a new device +
+
+
+
+

nm_device_get_iface ()

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

+Gets the interface name of the NMDevice. +

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

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_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. +

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

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_udi ()

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

+Gets the Unique Device Identifier of the NMDevice. +

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

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_driver ()

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

+Gets the driver of the NMDevice. +

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

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 ()

+
guint32             nm_device_get_capabilities          (NMDevice *device);
+

+Gets the device' capabilities. +

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

device :

a NMDevice +

Returns :

the capabilities +
+
+
+
+

nm_device_get_managed ()

+
gboolean            nm_device_get_managed               (NMDevice *device);
+

+Whether the NMDevice is managed by NetworkManager. +

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

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. +

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

device :

a NMDevice +

Returns :

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

nm_device_get_ip4_config ()

+
NMIP4Config *       nm_device_get_ip4_config            (NMDevice *device);
+

+Gets the current NMIP4Config associated with the NMDevice. +

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

device :

a NMDevice +

Returns :

the NMIP4Config or NULL if the device is not activated. +
+
+
+
+

nm_device_get_dhcp4_config ()

+
NMDHCP4Config *     nm_device_get_dhcp4_config          (NMDevice *device);
+

+Gets the current NMDHCP4Config associated with the NMDevice. +

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

device :

a NMDevice +

Returns :

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

nm_device_get_ip6_config ()

+
NMIP6Config *       nm_device_get_ip6_config            (NMDevice *device);
+

+Gets the current NMIP6Config associated with the NMDevice. +

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

device :

a NMDevice +

Returns :

the NMIP6Config or NULL if the device is not activated. +
+
+
+
+

nm_device_get_dhcp6_config ()

+
NMDHCP6Config *     nm_device_get_dhcp6_config          (NMDevice *device);
+

+Gets the current NMDHCP6Config associated with the NMDevice. +

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

device :

a NMDevice +

Returns :

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

nm_device_get_state ()

+
NMDeviceState       nm_device_get_state                 (NMDevice *device);
+

+Gets the current NMDevice state. +

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

device :

a NMDevice +

Returns :

the current device state +
+
+
+
+

nm_device_get_product ()

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

+Gets the product string of the NMDevice. +

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

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. +

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

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);
+

+

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

device :

+

error :

+

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 +automatically connecting to networks until the next manual network connection +request. +

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

device :

a NMDevice +

callback :

callback to be called when disconnect operation completes +

user_data :

caller-specific data passed to callback +
+
+
+
+

Property Details

+
+

The "capabilities" property

+
  "capabilities"             guint                 : Read
+

+The capabilities of the device. +

+

Default value: 0

+
+
+
+

The "dhcp4-config" property

+
  "dhcp4-config"             NMDHCP4Config*        : Read
+

+The NMDHCP4Config of the device. +

+
+
+
+

The "dhcp6-config" property

+
  "dhcp6-config"             NMDHCP6Config*        : Read
+

+The NMDHCP6Config of the device. +

+
+
+
+

The "driver" property

+
  "driver"                   gchar*                : Read
+

+The driver of the device. +

+

Default value: NULL

+
+
+
+

The "firmware-missing" property

+
  "firmware-missing"         gboolean              : Read
+

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

+

Default value: FALSE

+
+
+
+

The "interface" property

+
  "interface"                gchar*                : Read
+

+The interface of the device. +

+

Default value: NULL

+
+
+
+

The "ip4-config" property

+
  "ip4-config"               NMIP4Config*          : Read
+

+The NMIP4Config of the device. +

+
+
+
+

The "ip6-config" property

+
  "ip6-config"               NMIP6Config*          : Read
+

+The NMIP6Config of the device. +

+
+
+
+

The "managed" property

+
  "managed"                  gboolean              : Read
+

+Whether the device is managed by NetworkManager. +

+

Default value: FALSE

+
+
+
+

The "product" property

+
  "product"                  gchar*                : Read
+

+The product string of the device. +

+

Default value: NULL

+
+
+
+

The "state" property

+
  "state"                    guint                 : Read
+

+The state of the device. +

+

Default value: 0

+
+
+
+

The "udi" property

+
  "udi"                      gchar*                : Read
+

+The Unique Device Identifier of the device. +

+

Default value: NULL

+
+
+
+

The "vendor" property

+
  "vendor"                   gchar*                : Read
+

+The vendor string of the device. +

+

Default value: NULL

+
+
+
+

Signal Details

+
+

The "state-changed" signal

+
void                user_function                      (NMDevice *device,
+                                                        guint     state,
+                                                        guint     arg2,
+                                                        guint     arg3,
+                                                        gpointer  user_data)      : Run First
+

+Notifies the state change of a NMDevice. +

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

device :

the client that received the signal +

state :

the new state of the device +

user_data :

user data set when the signal handler was connected.
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceEthernet.html b/docs/libnm-glib/html/NMDeviceEthernet.html new file mode 100644 index 00000000..5d63e2e5 --- /dev/null +++ b/docs/libnm-glib/html/NMDeviceEthernet.html @@ -0,0 +1,308 @@ + + + + +NMDeviceEthernet + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDeviceEthernet

+

NMDeviceEthernet

+
+ +
+

Object Hierarchy

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

Properties

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

Description

+

+

+
+
+

Details

+
+

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"
+
+

+

+
+
+
+

NM_DEVICE_ETHERNET_SPEED

+
#define NM_DEVICE_ETHERNET_SPEED       "speed"
+
+

+

+
+
+
+

NM_DEVICE_ETHERNET_CARRIER

+
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
+
+

+

+
+
+
+

NMDeviceEthernet

+
typedef struct _NMDeviceEthernet NMDeviceEthernet;
+

+

+
+
+
+

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. +

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

connection :

the DBusGConnection +

path :

the DBus object path of the device +

Returns :

a new device +
+
+
+
+

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 +

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

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 +

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

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. +

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

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. +

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

device :

a NMDeviceEthernet +

Returns :

TRUE if the device has carrier +
+
+
+
+

Property Details

+
+

The "carrier" property

+
  "carrier"                  gboolean              : Read
+

+Whether the device has carrier. +

+

Default value: FALSE

+
+
+
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

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

+

Default value: NULL

+
+
+
+

The "perm-hw-address" property

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

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

+

Default value: NULL

+
+
+
+

The "speed" property

+
  "speed"                    guint                 : Read
+

+The speed of the device. +

+

Default value: 0

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMDeviceWifi.html b/docs/libnm-glib/html/NMDeviceWifi.html new file mode 100644 index 00000000..34e09856 --- /dev/null +++ b/docs/libnm-glib/html/NMDeviceWifi.html @@ -0,0 +1,527 @@ + + + + +NMDeviceWifi + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDeviceWifi

+

NMDeviceWifi

+
+ +
+

Object Hierarchy

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

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
+
+
+
+

Signals

+
+  "access-point-added"                             : Run First
+  "access-point-removed"                           : Run First
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_DEVICE_WIFI_HW_ADDRESS

+
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_WIFI_PERMANENT_HW_ADDRESS

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

+

+
+
+
+

NM_DEVICE_WIFI_MODE

+
#define NM_DEVICE_WIFI_MODE                "mode"
+
+

+

+
+
+
+

NM_DEVICE_WIFI_BITRATE

+
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
+
+

+

+
+
+
+

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

+
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
+
+

+

+
+
+
+

NM_DEVICE_WIFI_CAPABILITIES

+
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
+
+

+

+
+
+
+

NMDeviceWifi

+
typedef struct _NMDeviceWifi NMDeviceWifi;
+

+

+
+
+
+

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_new ()

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

+Creates a new NMDeviceWifi. +

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

connection :

the DBusGConnection +

path :

the DBus object path of the device +

Returns :

a new device +
+
+
+
+

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 +

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

device :

a NMDeviceWifi +

Returns :

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

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 +

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

device :

a NMDeviceWifi +

Returns :

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

nm_device_wifi_get_mode ()

+
NM80211Mode         nm_device_wifi_get_mode             (NMDeviceWifi *device);
+

+Gets the NMDeviceWifi mode. +

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

device :

a NMDeviceWifi +

Returns :

the mode +
+
+
+
+

nm_device_wifi_get_bitrate ()

+
guint32             nm_device_wifi_get_bitrate          (NMDeviceWifi *device);
+

+Gets the bit rate of the NMDeviceWifi. +

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

device :

a NMDeviceWifi +

Returns :

the bit rate +
+
+
+
+

nm_device_wifi_get_capabilities ()

+
guint32             nm_device_wifi_get_capabilities     (NMDeviceWifi *device);
+

+Gets the WIFI capabilities of the NMDeviceWifi. +

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

device :

a NMDeviceWifi +

Returns :

the capabilities +
+
+
+
+

nm_device_wifi_get_active_access_point ()

+
NMAccessPoint *     nm_device_wifi_get_active_access_point
+                                                        (NMDeviceWifi *device);
+

+Gets the active NMAccessPoint. +

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

device :

a NMDeviceWifi +

Returns :

the access point or NULL if none is active +
+
+
+
+

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 +

path :

the object path of the access point +

Returns :

the access point or NULL if none is found. +
+
+
+
+

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 +

Returns :

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

Property Details

+
+

The "active-access-point" property

+
  "active-access-point"      NMAccessPoint*        : Read
+

+The active NMAccessPoint of the device. +

+
+
+
+

The "bitrate" property

+
  "bitrate"                  guint                 : Read
+

+The bit rate of the device. +

+

Default value: 0

+
+
+
+

The "hw-address" property

+
  "hw-address"               gchar*                : Read
+

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

+

Default value: NULL

+
+
+
+

The "mode" property

+
  "mode"                     guint                 : Read
+

+The mode of the device. +

+

Allowed values: <= 2

+

Default value: 2

+
+
+
+

The "perm-hw-address" property

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

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

+

Default value: NULL

+
+
+
+

The "wireless-capabilities" property

+
  "wireless-capabilities"    guint                 : Read
+

+The wireless capabilities of the device. +

+

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-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.
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMGsmDevice.html b/docs/libnm-glib/html/NMGsmDevice.html index 257c3bb8..5de272de 100644 --- a/docs/libnm-glib/html/NMGsmDevice.html +++ b/docs/libnm-glib/html/NMGsmDevice.html @@ -3,12 +3,12 @@ NMGsmDevice - + - + @@ -40,6 +40,7 @@

Synopsis

                    NMGsmDevice;
+                    NMGsmDeviceClass;
 NMGsmDevice *       nm_gsm_device_new                   (DBusGConnection *connection,
                                                          const char *path);
 
@@ -47,9 +48,9 @@

Object Hierarchy

-  GObject
-   +----NMObject
-         +----NMDevice
+  GObject
+   +----NMObject
+         +----NMDevice
                +----NMSerialDevice
                      +----NMGsmDevice
 
@@ -68,6 +69,24 @@


+
+

NMGsmDeviceClass

+
typedef struct {
+	NMSerialDeviceClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMGsmDeviceClass;
+
+

+

+
+

nm_gsm_device_new ()

NMGsmDevice *       nm_gsm_device_new                   (DBusGConnection *connection,
@@ -100,6 +119,6 @@ Creates a new 
 
+          Generated by GTK-Doc V1.15
\ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP4Config.html b/docs/libnm-glib/html/NMIP4Config.html index d8b6411e..391278d1 100644 --- a/docs/libnm-glib/html/NMIP4Config.html +++ b/docs/libnm-glib/html/NMIP4Config.html @@ -3,18 +3,18 @@ NMIP4Config - + - + - + - + @@ -42,38 +42,39 @@

Object Hierarchy

-  GObject
-   +----NMObject
+  GObject
+   +----NMObject
          +----NMIP4Config
 

Properties

-  "addresses"                gpointer              : Read
+  "addresses"                gpointer              : Read
   "domains"                  nm-string-array*      : Read
-  "hostname"                 gchar*                : Read
+  "hostname"                 gchar*                : Read
   "nameservers"              nm-uint-array*        : Read
-  "routes"                   gpointer              : Read
+  "routes"                   gpointer              : Read
   "wins-servers"             nm-uint-array*        : Read
 
@@ -91,6 +92,24 @@ const
+
+

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"
@@ -141,7 +160,7 @@ const 
 

nm_ip4_config_new ()

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

Creates a new NMIP4Config. @@ -170,7 +189,7 @@ Creates a new

nm_ip4_config_get_addresses ()

-
const GSList *      nm_ip4_config_get_addresses         (NMIP4Config *config);
+
const GSList *      nm_ip4_config_get_addresses         (NMIP4Config *config);

Gets the IP4 addresses (containing the address, prefix, and gateway).

@@ -184,7 +203,7 @@ Gets the IP4 addresses (containing the address, prefix, and gateway).
- @@ -217,7 +236,7 @@ DEPRECATED. Don't use.

nm_ip4_config_get_nameservers ()

-
const GArray *      nm_ip4_config_get_nameservers       (NMIP4Config *config);
+
const GArray *      nm_ip4_config_get_nameservers       (NMIP4Config *config);

Gets the domain name servers (DNS).

@@ -231,7 +250,7 @@ Gets the domain name servers (DNS).
- @@ -241,7 +260,7 @@ configuration and must not be modified.

nm_ip4_config_get_domains ()

-
const GPtrArray *   nm_ip4_config_get_domains           (NMIP4Config *config);
+
const GPtrArray *   nm_ip4_config_get_domains           (NMIP4Config *config);

Gets the domain names.

@@ -255,7 +274,7 @@ Gets the domain names.
- @@ -265,7 +284,7 @@ internal copy used by the configuration, and must not be modified.

nm_ip4_config_get_routes ()

-
const GSList *      nm_ip4_config_get_routes            (NMIP4Config *config);
+
const GSList *      nm_ip4_config_get_routes            (NMIP4Config *config);

Gets the routes.

@@ -279,7 +298,7 @@ Gets the routes.
- @@ -289,7 +308,7 @@ internal copy used by the configuration, and must not be modified.

nm_ip4_config_get_wins_servers ()

-
const GArray *      nm_ip4_config_get_wins_servers      (NMIP4Config *config);
+
const GArray *      nm_ip4_config_get_wins_servers      (NMIP4Config *config);

Gets the Windows Internet Name Service servers (WINS).

@@ -303,7 +322,7 @@ Gets the Windows Internet Name Service servers (WINS).
- @@ -315,9 +334,9 @@ configuration and must not be modified.

Property Details

The "addresses" property

-
  "addresses"                gpointer              : Read
+
  "addresses"                gpointer              : Read

-The GPtrArray containing NMSettingIP4Addresses of the configuration. +The GPtrArray containing NMSettingIP4Addresses of the configuration.


@@ -325,13 +344,13 @@ The

The "domains" property

  "domains"                  nm-string-array*      : Read

-The GPtrArray containing domain strings of the configuration. +The GPtrArray containing domain strings of the configuration.


The "hostname" property

-
  "hostname"                 gchar*                : Read
+
  "hostname"                 gchar*                : Read

DEPRECATED. Don't use.

@@ -342,15 +361,15 @@ DEPRECATED. Don't use.

The "nameservers" property

  "nameservers"              nm-uint-array*        : Read

-The GArray containing name servers (guint32es) of the configuration. +The GArray containing name servers (guint32es) of the configuration.


The "routes" property

-
  "routes"                   gpointer              : Read
+
  "routes"                   gpointer              : Read

-The GPtrArray containing NMSettingIP4Routes of the configuration. +The GPtrArray containing NMSettingIP4Routes of the configuration.


@@ -358,13 +377,13 @@ The

The "wins-servers" property

  "wins-servers"             nm-uint-array*        : Read

-The GArray containing WINS servers (guint32es) of the configuration. +The GArray containing WINS servers (guint32es) of the configuration.

+ Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMIP6Config.html b/docs/libnm-glib/html/NMIP6Config.html index 738699ba..d156ff91 100644 --- a/docs/libnm-glib/html/NMIP6Config.html +++ b/docs/libnm-glib/html/NMIP6Config.html @@ -3,12 +3,12 @@ NMIP6Config - + - + @@ -42,23 +42,24 @@

Object Hierarchy

-  GObject
-   +----NMObject
+  GObject
+   +----NMObject
          +----NMIP6Config
 
@@ -85,6 +86,24 @@ const +

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"
@@ -119,7 +138,7 @@ const 
 

nm_ip6_config_new ()

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

Creates a new NMIP6Config. @@ -148,7 +167,7 @@ Creates a new

nm_ip6_config_get_addresses ()

-
const GSList *      nm_ip6_config_get_addresses         (NMIP6Config *config);
+
const GSList *      nm_ip6_config_get_addresses         (NMIP6Config *config);

Gets the IP6 addresses (containing the address, prefix, and gateway).

@@ -162,7 +181,7 @@ Gets the IP6 addresses (containing the address, prefix, and gateway).
- @@ -172,7 +191,7 @@ used by the configuration and must not be modified.

nm_ip6_config_get_nameservers ()

-
const GSList *      nm_ip6_config_get_nameservers       (NMIP6Config *config);
+
const GSList *      nm_ip6_config_get_nameservers       (NMIP6Config *config);

Gets the domain name servers (DNS).

@@ -186,7 +205,7 @@ Gets the domain name servers (DNS).
- @@ -197,7 +216,7 @@ used by the configuration and must not be modified.

nm_ip6_config_get_domains ()

-
const GPtrArray *   nm_ip6_config_get_domains           (NMIP6Config *config);
+
const GPtrArray *   nm_ip6_config_get_domains           (NMIP6Config *config);

Gets the domain names.

@@ -211,7 +230,7 @@ Gets the domain names.
- @@ -221,7 +240,7 @@ internal copy used by the configuration, and must not be modified.

nm_ip6_config_get_routes ()

-
const GSList *      nm_ip6_config_get_routes            (NMIP6Config *config);
+
const GSList *      nm_ip6_config_get_routes            (NMIP6Config *config);

Gets the routes.

@@ -235,7 +254,7 @@ Gets the routes.
- @@ -249,8 +268,8 @@ internal copy used by the configuration, and must not be modified.

The "addresses" property

  "addresses"                nm-ip6-address-object-array*  : Read

-The GPtrArray containing the IPv6 addresses; use -nm_utils_ip6_addresses_from_gvalue() to return a GSList of +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.

@@ -259,7 +278,7 @@ The

The "domains" property

  "domains"                  nm-string-array*      : Read

-The GPtrArray containing domain strings of the configuration. +The GPtrArray containing domain strings of the configuration.


@@ -267,7 +286,7 @@ The

The "nameservers" property

  "nameservers"              nm-ip6-address-array*  : Read

-The GPtrArray containing elements of type 'struct ip6_addr' which +The GPtrArray containing elements of type 'struct ip6_addr' which contain the addresses of nameservers of the configuration.

@@ -276,8 +295,8 @@ contain the addresses of nameservers of the configuration.

The "routes" property

  "routes"                   nm-ip6-route-object-array*  : Read

-The GPtrArray containing the IPv6 routes; use -nm_utils_ip6_routes_from_gvalue() to return a GSList of +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.

@@ -285,6 +304,6 @@ The + Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/NMObject.html b/docs/libnm-glib/html/NMObject.html new file mode 100644 index 00000000..4cabb746 --- /dev/null +++ b/docs/libnm-glib/html/NMObject.html @@ -0,0 +1,189 @@ + + + + +NMObject + + + + + + + + + +
+ + + + + + + + + +
+
+
+ + +
+

NMObject

+

NMObject

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMObject
+         +----NMClient
+         +----NMDevice
+         +----NMAccessPoint
+         +----NMIP4Config
+         +----NMActiveConnection
+         +----NMDHCP4Config
+         +----NMIP6Config
+         +----NMDHCP6Config
+
+
+
+

Properties

+
+  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only
+  "dbus-path"                gchar*                : Read / Write / Construct Only
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_OBJECT_DBUS_CONNECTION

+
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
+
+

+

+
+
+
+

NM_OBJECT_DBUS_PATH

+
#define NM_OBJECT_DBUS_PATH "dbus-path"
+
+

+

+
+
+
+

NMObject

+
typedef struct _NMObject NMObject;
+

+

+
+
+
+

NMObjectClass

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

+

+
+
+
+

nm_object_get_connection ()

+
DBusGConnection *   nm_object_get_connection            (NMObject *object);
+

+Gets the NMObject's DBusGConnection. +

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

object :

a NMObject +

Returns :

the connection +
+
+
+
+

nm_object_get_path ()

+
const char *        nm_object_get_path                  (NMObject *object);
+

+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
+

Connection.

+
+
+
+

The "dbus-path" property

+
  "dbus-path"                gchar*                : Read / Write / Construct Only
+

DBus Object Path.

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/NMSerialDevice.html b/docs/libnm-glib/html/NMSerialDevice.html index a4354823..1e2202d2 100644 --- a/docs/libnm-glib/html/NMSerialDevice.html +++ b/docs/libnm-glib/html/NMSerialDevice.html @@ -3,18 +3,18 @@ NMSerialDevice - + - + - + - + @@ -42,16 +42,17 @@

Object Hierarchy

-  GObject
-   +----NMObject
-         +----NMDevice
+  GObject
+   +----NMObject
+         +----NMDevice
                +----NMSerialDevice
                      +----NMGsmDevice
                      +----NMCdmaDevice
@@ -77,9 +78,30 @@
 


+
+

NMSerialDeviceClass

+
typedef struct {
+	NMDeviceClass parent;
+
+	/* Signals */
+	void (*ppp_stats) (NMSerialDevice *self, guint32 in_bytes, guint32 out_bytes);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMSerialDeviceClass;
+
+

+

+
+

nm_serial_device_get_bytes_received ()

-
guint32             nm_serial_device_get_bytes_received (NMSerialDevice *self);
+
guint32             nm_serial_device_get_bytes_received (NMSerialDevice *self);

Gets the amount of bytes received by the serial device. This counter is reset when the device is activated. @@ -103,7 +125,7 @@ This counter is reset when the device is activated.


nm_serial_device_get_bytes_sent ()

-
guint32             nm_serial_device_get_bytes_sent     (NMSerialDevice *self);
+
guint32             nm_serial_device_get_bytes_sent     (NMSerialDevice *self);

Gets the amount of bytes sent by the serial device. This counter is reset when the device is activated. @@ -130,11 +152,11 @@ This counter is reset when the device is activated.

The "ppp-stats" signal

void                user_function                      (NMSerialDevice *device,
-                                                        guint           in_bytes,
-                                                        guint           out_bytes,
-                                                        gpointer        user_data)      : Run First
+ guint in_bytes, + guint out_bytes, + gpointer user_data) : Run First

-Notifies that a NMAccessPoint is added to the wifi device. +Notifies that a NMAccessPoint is added to the wifi device.

@@ -165,6 +187,6 @@ Notifies that a
- Generated by GTK-Doc V1.14 + Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/ch01.html b/docs/libnm-glib/html/ch01.html index c795714a..ffab2062 100644 --- a/docs/libnm-glib/html/ch01.html +++ b/docs/libnm-glib/html/ch01.html @@ -3,12 +3,12 @@ libnm-glib Objects - + - - + + @@ -17,26 +17,26 @@
- +
  Home libnm-glib Reference ManualNextNext

-libnm-glib Objects

+libnm-glib Objects
+ Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/index.html b/docs/libnm-glib/html/index.html index 5ff93e32..a8362fcc 100644 --- a/docs/libnm-glib/html/index.html +++ b/docs/libnm-glib/html/index.html @@ -3,10 +3,10 @@ libnm-glib Reference Manual - + - + @@ -26,19 +26,19 @@
libnm-glib Objects
-NMClient +NMClient
-NMActiveConnection +NMActiveConnection
-NMDevice +NMDevice
-NMDeviceEthernet +NMDeviceEthernet
-NMDeviceWifi +NMDeviceWifi
NMSerialDevice @@ -50,10 +50,10 @@ NMCdmaDevice
-NMDeviceBt +NMDeviceBt
-NMAccessPoint +NMAccessPoint
NMIP4Config @@ -71,46 +71,46 @@ NMExportedConnection
-NMObject +NMObject
NMRemoteConnection
-NMRemoteSettings +NMRemoteSettings
NMRemoteSettingsSystem
-nm-settings-connection-interface +nm-settings-connection-interface
-nm-settings-interface +nm-settings-interface
-NMSettingsService +NMSettingsService
-nm-settings-system-interface +nm-settings-system-interface
nm-types
-NMVPNConnection +NMVPNConnection
-NMVPNPlugin +NMVPNPlugin
-nm-vpn-plugin-ui-interface +nm-vpn-plugin-ui-interface
+ Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/index.sgml b/docs/libnm-glib/html/index.sgml index 810b8b0e..0b929b1c 100644 --- a/docs/libnm-glib/html/index.sgml +++ b/docs/libnm-glib/html/index.sgml @@ -1,180 +1,199 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -182,6 +201,7 @@ + @@ -192,6 +212,7 @@ + @@ -199,56 +220,58 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -256,6 +279,7 @@ + @@ -283,6 +307,7 @@ + @@ -304,6 +329,7 @@ + @@ -316,6 +342,7 @@ + @@ -325,100 +352,102 @@ + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -437,62 +466,63 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-glib/html/libnm-glib-NMDeviceBt.html b/docs/libnm-glib/html/libnm-glib-NMDeviceBt.html new file mode 100644 index 00000000..91c5f6fb --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMDeviceBt.html @@ -0,0 +1,215 @@ + + + + +NMDeviceBt + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMDeviceBt

+

NMDeviceBt

+
+
+

Synopsis

+
#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);
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_DEVICE_BT_HW_ADDRESS

+
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
+
+

+

+
+
+
+

NM_DEVICE_BT_NAME

+
#define NM_DEVICE_BT_NAME         "name"
+
+

+

+
+
+
+

NM_DEVICE_BT_CAPABILITIES

+
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
+
+

+

+
+
+
+

NMDeviceBt

+
typedef struct {
+	NMDevice parent;
+} 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. +

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

connection :

the DBusGConnection +

path :

the DBus object path of the device +

Returns :

a new device +
+
+
+
+

nm_device_bt_get_hw_address ()

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

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

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

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. +

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

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. +

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

device :

a NMDeviceBt +

Returns :

a combination of NMBluetoothCapabilities +
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMExportedConnection.html b/docs/libnm-glib/html/libnm-glib-NMExportedConnection.html index 58492295..a93169af 100644 --- a/docs/libnm-glib/html/libnm-glib-NMExportedConnection.html +++ b/docs/libnm-glib/html/libnm-glib-NMExportedConnection.html @@ -3,12 +3,12 @@ NMExportedConnection - + - - + + @@ -18,7 +18,7 @@ Up Home libnm-glib Reference Manual -Next +Next Top @@ -38,6 +38,7 @@ @@ -58,6 +59,40 @@


+
+

NMExportedConnectionClass

+
typedef struct {
+	NMConnectionClass parent;
+
+	GHashTable * (*get_settings) (NMExportedConnection *self,
+	                              GError **error);
+
+	void (*update) (NMExportedConnection *self,
+	                GHashTable *new_settings,
+	                DBusGMethodInvocation *context);
+
+	void (*delete) (NMExportedConnection *self,
+	                DBusGMethodInvocation *context);
+
+	void (*get_secrets) (NMExportedConnection *self,
+	                     const gchar *setting_name,
+	                     const gchar **hints,
+	                     gboolean request_new,
+	                     DBusGMethodInvocation *context);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMExportedConnectionClass;
+
+

+

+
+

nm_exported_connection_new ()

NMExportedConnection * nm_exported_connection_new       (NMConnectionScope scope);
@@ -74,7 +109,7 @@ Creates a new object representing the remote connection.

Returns :

- the new exported connection object on success, or NULL on failure + the new exported connection object on success, or NULL on failure @@ -84,6 +119,6 @@ Creates a new object representing the remote connection.
+ Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMRemoteConnection.html b/docs/libnm-glib/html/libnm-glib-NMRemoteConnection.html index 9bac6e61..74a87b65 100644 --- a/docs/libnm-glib/html/libnm-glib-NMRemoteConnection.html +++ b/docs/libnm-glib/html/libnm-glib-NMRemoteConnection.html @@ -3,22 +3,22 @@ NMRemoteConnection - + - - - + + + - + - + - @@ -99,6 +118,6 @@ Creates a new object representing the remote connection. + Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMRemoteSettings.html b/docs/libnm-glib/html/libnm-glib-NMRemoteSettings.html new file mode 100644 index 00000000..7ea15083 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMRemoteSettings.html @@ -0,0 +1,142 @@ + + + + +NMRemoteSettings + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMRemoteSettings

+

NMRemoteSettings

+
+ +
+

Description

+

+

+
+
+

Details

+
+

NM_REMOTE_SETTINGS_BUS

+
#define NM_REMOTE_SETTINGS_BUS "bus"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_SCOPE

+
#define NM_REMOTE_SETTINGS_SCOPE "scope"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_SERVICE_RUNNING

+
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+
+

+

+
+
+
+

NMRemoteSettings

+
typedef struct {
+	GObject parent;
+} NMRemoteSettings;
+
+

+

+
+
+
+

NMRemoteSettingsClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMRemoteSettingsClass;
+
+

+

+
+
+
+

nm_remote_settings_new ()

+
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus,
+                                                         NMConnectionScope scope);
+

+Creates a new object representing the remote settings service. +

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

bus :

a valid and connected D-Bus connection +

scope :

the settings service scope (either user or system) +

Returns :

the new remote settings object on success, or NULL on failure +
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMRemoteSettingsSystem.html b/docs/libnm-glib/html/libnm-glib-NMRemoteSettingsSystem.html index c84d4665..5eb2e970 100644 --- a/docs/libnm-glib/html/libnm-glib-NMRemoteSettingsSystem.html +++ b/docs/libnm-glib/html/libnm-glib-NMRemoteSettingsSystem.html @@ -3,22 +3,22 @@ NMRemoteSettingsSystem - + - - - + + + - + - + - @@ -84,6 +103,6 @@ Creates a new object representing the remote system settings service. + Generated by GTK-Doc V1.15 \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMSettings.html b/docs/libnm-glib/html/libnm-glib-NMSettings.html new file mode 100644 index 00000000..77b1e594 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMSettings.html @@ -0,0 +1,314 @@ + + + + +nm-settings-interface + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-settings-interface

+

nm-settings-interface

+
+ +
+

Description

+

+

+
+
+

Details

+
+

enum NMSettingsInterfaceError

+
typedef enum {
+	NM_SETTINGS_INTERFACE_ERROR_INVALID_CONNECTION = 0,
+	NM_SETTINGS_INTERFACE_ERROR_READ_ONLY_CONNECTION,
+	NM_SETTINGS_INTERFACE_ERROR_INTERNAL_ERROR,
+	NM_SETTINGS_INTERFACE_ERROR_SECRETS_UNAVAILABLE,
+	NM_SETTINGS_INTERFACE_ERROR_SECRETS_REQUEST_CANCELED,
+	NM_SETTINGS_INTERFACE_ERROR_PERMISSION_DENIED,
+	NM_SETTINGS_INTERFACE_ERROR_INVALID_SETTING,
+} NMSettingsInterfaceError;
+
+

+

+
+
+
+

NM_SETTINGS_INTERFACE_ERROR

+
#define NM_SETTINGS_INTERFACE_ERROR (nm_settings_interface_error_quark ())
+
+

+

+
+
+
+

nm_settings_interface_error_quark ()

+
GQuark              nm_settings_interface_error_quark   (void);
+

+Setting error quark. +

+
++ + + + +

Returns :

the setting error quark +
+
+
+
+

NM_TYPE_SETTINGS_INTERFACE_ERROR

+
#define NM_TYPE_SETTINGS_INTERFACE_ERROR (nm_settings_interface_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTINGS_INTERFACE_NEW_CONNECTION

+
#define NM_SETTINGS_INTERFACE_NEW_CONNECTION   "new-connection"
+
+

+

+
+
+
+

NM_SETTINGS_INTERFACE_CONNECTIONS_READ

+
#define NM_SETTINGS_INTERFACE_CONNECTIONS_READ "connections-read"
+
+

+

+
+
+
+

NMSettingsInterface

+
typedef struct {
+	GTypeInterface g_iface;
+
+	/* Methods */
+	/* Returns a list of objects implementing NMSettingsConnectionInterface */
+	GSList * (*list_connections) (NMSettingsInterface *settings);
+
+	NMSettingsConnectionInterface * (*get_connection_by_path) (NMSettingsInterface *settings,
+	                                                           const char *path);
+
+	gboolean (*add_connection) (NMSettingsInterface *settings,
+	                            NMConnection *connection,
+	                            NMSettingsAddConnectionFunc callback,
+	                            gpointer user_data);
+
+	/* Signals */
+	void (*new_connection) (NMSettingsInterface *settings,
+	                        NMSettingsConnectionInterface *connection);
+
+	void (*connections_read) (NMSettingsInterface *settings);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMSettingsInterface;
+
+

+

+
+
+
+

NMSettingsAddConnectionFunc ()

+
void                (*NMSettingsAddConnectionFunc)      (NMSettingsInterface *settings,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

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

settings :

+

error :

+

user_data :

+
+
+
+
+

nm_settings_interface_get_type ()

+
GType               nm_settings_interface_get_type      (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_settings_interface_list_connections ()

+
GSList *            nm_settings_interface_list_connections
+                                                        (NMSettingsInterface *settings);
+

+

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

settings :

+

Returns :

+
+
+
+
+

nm_settings_interface_get_connection_by_path ()

+
NMSettingsConnectionInterface * nm_settings_interface_get_connection_by_path
+                                                        (NMSettingsInterface *settings,
+                                                         const char *path);
+

+

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

settings :

+

path :

+

Returns :

+
+
+
+
+

nm_settings_interface_add_connection ()

+
gboolean            nm_settings_interface_add_connection
+                                                        (NMSettingsInterface *settings,
+                                                         NMConnection *connection,
+                                                         NMSettingsAddConnectionFunc callback,
+                                                         gpointer user_data);
+

+Requests that the settings service add the given settings to a new connection. +

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

settings :

a object implementing NMSettingsInterface +

connection :

the settings to add; note that this object's settings will be + added, not the object itself +

callback :

callback to be called when the add operation completes +

user_data :

caller-specific data passed to callback +

Returns :

TRUE if the request was successful, FALSE if it failed +
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMSettingsConnection.html b/docs/libnm-glib/html/libnm-glib-NMSettingsConnection.html new file mode 100644 index 00000000..68420b00 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMSettingsConnection.html @@ -0,0 +1,386 @@ + + + + +nm-settings-connection-interface + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-settings-connection-interface

+

nm-settings-connection-interface

+
+ +
+

Description

+

+

+
+
+

Details

+
+

NM_SETTINGS_CONNECTION_INTERFACE_UPDATED

+
#define NM_SETTINGS_CONNECTION_INTERFACE_UPDATED               "updated"
+
+

+

+
+
+
+

NM_SETTINGS_CONNECTION_INTERFACE_REMOVED

+
#define NM_SETTINGS_CONNECTION_INTERFACE_REMOVED               "removed"
+
+

+

+
+
+
+

NMSettingsConnectionInterface

+
typedef struct {
+	GTypeInterface g_iface;
+
+	/* Methods */
+	gboolean (*update) (NMSettingsConnectionInterface *connection,
+	                    NMSettingsConnectionInterfaceUpdateFunc callback,
+	                    gpointer user_data);
+
+	gboolean (*delete) (NMSettingsConnectionInterface *connection,
+	                    NMSettingsConnectionInterfaceDeleteFunc callback,
+	                    gpointer user_data);
+
+	gboolean (*get_secrets) (NMSettingsConnectionInterface *connection,
+	                         const char *setting_name,
+                             const char **hints,
+                             gboolean request_new,
+                             NMSettingsConnectionInterfaceGetSecretsFunc callback,
+                             gpointer user_data);
+
+	void (*emit_updated) (NMSettingsConnectionInterface *connection);
+
+	/* Signals */
+	/* 'new_settings' hash should *not* contain secrets */
+	void (*updated) (NMSettingsConnectionInterface *connection,
+	                 GHashTable *new_settings);
+
+	void (*removed) (NMSettingsConnectionInterface *connection);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMSettingsConnectionInterface;
+
+

+

+
+
+
+

NMSettingsConnectionInterfaceUpdateFunc ()

+
void                (*NMSettingsConnectionInterfaceUpdateFunc)
+                                                        (NMSettingsConnectionInterface *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

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

connection :

+

error :

+

user_data :

+
+
+
+
+

NMSettingsConnectionInterfaceDeleteFunc ()

+
void                (*NMSettingsConnectionInterfaceDeleteFunc)
+                                                        (NMSettingsConnectionInterface *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

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

connection :

+

error :

+

user_data :

+
+
+
+
+

NMSettingsConnectionInterfaceGetSecretsFunc ()

+
void                (*NMSettingsConnectionInterfaceGetSecretsFunc)
+                                                        (NMSettingsConnectionInterface *connection,
+                                                         GHashTable *secrets,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

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

connection :

+

secrets :

+

error :

+

user_data :

+
+
+
+
+

nm_settings_connection_interface_update ()

+
gboolean            nm_settings_connection_interface_update
+                                                        (NMSettingsConnectionInterface *connection,
+                                                         NMSettingsConnectionInterfaceUpdateFunc callback,
+                                                         gpointer user_data);
+

+Update the connection with current settings and properties. +

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

connection :

an object implementing NMSettingsConnectionInterface +

callback :

a function to be called when the update completes +

user_data :

caller-specific data to be passed to callback +

Returns :

TRUE on success, FALSE on failure +
+
+
+
+

nm_settings_connection_interface_delete ()

+
gboolean            nm_settings_connection_interface_delete
+                                                        (NMSettingsConnectionInterface *connection,
+                                                         NMSettingsConnectionInterfaceDeleteFunc callback,
+                                                         gpointer user_data);
+

+Delete the connection. +

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

connection :

a objecting implementing NMSettingsConnectionInterface +

callback :

a function to be called when the delete completes +

user_data :

caller-specific data to be passed to callback +

Returns :

TRUE on success, FALSE on failure +
+
+
+
+

nm_settings_connection_interface_get_secrets ()

+
gboolean            nm_settings_connection_interface_get_secrets
+                                                        (NMSettingsConnectionInterface *connection,
+                                                         const char *setting_name,
+                                                         const char **hints,
+                                                         gboolean request_new,
+                                                         NMSettingsConnectionInterfaceGetSecretsFunc callback,
+                                                         gpointer user_data);
+

+Request the connection's secrets. +

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

connection :

a object implementing NMSettingsConnectionInterface +

setting_name :

the NMSetting object name to get secrets for +

hints :

+NMSetting key names to get secrets for (optional) +

request_new :

hint that new secrets (instead of cached or stored secrets) + should be returned +

callback :

a function to be called when the update completes +

user_data :

caller-specific data to be passed to callback +

Returns :

TRUE on success, FALSE on failure +
+
+
+
+

nm_settings_connection_interface_emit_updated ()

+
void                nm_settings_connection_interface_emit_updated
+                                                        (NMSettingsConnectionInterface *connection);
+

+

+
++ + + + +

connection :

+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMSettingsService.html b/docs/libnm-glib/html/libnm-glib-NMSettingsService.html new file mode 100644 index 00000000..817c78e4 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMSettingsService.html @@ -0,0 +1,189 @@ + + + + +NMSettingsService + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingsService

+

NMSettingsService

+
+ +
+

Description

+

+

+
+
+

Details

+
+

NM_SETTINGS_SERVICE_BUS

+
#define NM_SETTINGS_SERVICE_BUS "bus"
+
+

+

+
+
+
+

NM_SETTINGS_SERVICE_SCOPE

+
#define NM_SETTINGS_SERVICE_SCOPE "scope"
+
+

+

+
+
+
+

NMSettingsService

+
typedef struct {
+	GObject parent;
+} NMSettingsService;
+
+

+

+
+
+
+

NMSettingsServiceClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* Returned list must contain all NMExportedConnection objects exported
+	 * by the settings service.  The list (but not the NMExportedConnection
+	 * objects) will be freed by caller.
+	 */
+	GSList * (*list_connections) (NMSettingsService *self);
+
+	void (*add_connection) (NMSettingsService *self,
+	                        NMConnection *connection,
+	                        DBusGMethodInvocation *context, /* Only present for D-Bus calls */
+	                        NMSettingsAddConnectionFunc callback,
+	                        gpointer user_data);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMSettingsServiceClass;
+
+

+

+
+
+
+

nm_settings_service_get_connection_by_path ()

+
NMExportedConnection * nm_settings_service_get_connection_by_path
+                                                        (NMSettingsService *self,
+                                                         const char *path);
+

+

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

self :

+

path :

+

Returns :

+
+
+
+
+

nm_settings_service_export ()

+
void                nm_settings_service_export          (NMSettingsService *self);
+

+

+
++ + + + +

self :

+
+
+
+
+

nm_settings_service_export_connection ()

+
void                nm_settings_service_export_connection
+                                                        (NMSettingsService *self,
+                                                         NMSettingsConnectionInterface *exported);
+

+

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

self :

+

exported :

+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html b/docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html new file mode 100644 index 00000000..c5e754f5 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMSettingsSystem.html @@ -0,0 +1,305 @@ + + + + +nm-settings-system-interface + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-settings-system-interface

+

nm-settings-system-interface

+
+ +
+

Description

+

+

+
+
+

Details

+
+

enum NMSettingsSystemPermissions

+
typedef enum {
+	NM_SETTINGS_SYSTEM_PERMISSION_NONE = 0x0,
+	NM_SETTINGS_SYSTEM_PERMISSION_CONNECTION_MODIFY = 0x1,
+	NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARE_PROTECTED = 0x2,
+	NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARE_OPEN = 0x4,
+	NM_SETTINGS_SYSTEM_PERMISSION_HOSTNAME_MODIFY = 0x8
+} NMSettingsSystemPermissions;
+
+

+

+
+
+
+

NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME

+
#define NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME          "hostname"
+
+

+

+
+
+
+

NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY

+
#define NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY        "can-modify"
+
+

+

+
+
+
+

NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS

+
#define NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS "check-permissions"
+
+

+

+
+
+
+

enum NMSettingsSystemInterfaceProp

+
typedef enum {
+	NM_SETTINGS_SYSTEM_INTERFACE_PROP_FIRST = 0x1000,
+
+	NM_SETTINGS_SYSTEM_INTERFACE_PROP_HOSTNAME = NM_SETTINGS_SYSTEM_INTERFACE_PROP_FIRST,
+	NM_SETTINGS_SYSTEM_INTERFACE_PROP_CAN_MODIFY
+} NMSettingsSystemInterfaceProp;
+
+

+

+
+
+
+

NMSettingsSystemInterface

+
typedef struct {
+	GTypeInterface g_iface;
+
+	/* Methods */
+	gboolean (*save_hostname) (NMSettingsSystemInterface *settings,
+	                           const char *hostname,
+	                           NMSettingsSystemSaveHostnameFunc callback,
+	                           gpointer user_data);
+
+	gboolean (*get_permissions) (NMSettingsSystemInterface *settings,
+	                             NMSettingsSystemGetPermissionsFunc callback,
+	                             gpointer user_data);
+
+	/* Signals */
+	void (*check_permissions) (NMSettingsSystemInterface *settings);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMSettingsSystemInterface;
+
+

+

+
+
+
+

NMSettingsSystemSaveHostnameFunc ()

+
void                (*NMSettingsSystemSaveHostnameFunc) (NMSettingsSystemInterface *settings,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

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

settings :

+

error :

+

user_data :

+
+
+
+
+

NMSettingsSystemGetPermissionsFunc ()

+
void                (*NMSettingsSystemGetPermissionsFunc)
+                                                        (NMSettingsSystemInterface *settings,
+                                                         NMSettingsSystemPermissions permissions,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

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

settings :

+

permissions :

+

error :

+

user_data :

+
+
+
+
+

nm_settings_system_interface_save_hostname ()

+
gboolean            nm_settings_system_interface_save_hostname
+                                                        (NMSettingsSystemInterface *settings,
+                                                         const char *hostname,
+                                                         NMSettingsSystemSaveHostnameFunc callback,
+                                                         gpointer user_data);
+

+Requests that the machine's persistent hostname be set to the specified value +or cleared. +

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

settings :

a object implementing NMSettingsSystemInterface +

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 +

user_data :

caller-specific data passed to callback +

Returns :

TRUE if the request was successful, FALSE if it failed +
+
+
+
+

nm_settings_system_interface_get_permissions ()

+
gboolean            nm_settings_system_interface_get_permissions
+                                                        (NMSettingsSystemInterface *settings,
+                                                         NMSettingsSystemGetPermissionsFunc callback,
+                                                         gpointer user_data);
+

+Requests an indication of the operations the caller is permitted to perform +including those that may require authorization. +

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

settings :

a object implementing NMSettingsSystemInterface +

callback :

callback to be called when the permissions operation completes +

user_data :

caller-specific data passed to callback +

Returns :

TRUE if the request was successful, FALSE if it failed +
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMVPNConnection.html b/docs/libnm-glib/html/libnm-glib-NMVPNConnection.html new file mode 100644 index 00000000..f1dbf961 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMVPNConnection.html @@ -0,0 +1,183 @@ + + + + +NMVPNConnection + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMVPNConnection

+

NMVPNConnection

+
+ +
+

Description

+

+

+
+
+

Details

+
+

NM_VPN_CONNECTION_VPN_STATE

+
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
+
+

+

+
+
+
+

NM_VPN_CONNECTION_BANNER

+
#define NM_VPN_CONNECTION_BANNER "banner"
+
+

+

+
+
+
+

NMVPNConnection

+
typedef struct {
+	NMActiveConnection parent;
+} 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;
+
+

+

+
+
+
+

nm_vpn_connection_new ()

+
GObject *           nm_vpn_connection_new               (DBusGConnection *dbus_connection,
+                                                         const char *path);
+

+

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

dbus_connection :

+

path :

+

Returns :

+
+
+
+
+

nm_vpn_connection_get_vpn_state ()

+
NMVPNConnectionState  nm_vpn_connection_get_vpn_state   (NMVPNConnection *vpn);
+

+

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

vpn :

+

Returns :

+
+
+
+
+

nm_vpn_connection_get_banner ()

+
const char *        nm_vpn_connection_get_banner        (NMVPNConnection *vpn);
+

+

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

vpn :

+

Returns :

+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html new file mode 100644 index 00000000..49d9b816 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMVPNPlugin.html @@ -0,0 +1,375 @@ + + + + +NMVPNPlugin + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMVPNPlugin

+

NMVPNPlugin

+
+
+

Synopsis

+
#define             NM_VPN_PLUGIN_DBUS_SERVICE_NAME
+#define             NM_VPN_PLUGIN_STATE
+enum                NMVPNPluginError;
+#define             NM_VPN_PLUGIN_ERROR
+#define             NM_TYPE_VPN_PLUGIN_ERROR
+                    NMVPNPlugin;
+                    NMVPNPluginClass;
+GQuark              nm_vpn_plugin_error_quark           (void);
+GType               nm_vpn_plugin_error_get_type        (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_ip4_config        (NMVPNPlugin *plugin,
+                                                         GHashTable *ip4_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,
+	NM_VPN_PLUGIN_ERROR_STARTING_IN_PROGRESS,
+	NM_VPN_PLUGIN_ERROR_ALREADY_STARTED,
+	NM_VPN_PLUGIN_ERROR_STOPPING_IN_PROGRESS,
+	NM_VPN_PLUGIN_ERROR_ALREADY_STOPPED,
+	NM_VPN_PLUGIN_ERROR_WRONG_STATE,
+	NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,
+	NM_VPN_PLUGIN_ERROR_LAUNCH_FAILED,
+	NM_VPN_PLUGIN_ERROR_CONNECTION_INVALID,
+} NMVPNPluginError;
+
+

+

+
+
+
+

NM_VPN_PLUGIN_ERROR

+
#define NM_VPN_PLUGIN_ERROR      (nm_vpn_plugin_error_quark ())
+
+

+

+
+
+
+

NM_TYPE_VPN_PLUGIN_ERROR

+
#define NM_TYPE_VPN_PLUGIN_ERROR (nm_vpn_plugin_error_get_type ()) 
+
+

+

+
+
+
+

NMVPNPlugin

+
typedef struct {
+	GObject parent;
+} NMVPNPlugin;
+
+

+

+
+
+
+

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);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+} NMVPNPluginClass;
+
+

+

+
+
+
+

nm_vpn_plugin_error_quark ()

+
GQuark              nm_vpn_plugin_error_quark           (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_vpn_plugin_error_get_type ()

+
GType               nm_vpn_plugin_error_get_type        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_vpn_plugin_get_connection ()

+
DBusGConnection *   nm_vpn_plugin_get_connection        (NMVPNPlugin *plugin);
+

+

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

plugin :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_get_state ()

+
NMVPNServiceState   nm_vpn_plugin_get_state             (NMVPNPlugin *plugin);
+

+

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

plugin :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_set_state ()

+
void                nm_vpn_plugin_set_state             (NMVPNPlugin *plugin,
+                                                         NMVPNServiceState state);
+

+

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

plugin :

+

state :

+
+
+
+
+

nm_vpn_plugin_set_login_banner ()

+
void                nm_vpn_plugin_set_login_banner      (NMVPNPlugin *plugin,
+                                                         const char *banner);
+

+

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

plugin :

+

banner :

+
+
+
+
+

nm_vpn_plugin_failure ()

+
void                nm_vpn_plugin_failure               (NMVPNPlugin *plugin,
+                                                         NMVPNPluginFailure reason);
+

+

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

plugin :

+

reason :

+
+
+
+
+

nm_vpn_plugin_set_ip4_config ()

+
void                nm_vpn_plugin_set_ip4_config        (NMVPNPlugin *plugin,
+                                                         GHashTable *ip4_config);
+

+

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

plugin :

+

ip4_config :

+
+
+
+
+

nm_vpn_plugin_disconnect ()

+
gboolean            nm_vpn_plugin_disconnect            (NMVPNPlugin *plugin,
+                                                         GError **err);
+

+

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

plugin :

+

err :

+

Returns :

+
+
+
+
+ + + \ 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 new file mode 100644 index 00000000..fdf3e5e8 --- /dev/null +++ b/docs/libnm-glib/html/libnm-glib-NMVpnPluginUi.html @@ -0,0 +1,667 @@ + + + + +nm-vpn-plugin-ui-interface + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-vpn-plugin-ui-interface

+

nm-vpn-plugin-ui-interface

+
+
+

Synopsis

+
                    NMVpnPluginUiInterface;
+                    NMVpnPluginUiWidgetInterface;
+NMVpnPluginUiInterface * (*NMVpnPluginUiFactory)        (GError **error);
+NMVpnPluginUiInterface * nm_vpn_plugin_ui_factory       (GError **error);
+#define             NM_VPN_PLUGIN_UI_CAPABILITY_NONE
+#define             NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT
+#define             NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT
+#define             NM_VPN_PLUGIN_UI_INTERFACE_NAME
+#define             NM_VPN_PLUGIN_UI_INTERFACE_DESC
+#define             NM_VPN_PLUGIN_UI_INTERFACE_SERVICE
+enum                NMVpnPluginUiInterfaceProp;
+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);
+#define             NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE
+#define             NM_VPN_PLUGIN_UI_WIDGET_INTERFACE   (obj)
+#define             NM_IS_VPN_PLUGIN_UI_WIDGET_INTERFACE(obj)
+#define             NM_VPN_PLUGIN_UI_WIDGET_INTERFACE_GET_INTERFACE(obj)
+GType               nm_vpn_plugin_ui_widget_interface_get_type
+                                                        (void);
+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

+
+

NMVpnPluginUiInterface

+
typedef struct {
+	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);
+
+	/* Called when the user has chosen to remove the connection (for user
+	 * connections only; system connections are handled by the system
+	 * settings service).  Should clear out any VPN-specific secrets or data
+	 * related to the connection.
+	 */
+	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);
+} NMVpnPluginUiInterface;
+
+

+

+
+
+
+

NMVpnPluginUiWidgetInterface

+
typedef struct {
+	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);
+
+	/* Called when the user has chosen to save the connection (for user
+	 * connections only; system connections are handled by the system
+	 * settings service).  Should save VPN-specific connection secrets in
+	 * a way that the auth-dialog can read them.
+	 */
+	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);
+} NMVpnPluginUiWidgetInterface;
+
+

+

+
+
+
+

NMVpnPluginUiFactory ()

+
NMVpnPluginUiInterface * (*NMVpnPluginUiFactory)        (GError **error);
+

+

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

error :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_factory ()

+
NMVpnPluginUiInterface * nm_vpn_plugin_ui_factory       (GError **error);
+

+

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

error :

+

Returns :

+
+
+
+
+

NM_VPN_PLUGIN_UI_CAPABILITY_NONE

+
#define NM_VPN_PLUGIN_UI_CAPABILITY_NONE     0x00
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT

+
#define NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT   0x01
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT

+
#define NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT   0x02
+
+

+

+
+
+
+

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_FIRST = 0x1000,
+
+	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;
+
+

+

+
+
+
+

nm_vpn_plugin_ui_interface_ui_factory ()

+
NMVpnPluginUiWidgetInterface * nm_vpn_plugin_ui_interface_ui_factory
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

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

iface :

+

connection :

+

error :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_interface_get_capabilities ()

+
guint32             nm_vpn_plugin_ui_interface_get_capabilities
+                                                        (NMVpnPluginUiInterface *iface);
+

+

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

iface :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_interface_import ()

+
NMConnection *      nm_vpn_plugin_ui_interface_import   (NMVpnPluginUiInterface *iface,
+                                                         const char *path,
+                                                         GError **error);
+

+

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

iface :

+

path :

+

error :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_interface_export ()

+
gboolean            nm_vpn_plugin_ui_interface_export   (NMVpnPluginUiInterface *iface,
+                                                         const char *path,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

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

iface :

+

path :

+

connection :

+

error :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_interface_get_suggested_name ()

+
char *              nm_vpn_plugin_ui_interface_get_suggested_name
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection);
+

+

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

iface :

+

connection :

+

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_interface_delete_connection ()

+
gboolean            nm_vpn_plugin_ui_interface_delete_connection
+                                                        (NMVpnPluginUiInterface *iface,
+                                                         NMConnection *connection,
+                                                         GError **error);
+

+

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

iface :

+

connection :

+

error :

+

Returns :

+
+
+
+
+

NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE

+
#define NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE      (nm_vpn_plugin_ui_widget_interface_get_type ())
+
+

+

+
+
+
+

NM_VPN_PLUGIN_UI_WIDGET_INTERFACE()

+
#define NM_VPN_PLUGIN_UI_WIDGET_INTERFACE(obj)      (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE, NMVpnPluginUiWidgetInterface))
+
+

+

+
++ + + + +

obj :

+
+
+
+
+

NM_IS_VPN_PLUGIN_UI_WIDGET_INTERFACE()

+
#define NM_IS_VPN_PLUGIN_UI_WIDGET_INTERFACE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE))
+
+

+

+
++ + + + +

obj :

+
+
+
+
+

NM_VPN_PLUGIN_UI_WIDGET_INTERFACE_GET_INTERFACE()

+
#define NM_VPN_PLUGIN_UI_WIDGET_INTERFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), NM_TYPE_VPN_PLUGIN_UI_WIDGET_INTERFACE, NMVpnPluginUiWidgetInterface))
+
+

+

+
++ + + + +

obj :

+
+
+
+
+

nm_vpn_plugin_ui_widget_interface_get_type ()

+
GType               nm_vpn_plugin_ui_widget_interface_get_type
+                                                        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_vpn_plugin_ui_widget_interface_get_widget ()

+
GObject *           nm_vpn_plugin_ui_widget_interface_get_widget
+                                                        (NMVpnPluginUiWidgetInterface *iface);
+

+

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

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);
+

+

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

iface :

+

connection :

+

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);
+

+

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

iface :

+

connection :

+

error :

+

Returns :

+
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-access-point.html b/docs/libnm-glib/html/libnm-glib-nm-access-point.html deleted file mode 100644 index cfddf32a..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-access-point.html +++ /dev/null @@ -1,503 +0,0 @@ - - - - -NMAccessPoint - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMAccessPoint

-

NMAccessPoint

-
- -
-

Object Hierarchy

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

Properties

-
-  "flags"                    guint                 : Read
-  "frequency"                guint                 : Read
-  "hw-address"               gchar*                : Read
-  "max-bitrate"              guint                 : Read
-  "mode"                     guint                 : Read
-  "rsn-flags"                guint                 : Read
-  "ssid"                     nm-ssid*              : 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_FREQUENCY

-
#define NM_ACCESS_POINT_FREQUENCY   "frequency"
-
-

-

-
-
-
-

NM_ACCESS_POINT_HW_ADDRESS

-
#define NM_ACCESS_POINT_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

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"
-
-

-

-
-
-
-

NMAccessPoint

-
typedef struct _NMAccessPoint NMAccessPoint;
-

-

-
-
-
-

nm_access_point_new ()

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

-Creates a new NMAccessPoint. -

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

connection :

the DBusGConnection -

path :

the DBusobject path of the access point -

Returns :

a new access point -
-
-
-
-

nm_access_point_get_flags ()

-
guint32             nm_access_point_get_flags           (NMAccessPoint *ap);
-

-Gets the flags of the access point -

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

ap :

a NMAccessPoint -

Returns :

the flags -
-
-
-
-

nm_access_point_get_wpa_flags ()

-
guint32             nm_access_point_get_wpa_flags       (NMAccessPoint *ap);
-

-Gets the WPA flags of the access point. -

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

ap :

a NMAccessPoint -

Returns :

the WPA flags -
-
-
-
-

nm_access_point_get_rsn_flags ()

-
guint32             nm_access_point_get_rsn_flags       (NMAccessPoint *ap);
-

-Gets the RSN flags of the access point. -

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

ap :

a NMAccessPoint -

Returns :

the RSN flags -
-
-
-
-

nm_access_point_get_ssid ()

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

-Gets the SSID of the access point. -

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

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_frequency ()

-
guint32             nm_access_point_get_frequency       (NMAccessPoint *ap);
-

-Gets the frequency of the access point. -

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

ap :

a NMAccessPoint -

Returns :

the frequency -
-
-
-
-

nm_access_point_get_hw_address ()

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

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

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

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. -
-
-
-
-

nm_access_point_get_mode ()

-
NM80211Mode         nm_access_point_get_mode            (NMAccessPoint *ap);
-

-Gets the mode of the access point. -

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

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. -

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

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. -

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

ap :

a NMAccessPoint -

Returns :

the signal strength -
-
-
-
-

Property Details

-
-

The "flags" property

-
  "flags"                    guint                 : Read
-

-The flags of the access point. -

-

Allowed values: <= 1

-

Default value: 0

-
-
-
-

The "frequency" property

-
  "frequency"                guint                 : Read
-

-The frequency of the access point. -

-

Allowed values: <= 10000

-

Default value: 0

-
-
-
-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

-The hardware address of the access point. -

-

Default value: NULL

-
-
-
-

The "max-bitrate" property

-
  "max-bitrate"              guint                 : Read
-

-The maximum bit rate of the access point. -

-

Default value: 0

-
-
-
-

The "mode" property

-
  "mode"                     guint                 : Read
-

-The mode of the access point. -

-

Allowed values: [1,2]

-

Default value: 2

-
-
-
-

The "rsn-flags" property

-
  "rsn-flags"                guint                 : Read
-

-The RSN flags of the access point. -

-

Default value: 0

-
-
-
-

The "ssid" property

-
  "ssid"                     nm-ssid*              : Read
-

-The SSID of the access point. -

-
-
-
-

The "strength" property

-
  "strength"                 guchar                : Read
-

-The current signal strength of the access point. -

-

Default value: 0

-
-
-
-

The "wpa-flags" property

-
  "wpa-flags"                guint                 : Read
-

-The WPA flags of the access point. -

-

Default value: 0

-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-active-connection.html b/docs/libnm-glib/html/libnm-glib-nm-active-connection.html deleted file mode 100644 index 1b5f8fd5..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-active-connection.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - -NMActiveConnection - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMActiveConnection

-

NMActiveConnection

-
- -
-

Object Hierarchy

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

Properties

-
-  "connection"               gchar*                : Read
-  "default"                  gboolean              : Read
-  "default6"                 gboolean              : Read
-  "devices"                  nm-object-array*      : Read
-  "service-name"             gchar*                : Read
-  "specific-object"          gchar*                : Read
-  "state"                    guint                 : Read
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_ACTIVE_CONNECTION_SERVICE_NAME

-
#define NM_ACTIVE_CONNECTION_SERVICE_NAME        "service-name"
-
-

-

-
-
-
-

NM_ACTIVE_CONNECTION_CONNECTION

-
#define NM_ACTIVE_CONNECTION_CONNECTION          "connection"
-
-

-

-
-
-
-

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_STATE

-
#define NM_ACTIVE_CONNECTION_STATE               "state"
-
-

-

-
-
-
-

NM_ACTIVE_CONNECTION_DEFAULT

-
#define NM_ACTIVE_CONNECTION_DEFAULT             "default"
-
-

-

-
-
-
-

NM_ACTIVE_CONNECTION_DEFAULT6

-
#define NM_ACTIVE_CONNECTION_DEFAULT6            "default6"
-
-

-

-
-
-
-

NMActiveConnection

-
typedef struct _NMActiveConnection NMActiveConnection;
-

-

-
-
-
-

nm_active_connection_new ()

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

-Creates a new NMActiveConnection. -

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

connection :

the DBusGConnection -

path :

the DBus object path of the device -

Returns :

a new active connection -
-
-
-
-

nm_active_connection_get_service_name ()

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

-Gets the service name of the active connection. -

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

connection :

a NMActiveConnection -

Returns :

the service name. This is the internal string used by the -connection, and must not be modified. -
-
-
-
-

nm_active_connection_get_scope ()

-
NMConnectionScope   nm_active_connection_get_scope      (NMActiveConnection *connection);
-

-Gets the scope of the active connection. -

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

connection :

a NMActiveConnection -

Returns :

the connection's scope -
-
-
-
-

nm_active_connection_get_connection ()

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

-Gets the NMConnection's DBus object path. -

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

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_get_specific_object ()

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

-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);
-

-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. -
-
-
-
-

nm_active_connection_get_state ()

-
NMActiveConnectionState  nm_active_connection_get_state (NMActiveConnection *connection);
-

-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);
-

-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);
-

-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 -
-
-
-
-

Property Details

-
-

The "connection" property

-
  "connection"               gchar*                : Read
-

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

-

Default value: NULL

-
-
-
-

The "default" property

-
  "default"                  gboolean              : Read
-

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

-

Default value: FALSE

-
-
-
-

The "default6" property

-
  "default6"                 gboolean              : Read
-

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

-

Default value: FALSE

-
-
-
-

The "devices" property

-
  "devices"                  nm-object-array*      : Read
-

Devices.

-
-
-
-

The "service-name" property

-
  "service-name"             gchar*                : Read
-

-The service name of the active connection. -

-

Default value: NULL

-
-
-
-

The "specific-object" property

-
  "specific-object"          gchar*                : Read
-

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

-

Default value: NULL

-
-
-
-

The "state" property

-
  "state"                    guint                 : Read
-

-The state of the active connection. -

-

Allowed values: <= 2

-

Default value: 0

-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-client.html b/docs/libnm-glib/html/libnm-glib-nm-client.html deleted file mode 100644 index b7af2851..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-client.html +++ /dev/null @@ -1,724 +0,0 @@ - - - - -NMClient - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMClient

-

NMClient

-
-
-

Synopsis

-
#define             NM_CLIENT_STATE
-#define             NM_CLIENT_MANAGER_RUNNING
-#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_ACTIVE_CONNECTIONS
-                    NMClient;
-NMClient *          nm_client_new                       (void);
-const GPtrArray *   nm_client_get_devices               (NMClient *client);
-NMDevice *          nm_client_get_device_by_path        (NMClient *client,
-                                                         const char *object_path);
-void                (*NMClientActivateDeviceFn)         (gpointer user_data,
-                                                         const char *object_path,
-                                                         GError *error);
-void                nm_client_activate_connection       (NMClient *client,
-                                                         const char *service_name,
-                                                         const char *connection_path,
-                                                         NMDevice *device,
-                                                         const char *specific_object,
-                                                         NMClientActivateDeviceFn callback,
-                                                         gpointer user_data);
-void                nm_client_deactivate_connection     (NMClient *client,
-                                                         NMActiveConnection *active);
-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);
-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);
-
-
-
-

Object Hierarchy

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

Properties

-
-  "active-connections"       nm-object-array*      : Read
-  "manager-running"          gboolean              : Read
-  "networking-enabled"       gboolean              : Read
-  "state"                    guint                 : Read
-  "wireless-enabled"         gboolean              : Read / Write
-  "wireless-hardware-enabled" gboolean              : Read
-  "wwan-enabled"             gboolean              : Read / Write / Construct
-  "wwan-hardware-enabled"    gboolean              : Read / Write / Construct Only
-
-
-
-

Signals

-
-  "device-added"                                   : Run First
-  "device-removed"                                 : Run First
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_CLIENT_STATE

-
#define NM_CLIENT_STATE "state"
-
-

-

-
-
-
-

NM_CLIENT_MANAGER_RUNNING

-
#define NM_CLIENT_MANAGER_RUNNING "manager-running"
-
-

-

-
-
-
-

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"
-
-

-

-
-
-
-

NM_CLIENT_WWAN_ENABLED

-
#define NM_CLIENT_WWAN_ENABLED "wwan-enabled"
-
-

-

-
-
-
-

NM_CLIENT_WWAN_HARDWARE_ENABLED

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

-

-
-
-
-

NM_CLIENT_ACTIVE_CONNECTIONS

-
#define NM_CLIENT_ACTIVE_CONNECTIONS "active-connections"
-
-

-

-
-
-
-

NMClient

-
typedef struct _NMClient NMClient;
-

-

-
-
-
-

nm_client_new ()

-
NMClient *          nm_client_new                       (void);
-

-Creates a new NMClient. -

-
-- - - - -

Returns :

a new NMClient -
-
-
-
-

nm_client_get_devices ()

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

-Gets all the detected devices. -

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

client :

a NMClient -

Returns :

a GPtrArray containing all the NMDevices. -The returned array is owned by the client and should not be modified. -
-
-
-
-

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. -

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

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. -
-
-
-
-

NMClientActivateDeviceFn ()

-
void                (*NMClientActivateDeviceFn)         (gpointer user_data,
-                                                         const char *object_path,
-                                                         GError *error);
-

-

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

user_data :

-

object_path :

-

error :

-
-
-
-
-

nm_client_activate_connection ()

-
void                nm_client_activate_connection       (NMClient *client,
-                                                         const char *service_name,
-                                                         const char *connection_path,
-                                                         NMDevice *device,
-                                                         const char *specific_object,
-                                                         NMClientActivateDeviceFn callback,
-                                                         gpointer user_data);
-

-Activates a connection with the given NMDevice. -

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

client :

a NMClient -

service_name :

the connection's service name -

connection_path :

the connection's DBus path -

device :

the NMDevice -

specific_object :

the device specific object (currently used only for -activating wireless devices and should be the NMAccessPoint's path. -

callback :

the function to call when the call is done -

user_data :

user data to pass to the callback function -
-
-
-
-

nm_client_deactivate_connection ()

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

-Deactivates an active NMActiveConnection. -

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

client :

a NMClient -

active :

the NMActiveConnection to deactivate -
-
-
-
-

nm_client_wireless_get_enabled ()

-
gboolean            nm_client_wireless_get_enabled      (NMClient *client);
-

-Determines whether the wireless is enabled. -

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

client :

a NMClient -

Returns :

TRUE if wireless is enabled -
-
-
-
-

nm_client_wireless_set_enabled ()

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

-Enables or disables wireless devices. -

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

client :

a NMClient -

enabled :

-TRUE to enable wireless -
-
-
-
-

nm_client_wireless_hardware_get_enabled ()

-
gboolean            nm_client_wireless_hardware_get_enabled
-                                                        (NMClient *client);
-

-Determines whether the wireless hardware is enabled. -

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

client :

a NMClient -

Returns :

TRUE if the wireless hardware is enabled -
-
-
-
-

nm_client_wwan_get_enabled ()

-
gboolean            nm_client_wwan_get_enabled          (NMClient *client);
-

-Determines whether WWAN is enabled. -

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

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. -

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

client :

a NMClient -

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. -

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

client :

a NMClient -

Returns :

TRUE if the WWAN hardware is enabled -
-
-
-
-

nm_client_get_state ()

-
NMState             nm_client_get_state                 (NMClient *client);
-

-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);
-

-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);
-

-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. -
-
-
-
-

nm_client_sleep ()

-
void                nm_client_sleep                     (NMClient *client,
-                                                         gboolean sleep);
-

-Deprecated; use nm_client_networking_set_enabled() instead. -

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

client :

a NMClient -

sleep :

-TRUE to put the daemon to sleep -
-
-
-
-

Property Details

-
-

The "active-connections" property

-
  "active-connections"       nm-object-array*      : Read
-

Active connections.

-
-
-
-

The "manager-running" property

-
  "manager-running"          gboolean              : Read
-

Whether NetworkManager is running.

-

Default value: FALSE

-
-
-
-

The "networking-enabled" property

-
  "networking-enabled"       gboolean              : Read
-

Is networking enabled.

-

Default value: TRUE

-
-
-
-

The "state" property

-
  "state"                    guint                 : Read
-

-The current daemon state. -

-

Allowed values: <= 4

-

Default value: 0

-
-
-
-

The "wireless-enabled" property

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

Is wireless enabled.

-

Default value: TRUE

-
-
-
-

The "wireless-hardware-enabled" property

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

Is wireless hardware enabled.

-

Default value: TRUE

-
-
-
-

The "wwan-enabled" property

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

Is WWAN enabled.

-

Default value: TRUE

-
-
-
-

The "wwan-hardware-enabled" property

-
  "wwan-hardware-enabled"    gboolean              : Read / Write / Construct Only
-

Is WWAN hardware enabled.

-

Default value: TRUE

-
-
-
-

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 -

user_data :

user data set when the signal handler was connected.
-
-
-
-

The "device-removed" signal

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

-Notifies that a NMDevice is removed. -

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

widget :

the client that received the signal -

device :

the removed device -

user_data :

user data set when the signal handler was connected.
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-device-bt.html b/docs/libnm-glib/html/libnm-glib-nm-device-bt.html deleted file mode 100644 index 4372ca11..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-device-bt.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - -NMDeviceBt - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMDeviceBt

-

NMDeviceBt

-
-
-

Synopsis

-
#define             NM_DEVICE_BT_HW_ADDRESS
-#define             NM_DEVICE_BT_NAME
-#define             NM_DEVICE_BT_CAPABILITIES
-                    NMDeviceBt;
-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);
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_DEVICE_BT_HW_ADDRESS

-
#define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
-
-

-

-
-
-
-

NM_DEVICE_BT_NAME

-
#define NM_DEVICE_BT_NAME         "name"
-
-

-

-
-
-
-

NM_DEVICE_BT_CAPABILITIES

-
#define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
-
-

-

-
-
-
-

NMDeviceBt

-
typedef struct {
-	NMDevice parent;
-} NMDeviceBt;
-
-

-

-
-
-
-

nm_device_bt_new ()

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

-Creates a new NMDeviceBt. -

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

connection :

the DBusGConnection -

path :

the DBus object path of the device -

Returns :

a new device -
-
-
-
-

nm_device_bt_get_hw_address ()

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

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

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

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. -

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

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. -

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

device :

a NMDeviceBt -

Returns :

a combination of NMBluetoothCapabilities -
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-device-ethernet.html b/docs/libnm-glib/html/libnm-glib-nm-device-ethernet.html deleted file mode 100644 index ad47fde5..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-device-ethernet.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - -NMDeviceEthernet - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMDeviceEthernet

-

NMDeviceEthernet

-
- -
-

Object Hierarchy

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

Properties

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

Description

-

-

-
-
-

Details

-
-

NM_DEVICE_ETHERNET_HW_ADDRESS

-
#define NM_DEVICE_ETHERNET_HW_ADDRESS  "hw-address"
-
-

-

-
-
-
-

NM_DEVICE_ETHERNET_SPEED

-
#define NM_DEVICE_ETHERNET_SPEED       "speed"
-
-

-

-
-
-
-

NM_DEVICE_ETHERNET_CARRIER

-
#define NM_DEVICE_ETHERNET_CARRIER     "carrier"
-
-

-

-
-
-
-

NMDeviceEthernet

-
typedef struct _NMDeviceEthernet NMDeviceEthernet;
-

-

-
-
-
-

nm_device_ethernet_new ()

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

-Creates a new NMDeviceEthernet. -

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

connection :

the DBusGConnection -

path :

the DBus object path of the device -

Returns :

a new device -
-
-
-
-

nm_device_ethernet_get_hw_address ()

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

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

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

device :

a NMDeviceEthernet -

Returns :

the 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. -

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

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. -

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

device :

a NMDeviceEthernet -

Returns :

TRUE if the device has carrier -
-
-
-
-

Property Details

-
-

The "carrier" property

-
  "carrier"                  gboolean              : Read
-

-Whether the device has carrier. -

-

Default value: FALSE

-
-
-
-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

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

-

Default value: NULL

-
-
-
-

The "speed" property

-
  "speed"                    guint                 : Read
-

-The speed of the device. -

-

Default value: 0

-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-device-wifi.html b/docs/libnm-glib/html/libnm-glib-nm-device-wifi.html deleted file mode 100644 index acc5f6e0..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-device-wifi.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - -NMDeviceWifi - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMDeviceWifi

-

NMDeviceWifi

-
- -
-

Object Hierarchy

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

Properties

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

Signals

-
-  "access-point-added"                             : Run First
-  "access-point-removed"                           : Run First
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_DEVICE_WIFI_HW_ADDRESS

-
#define NM_DEVICE_WIFI_HW_ADDRESS          "hw-address"
-
-

-

-
-
-
-

NM_DEVICE_WIFI_MODE

-
#define NM_DEVICE_WIFI_MODE                "mode"
-
-

-

-
-
-
-

NM_DEVICE_WIFI_BITRATE

-
#define NM_DEVICE_WIFI_BITRATE             "bitrate"
-
-

-

-
-
-
-

NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT

-
#define NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT "active-access-point"
-
-

-

-
-
-
-

NM_DEVICE_WIFI_CAPABILITIES

-
#define NM_DEVICE_WIFI_CAPABILITIES        "wireless-capabilities"
-
-

-

-
-
-
-

NMDeviceWifi

-
typedef struct _NMDeviceWifi NMDeviceWifi;
-

-

-
-
-
-

nm_device_wifi_new ()

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

-Creates a new NMDeviceWifi. -

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

connection :

the DBusGConnection -

path :

the DBus object path of the device -

Returns :

a new device -
-
-
-
-

nm_device_wifi_get_hw_address ()

-
const char *        nm_device_wifi_get_hw_address       (NMDeviceWifi *device);
-

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

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

device :

a NMDeviceWifi -

Returns :

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

nm_device_wifi_get_mode ()

-
NM80211Mode         nm_device_wifi_get_mode             (NMDeviceWifi *device);
-

-Gets the NMDeviceWifi mode. -

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

device :

a NMDeviceWifi -

Returns :

the mode -
-
-
-
-

nm_device_wifi_get_bitrate ()

-
guint32             nm_device_wifi_get_bitrate          (NMDeviceWifi *device);
-

-Gets the bit rate of the NMDeviceWifi. -

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

device :

a NMDeviceWifi -

Returns :

the bit rate -
-
-
-
-

nm_device_wifi_get_capabilities ()

-
guint32             nm_device_wifi_get_capabilities     (NMDeviceWifi *device);
-

-Gets the WIFI capabilities of the NMDeviceWifi. -

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

device :

a NMDeviceWifi -

Returns :

the capabilities -
-
-
-
-

nm_device_wifi_get_active_access_point ()

-
NMAccessPoint *     nm_device_wifi_get_active_access_point
-                                                        (NMDeviceWifi *device);
-

-Gets the active NMAccessPoint. -

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

device :

a NMDeviceWifi -

Returns :

the access point or NULL if none is active -
-
-
-
-

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 -

path :

the object path of the access point -

Returns :

the access point or NULL if none is found. -
-
-
-
-

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 -

Returns :

a GPtrArray containing all the scanned NMAccessPoints. -The returned array is owned by the client and should not be modified. -
-
-
-
-

Property Details

-
-

The "active-access-point" property

-
  "active-access-point"      NMAccessPoint*        : Read
-

-The active NMAccessPoint of the device. -

-
-
-
-

The "bitrate" property

-
  "bitrate"                  guint                 : Read
-

-The bit rate of the device. -

-

Default value: 0

-
-
-
-

The "hw-address" property

-
  "hw-address"               gchar*                : Read
-

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

-

Default value: NULL

-
-
-
-

The "mode" property

-
  "mode"                     guint                 : Read
-

-The mode of the device. -

-

Allowed values: <= 2

-

Default value: 2

-
-
-
-

The "wireless-capabilities" property

-
  "wireless-capabilities"    guint                 : Read
-

-The wireless capabilities of the device. -

-

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-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.
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-device.html b/docs/libnm-glib/html/libnm-glib-nm-device.html deleted file mode 100644 index d37903e1..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-device.html +++ /dev/null @@ -1,743 +0,0 @@ - - - - -NMDevice - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMDevice

-

NMDevice

-
-
-

Synopsis

-
#define             NM_DEVICE_UDI
-#define             NM_DEVICE_INTERFACE
-#define             NM_DEVICE_DRIVER
-#define             NM_DEVICE_CAPABILITIES
-#define             NM_DEVICE_MANAGED
-#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_VENDOR
-#define             NM_DEVICE_PRODUCT
-                    NMDevice;
-GObject *           nm_device_new                       (DBusGConnection *connection,
-                                                         const char *path);
-const char *        nm_device_get_iface                 (NMDevice *device);
-const char *        nm_device_get_udi                   (NMDevice *device);
-const char *        nm_device_get_driver                (NMDevice *device);
-guint32             nm_device_get_capabilities          (NMDevice *device);
-gboolean            nm_device_get_managed               (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);
-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);
-
-
-
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMDevice
-               +----NMDeviceEthernet
-               +----NMDeviceWifi
-               +----NMSerialDevice
-
-
-
-

Properties

-
-  "capabilities"             guint                 : Read
-  "dhcp4-config"             NMDHCP4Config*        : Read
-  "dhcp6-config"             NMDHCP6Config*        : Read
-  "driver"                   gchar*                : Read
-  "interface"                gchar*                : Read
-  "ip4-config"               NMIP4Config*          : Read
-  "ip6-config"               NMIP6Config*          : Read
-  "managed"                  gboolean              : Read
-  "product"                  gchar*                : Read
-  "state"                    guint                 : Read
-  "udi"                      gchar*                : Read
-  "vendor"                   gchar*                : Read
-
-
-
-

Signals

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

Description

-

-

-
-
-

Details

-
-

NM_DEVICE_UDI

-
#define NM_DEVICE_UDI "udi"
-
-

-

-
-
-
-

NM_DEVICE_INTERFACE

-
#define NM_DEVICE_INTERFACE "interface"
-
-

-

-
-
-
-

NM_DEVICE_DRIVER

-
#define NM_DEVICE_DRIVER "driver"
-
-

-

-
-
-
-

NM_DEVICE_CAPABILITIES

-
#define NM_DEVICE_CAPABILITIES "capabilities"
-
-

-

-
-
-
-

NM_DEVICE_MANAGED

-
#define NM_DEVICE_MANAGED "managed"
-
-

-

-
-
-
-

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_VENDOR

-
#define NM_DEVICE_VENDOR "vendor"
-
-

-

-
-
-
-

NM_DEVICE_PRODUCT

-
#define NM_DEVICE_PRODUCT "product"
-
-

-

-
-
-
-

NMDevice

-
typedef struct _NMDevice NMDevice;
-

-

-
-
-
-

nm_device_new ()

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

-Creates a new NMDevice. -

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

connection :

the DBusGConnection -

path :

the DBus object path of the device -

Returns :

a new device -
-
-
-
-

nm_device_get_iface ()

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

-Gets the interface name of the NMDevice. -

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

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. -

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

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_driver ()

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

-Gets the driver of the NMDevice. -

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

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 ()

-
guint32             nm_device_get_capabilities          (NMDevice *device);
-

-Gets the device' capabilities. -

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

device :

a NMDevice -

Returns :

the capabilities -
-
-
-
-

nm_device_get_managed ()

-
gboolean            nm_device_get_managed               (NMDevice *device);
-

-Whether the NMDevice is managed by NetworkManager. -

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

device :

a NMDevice -

Returns :

TRUE if the device is managed by NetworkManager -
-
-
-
-

nm_device_get_ip4_config ()

-
NMIP4Config *       nm_device_get_ip4_config            (NMDevice *device);
-

-Gets the current NMIP4Config associated with the NMDevice. -

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

device :

a NMDevice -

Returns :

the NMIP4Config or NULL if the device is not activated. -
-
-
-
-

nm_device_get_dhcp4_config ()

-
NMDHCP4Config *     nm_device_get_dhcp4_config          (NMDevice *device);
-

-Gets the current NMDHCP4Config associated with the NMDevice. -

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

device :

a NMDevice -

Returns :

the NMDHCPConfig or NULL if the device is not activated or not -using DHCP. -
-
-
-
-

nm_device_get_ip6_config ()

-
NMIP6Config *       nm_device_get_ip6_config            (NMDevice *device);
-

-Gets the current NMIP6Config associated with the NMDevice. -

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

device :

a NMDevice -

Returns :

the NMIP6Config or NULL if the device is not activated. -
-
-
-
-

nm_device_get_dhcp6_config ()

-
NMDHCP6Config *     nm_device_get_dhcp6_config          (NMDevice *device);
-

-Gets the current NMDHCP6Config associated with the NMDevice. -

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

device :

a NMDevice -

Returns :

the NMDHCPConfig or NULL if the device is not activated or not -using DHCP. -
-
-
-
-

nm_device_get_state ()

-
NMDeviceState       nm_device_get_state                 (NMDevice *device);
-

-Gets the current NMDevice state. -

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

device :

a NMDevice -

Returns :

the current device state -
-
-
-
-

nm_device_get_product ()

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

-Gets the product string of the NMDevice. -

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

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. -

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

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);
-

-

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

device :

-

error :

-

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 -automatically connecting to networks until the next manual network connection -request. -

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

device :

a NMDevice -

callback :

callback to be called when disconnect operation completes -

user_data :

caller-specific data passed to callback -
-
-
-
-

Property Details

-
-

The "capabilities" property

-
  "capabilities"             guint                 : Read
-

-The capabilities of the device. -

-

Default value: 0

-
-
-
-

The "dhcp4-config" property

-
  "dhcp4-config"             NMDHCP4Config*        : Read
-

-The NMDHCP4Config of the device. -

-
-
-
-

The "dhcp6-config" property

-
  "dhcp6-config"             NMDHCP6Config*        : Read
-

-The NMDHCP6Config of the device. -

-
-
-
-

The "driver" property

-
  "driver"                   gchar*                : Read
-

-The driver of the device. -

-

Default value: NULL

-
-
-
-

The "interface" property

-
  "interface"                gchar*                : Read
-

-The interface of the device. -

-

Default value: NULL

-
-
-
-

The "ip4-config" property

-
  "ip4-config"               NMIP4Config*          : Read
-

-The NMIP4Config of the device. -

-
-
-
-

The "ip6-config" property

-
  "ip6-config"               NMIP6Config*          : Read
-

-The NMIP6Config of the device. -

-
-
-
-

The "managed" property

-
  "managed"                  gboolean              : Read
-

-Whether the device is managed by NetworkManager. -

-

Default value: FALSE

-
-
-
-

The "product" property

-
  "product"                  gchar*                : Read
-

-The product string of the device. -

-

Default value: NULL

-
-
-
-

The "state" property

-
  "state"                    guint                 : Read
-

-The state of the device. -

-

Default value: 0

-
-
-
-

The "udi" property

-
  "udi"                      gchar*                : Read
-

-The Unique Device Identifier of the device. -

-

Default value: NULL

-
-
-
-

The "vendor" property

-
  "vendor"                   gchar*                : Read
-

-The vendor string of the device. -

-

Default value: NULL

-
-
-
-

Signal Details

-
-

The "state-changed" signal

-
void                user_function                      (NMDevice *device,
-                                                        guint     state,
-                                                        guint     arg2,
-                                                        guint     arg3,
-                                                        gpointer  user_data)      : Run First
-

-Notifies the state change of a NMDevice. -

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

device :

the client that received the signal -

state :

the new state of the device -

user_data :

user data set when the signal handler was connected.
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-object.html b/docs/libnm-glib/html/libnm-glib-nm-object.html deleted file mode 100644 index 1a511d0b..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-object.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -NMObject - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMObject

-

NMObject

-
- -
-

Object Hierarchy

-
-  GObject
-   +----NMObject
-         +----NMClient
-         +----NMDevice
-         +----NMAccessPoint
-         +----NMIP4Config
-         +----NMActiveConnection
-         +----NMDHCP4Config
-         +----NMIP6Config
-         +----NMDHCP6Config
-
-
-
-

Properties

-
-  "dbus-connection"          DBusGConnection*      : Read / Write / Construct Only
-  "dbus-path"                gchar*                : Read / Write / Construct Only
-
-
-
-

Description

-

-

-
-
-

Details

-
-

NM_OBJECT_DBUS_CONNECTION

-
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
-
-

-

-
-
-
-

NM_OBJECT_DBUS_PATH

-
#define NM_OBJECT_DBUS_PATH "dbus-path"
-
-

-

-
-
-
-

NMObject

-
typedef struct _NMObject NMObject;
-

-

-
-
-
-

nm_object_get_connection ()

-
DBusGConnection *   nm_object_get_connection            (NMObject *object);
-

-Gets the NMObject's DBusGConnection. -

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

object :

a NMObject -

Returns :

the connection -
-
-
-
-

nm_object_get_path ()

-
const char *        nm_object_get_path                  (NMObject *object);
-

-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
-

Connection.

-
-
-
-

The "dbus-path" property

-
  "dbus-path"                gchar*                : Read / Write / Construct Only
-

DBus Object Path.

-

Default value: NULL

-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-remote-settings.html b/docs/libnm-glib/html/libnm-glib-nm-remote-settings.html deleted file mode 100644 index 7f2c41cb..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-remote-settings.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - -NMRemoteSettings - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMRemoteSettings

-

NMRemoteSettings

-
- -
-

Description

-

-

-
-
-

Details

-
-

NM_REMOTE_SETTINGS_BUS

-
#define NM_REMOTE_SETTINGS_BUS "bus"
-
-

-

-
-
-
-

NM_REMOTE_SETTINGS_SCOPE

-
#define NM_REMOTE_SETTINGS_SCOPE "scope"
-
-

-

-
-
-
-

NM_REMOTE_SETTINGS_SERVICE_RUNNING

-
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
-
-

-

-
-
-
-

NMRemoteSettings

-
typedef struct {
-	GObject parent;
-} NMRemoteSettings;
-
-

-

-
-
-
-

nm_remote_settings_new ()

-
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus,
-                                                         NMConnectionScope scope);
-

-Creates a new object representing the remote settings service. -

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

bus :

a valid and connected D-Bus connection -

scope :

the settings service scope (either user or system) -

Returns :

the new remote settings object on success, or NULL on failure -
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-settings-connection-interface.html b/docs/libnm-glib/html/libnm-glib-nm-settings-connection-interface.html deleted file mode 100644 index 3fada84f..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-settings-connection-interface.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - -nm-settings-connection-interface - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

nm-settings-connection-interface

-

nm-settings-connection-interface

-
- -
-

Description

-

-

-
-
-

Details

-
-

NM_SETTINGS_CONNECTION_INTERFACE_GET_INTERFACE()

-
#define NM_SETTINGS_CONNECTION_INTERFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), NM_TYPE_SETTINGS_CONNECTION_INTERFACE, NMSettingsConnectionInterface))
-
-

-

-
-- - - - -

obj :

-
-
-
-
-

NM_SETTINGS_CONNECTION_INTERFACE_UPDATED

-
#define NM_SETTINGS_CONNECTION_INTERFACE_UPDATED               "updated"
-
-

-

-
-
-
-

NM_SETTINGS_CONNECTION_INTERFACE_REMOVED

-
#define NM_SETTINGS_CONNECTION_INTERFACE_REMOVED               "removed"
-
-

-

-
-
-
-

NMSettingsConnectionInterface

-
typedef struct {
-	GTypeInterface g_iface;
-
-	/* Methods */
-	gboolean (*update) (NMSettingsConnectionInterface *connection,
-	                    NMSettingsConnectionInterfaceUpdateFunc callback,
-	                    gpointer user_data);
-
-	gboolean (*delete) (NMSettingsConnectionInterface *connection,
-	                    NMSettingsConnectionInterfaceDeleteFunc callback,
-	                    gpointer user_data);
-
-	gboolean (*get_secrets) (NMSettingsConnectionInterface *connection,
-	                         const char *setting_name,
-                             const char **hints,
-                             gboolean request_new,
-                             NMSettingsConnectionInterfaceGetSecretsFunc callback,
-                             gpointer user_data);
-
-	void (*emit_updated) (NMSettingsConnectionInterface *connection);
-
-	/* Signals */
-	/* 'new_settings' hash should *not* contain secrets */
-	void (*updated) (NMSettingsConnectionInterface *connection,
-	                 GHashTable *new_settings);
-
-	void (*removed) (NMSettingsConnectionInterface *connection);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMSettingsConnectionInterface;
-
-

-

-
-
-
-

NMSettingsConnectionInterfaceUpdateFunc ()

-
void                (*NMSettingsConnectionInterfaceUpdateFunc)
-                                                        (NMSettingsConnectionInterface *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

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

connection :

-

error :

-

user_data :

-
-
-
-
-

NMSettingsConnectionInterfaceDeleteFunc ()

-
void                (*NMSettingsConnectionInterfaceDeleteFunc)
-                                                        (NMSettingsConnectionInterface *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

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

connection :

-

error :

-

user_data :

-
-
-
-
-

NMSettingsConnectionInterfaceGetSecretsFunc ()

-
void                (*NMSettingsConnectionInterfaceGetSecretsFunc)
-                                                        (NMSettingsConnectionInterface *connection,
-                                                         GHashTable *secrets,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

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

connection :

-

secrets :

-

error :

-

user_data :

-
-
-
-
-

nm_settings_connection_interface_update ()

-
gboolean            nm_settings_connection_interface_update
-                                                        (NMSettingsConnectionInterface *connection,
-                                                         NMSettingsConnectionInterfaceUpdateFunc callback,
-                                                         gpointer user_data);
-

-Update the connection with current settings and properties. -

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

connection :

an object implementing NMSettingsConnectionInterface -

callback :

a function to be called when the update completes -

user_data :

caller-specific data to be passed to callback -

Returns :

TRUE on success, FALSE on failure -
-
-
-
-

nm_settings_connection_interface_delete ()

-
gboolean            nm_settings_connection_interface_delete
-                                                        (NMSettingsConnectionInterface *connection,
-                                                         NMSettingsConnectionInterfaceDeleteFunc callback,
-                                                         gpointer user_data);
-

-Delete the connection. -

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

connection :

a objecting implementing NMSettingsConnectionInterface -

callback :

a function to be called when the delete completes -

user_data :

caller-specific data to be passed to callback -

Returns :

TRUE on success, FALSE on failure -
-
-
-
-

nm_settings_connection_interface_get_secrets ()

-
gboolean            nm_settings_connection_interface_get_secrets
-                                                        (NMSettingsConnectionInterface *connection,
-                                                         const char *setting_name,
-                                                         const char **hints,
-                                                         gboolean request_new,
-                                                         NMSettingsConnectionInterfaceGetSecretsFunc callback,
-                                                         gpointer user_data);
-

-Request the connection's secrets. -

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

connection :

a object implementing NMSettingsConnectionInterface -

setting_name :

the NMSetting object name to get secrets for -

hints :

-NMSetting key names to get secrets for (optional) -

request_new :

hint that new secrets (instead of cached or stored secrets) - should be returned -

callback :

a function to be called when the update completes -

user_data :

caller-specific data to be passed to callback -

Returns :

TRUE on success, FALSE on failure -
-
-
-
-

nm_settings_connection_interface_emit_updated ()

-
void                nm_settings_connection_interface_emit_updated
-                                                        (NMSettingsConnectionInterface *connection);
-

-

-
-- - - - -

connection :

-
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-settings-interface.html b/docs/libnm-glib/html/libnm-glib-nm-settings-interface.html deleted file mode 100644 index 8fedb758..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-settings-interface.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - -nm-settings-interface - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

nm-settings-interface

-

nm-settings-interface

-
- -
-

Description

-

-

-
-
-

Details

-
-

enum NMSettingsInterfaceError

-
typedef enum {
-	NM_SETTINGS_INTERFACE_ERROR_INVALID_CONNECTION = 0,
-	NM_SETTINGS_INTERFACE_ERROR_READ_ONLY_CONNECTION,
-	NM_SETTINGS_INTERFACE_ERROR_INTERNAL_ERROR,
-	NM_SETTINGS_INTERFACE_ERROR_SECRETS_UNAVAILABLE,
-	NM_SETTINGS_INTERFACE_ERROR_SECRETS_REQUEST_CANCELED,
-	NM_SETTINGS_INTERFACE_ERROR_PERMISSION_DENIED,
-	NM_SETTINGS_INTERFACE_ERROR_INVALID_SETTING,
-} NMSettingsInterfaceError;
-
-

-

-
-
-
-

NM_SETTINGS_INTERFACE_ERROR

-
#define NM_SETTINGS_INTERFACE_ERROR (nm_settings_interface_error_quark ())
-
-

-

-
-
-
-

nm_settings_interface_error_quark ()

-
GQuark              nm_settings_interface_error_quark   (void);
-

-Setting error quark. -

-
-- - - - -

Returns :

the setting error quark -
-
-
-
-

NM_TYPE_SETTINGS_INTERFACE_ERROR

-
#define NM_TYPE_SETTINGS_INTERFACE_ERROR (nm_settings_interface_error_get_type ()) 
-
-

-

-
-
-
-

NM_SETTINGS_INTERFACE_GET_INTERFACE()

-
#define NM_SETTINGS_INTERFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), NM_TYPE_SETTINGS_INTERFACE, NMSettingsInterface))
-
-

-

-
-- - - - -

obj :

-
-
-
-
-

NM_SETTINGS_INTERFACE_NEW_CONNECTION

-
#define NM_SETTINGS_INTERFACE_NEW_CONNECTION   "new-connection"
-
-

-

-
-
-
-

NM_SETTINGS_INTERFACE_CONNECTIONS_READ

-
#define NM_SETTINGS_INTERFACE_CONNECTIONS_READ "connections-read"
-
-

-

-
-
-
-

NMSettingsInterface

-
typedef struct {
-	GTypeInterface g_iface;
-
-	/* Methods */
-	/* Returns a list of objects implementing NMSettingsConnectionInterface */
-	GSList * (*list_connections) (NMSettingsInterface *settings);
-
-	NMSettingsConnectionInterface * (*get_connection_by_path) (NMSettingsInterface *settings,
-	                                                           const char *path);
-
-	gboolean (*add_connection) (NMSettingsInterface *settings,
-	                            NMConnection *connection,
-	                            NMSettingsAddConnectionFunc callback,
-	                            gpointer user_data);
-
-	/* Signals */
-	void (*new_connection) (NMSettingsInterface *settings,
-	                        NMSettingsConnectionInterface *connection);
-
-	void (*connections_read) (NMSettingsInterface *settings);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMSettingsInterface;
-
-

-

-
-
-
-

NMSettingsAddConnectionFunc ()

-
void                (*NMSettingsAddConnectionFunc)      (NMSettingsInterface *settings,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

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

settings :

-

error :

-

user_data :

-
-
-
-
-

nm_settings_interface_get_type ()

-
GType               nm_settings_interface_get_type      (void);
-

-

-
-- - - - -

Returns :

-
-
-
-
-

nm_settings_interface_list_connections ()

-
GSList *            nm_settings_interface_list_connections
-                                                        (NMSettingsInterface *settings);
-

-

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

settings :

-

Returns :

-
-
-
-
-

nm_settings_interface_get_connection_by_path ()

-
NMSettingsConnectionInterface * nm_settings_interface_get_connection_by_path
-                                                        (NMSettingsInterface *settings,
-                                                         const char *path);
-

-

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

settings :

-

path :

-

Returns :

-
-
-
-
-

nm_settings_interface_add_connection ()

-
gboolean            nm_settings_interface_add_connection
-                                                        (NMSettingsInterface *settings,
-                                                         NMConnection *connection,
-                                                         NMSettingsAddConnectionFunc callback,
-                                                         gpointer user_data);
-

-Requests that the settings service add the given settings to a new connection. -

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

settings :

a object implementing NMSettingsInterface -

connection :

the settings to add; note that this object's settings will be - added, not the object itself -

callback :

callback to be called when the add operation completes -

user_data :

caller-specific data passed to callback -

Returns :

TRUE if the request was successful, FALSE if it failed -
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-settings-service.html b/docs/libnm-glib/html/libnm-glib-nm-settings-service.html deleted file mode 100644 index 86df33fc..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-settings-service.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - -NMSettingsService - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

NMSettingsService

-

NMSettingsService

-
- -
-

Description

-

-

-
-
-

Details

-
-

NM_SETTINGS_SERVICE_BUS

-
#define NM_SETTINGS_SERVICE_BUS "bus"
-
-

-

-
-
-
-

NM_SETTINGS_SERVICE_SCOPE

-
#define NM_SETTINGS_SERVICE_SCOPE "scope"
-
-

-

-
-
-
-

NMSettingsService

-
typedef struct {
-	GObject parent;
-} NMSettingsService;
-
-

-

-
-
-
-

nm_settings_service_get_connection_by_path ()

-
NMExportedConnection * nm_settings_service_get_connection_by_path
-                                                        (NMSettingsService *self,
-                                                         const char *path);
-

-

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

self :

-

path :

-

Returns :

-
-
-
-
-

nm_settings_service_export ()

-
void                nm_settings_service_export          (NMSettingsService *self);
-

-

-
-- - - - -

self :

-
-
-
-
-

nm_settings_service_export_connection ()

-
void                nm_settings_service_export_connection
-                                                        (NMSettingsService *self,
-                                                         NMSettingsConnectionInterface *exported);
-

-

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

self :

-

exported :

-
-
-
-
- - - \ No newline at end of file diff --git a/docs/libnm-glib/html/libnm-glib-nm-settings-system-interface.html b/docs/libnm-glib/html/libnm-glib-nm-settings-system-interface.html deleted file mode 100644 index e8c500de..00000000 --- a/docs/libnm-glib/html/libnm-glib-nm-settings-system-interface.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - -nm-settings-system-interface - - - - - - - - - - - - - - - - - - - -
-
-
- - -
-

nm-settings-system-interface

-

nm-settings-system-interface

-
- -
-

Description

-

-

-
-
-

Details

-
-

enum NMSettingsSystemPermissions

-
typedef enum {
-	NM_SETTINGS_SYSTEM_PERMISSION_NONE = 0x0,
-	NM_SETTINGS_SYSTEM_PERMISSION_CONNECTION_MODIFY = 0x1,
-	NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARE_PROTECTED = 0x2,
-	NM_SETTINGS_SYSTEM_PERMISSION_WIFI_SHARE_OPEN = 0x4,
-	NM_SETTINGS_SYSTEM_PERMISSION_HOSTNAME_MODIFY = 0x8
-} NMSettingsSystemPermissions;
-
-

-

-
-
-
-

NM_SETTINGS_SYSTEM_INTERFACE_GET_INTERFACE()

-
#define NM_SETTINGS_SYSTEM_INTERFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), NM_TYPE_SETTINGS_SYSTEM_INTERFACE, NMSettingsSystemInterface))
-
-

-

-
-- - - - -

obj :

-
-
-
-
-

NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME

-
#define NM_SETTINGS_SYSTEM_INTERFACE_HOSTNAME          "hostname"
-
-

-

-
-
-
-

NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY

-
#define NM_SETTINGS_SYSTEM_INTERFACE_CAN_MODIFY        "can-modify"
-
-

-

-
-
-
-

NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS

-
#define NM_SETTINGS_SYSTEM_INTERFACE_CHECK_PERMISSIONS "check-permissions"
-
-

-

-
-
-
-

enum NMSettingsSystemInterfaceProp

-
typedef enum {
-	NM_SETTINGS_SYSTEM_INTERFACE_PROP_FIRST = 0x1000,
-
-	NM_SETTINGS_SYSTEM_INTERFACE_PROP_HOSTNAME = NM_SETTINGS_SYSTEM_INTERFACE_PROP_FIRST,
-	NM_SETTINGS_SYSTEM_INTERFACE_PROP_CAN_MODIFY
-} NMSettingsSystemInterfaceProp;
-
-

-

-
-
-
-

NMSettingsSystemInterface

-
typedef struct {
-	GTypeInterface g_iface;
-
-	/* Methods */
-	gboolean (*save_hostname) (NMSettingsSystemInterface *settings,
-	                           const char *hostname,
-	                           NMSettingsSystemSaveHostnameFunc callback,
-	                           gpointer user_data);
-
-	gboolean (*get_permissions) (NMSettingsSystemInterface *settings,
-	                             NMSettingsSystemGetPermissionsFunc callback,
-	                             gpointer user_data);
-
-	/* Signals */
-	void (*check_permissions) (NMSettingsSystemInterface *settings);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-} NMSettingsSystemInterface;
-
-

-

-
-
-
-

NMSettingsSystemSaveHostnameFunc ()

-
void                (*NMSettingsSystemSaveHostnameFunc) (NMSettingsSystemInterface *settings,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

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

settings :

-

error :

-

user_data :

-
-
-
-
-

NMSettingsSystemGetPermissionsFunc ()

-
void                (*NMSettingsSystemGetPermissionsFunc)
-                                                        (NMSettingsSystemInterface *settings,
-                                                         NMSettingsSystemPermissions permissions,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

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

settings :

-

permissions :

-

error :

-

user_data :

-
-
-
-
-

nm_settings_system_interface_save_hostname ()

-
gboolean            nm_settings_system_interface_save_hostname
-                                                        (NMSettingsSystemInterface *settings,
-                                                         const char *hostname,
-                                                         NMSettingsSystemSaveHostnameFunc callback,
-                                                         gpointer user_data);
-

-Requests that the machine's persistent hostname be set to the specified value -or cleared. -

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

settings :

a object implementing NMSettingsSystemInterface -

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 -

user_data :

caller-specific data passed to callback -

Returns :

TRUE if the request was successful, FALSE if it failed -
-
-
-
-

nm_settings_system_interface_get_permissions ()

-
gboolean            nm_settings_system_interface_get_permissions
-                                                        (NMSettingsSystemInterface *settings,
-                                                         NMSettingsSystemGetPermissionsFunc callback,
-                                                         gpointer user_data);
-

-Requests an indication of the operations the caller is permitted to perform -including those that may require authorization. -

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

settings :

a object implementing NMSettingsSystemInterface -

callback :

callback to be called when the permissions operation completes -

user_data :

caller-specific data passed to callback -

Returns :

TRUE if the request was successful, FALSE if it failed -
-
-
-
- - - \ 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 4f136208..478abeaa 100644 --- a/docs/libnm-glib/html/libnm-glib-nm-types.html +++ b/docs/libnm-glib/html/libnm-glib-nm-types.html @@ -3,22 +3,22 @@ nm-types - + - - - + + + - + - +