From de06e5715e780baade318f3490ac7a4c9ce84e32 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 24 Mar 2012 01:37:02 +0100 Subject: Imported Upstream version 0.9.4.0 --- docs/libnm-util/html/NMConnection.html | 157 ++++++++++++++++++++++++++++++--- 1 file changed, 146 insertions(+), 11 deletions(-) (limited to 'docs/libnm-util/html/NMConnection.html') diff --git a/docs/libnm-util/html/NMConnection.html b/docs/libnm-util/html/NMConnection.html index 19914db2..45911ba8 100644 --- a/docs/libnm-util/html/NMConnection.html +++ b/docs/libnm-util/html/NMConnection.html @@ -49,6 +49,7 @@ NMConnection; NMConnectionClass; enum NMConnectionError; +#define NM_CONNECTION_ERROR #define NM_CONNECTION_PATH void nm_connection_add_setting (NMConnection *connection, NMSetting *setting); @@ -59,11 +60,11 @@ enum gpointer user_data); gboolean nm_connection_compare (NMConnection *a, NMConnection *b, - NMSettingCompareFlags flags); + NMSettingCompareFlags flags); NMSetting * nm_connection_create_setting (const char *name); gboolean nm_connection_diff (NMConnection *a, NMConnection *b, - NMSettingCompareFlags flags, + NMSettingCompareFlags flags, GHashTable **out_settings); void nm_connection_dump (NMConnection *connection); NMConnection * nm_connection_duplicate (NMConnection *connection); @@ -79,12 +80,15 @@ const char * NMSetting8021x * nm_connection_get_setting_802_1x (NMConnection *connection); NMSettingBluetooth * nm_connection_get_setting_bluetooth (NMConnection *connection); +NMSettingBond * nm_connection_get_setting_bond (NMConnection *connection); NMSetting * nm_connection_get_setting_by_name (NMConnection *connection, const char *name); NMSettingCdma * nm_connection_get_setting_cdma (NMConnection *connection); NMSettingConnection * nm_connection_get_setting_connection (NMConnection *connection); NMSettingGsm * nm_connection_get_setting_gsm (NMConnection *connection); +NMSettingInfiniband * nm_connection_get_setting_infiniband + (NMConnection *connection); NMSettingIP4Config * nm_connection_get_setting_ip4_config (NMConnection *connection); NMSettingIP6Config * nm_connection_get_setting_ip6_config @@ -92,6 +96,8 @@ const char * NMSettingOlpcMesh * nm_connection_get_setting_olpc_mesh (NMConnection *connection); NMSettingPPP * nm_connection_get_setting_ppp (NMConnection *connection); NMSettingPPPOE * nm_connection_get_setting_pppoe (NMConnection *connection); +NMSettingSerial * nm_connection_get_setting_serial (NMConnection *connection); +NMSettingVlan * nm_connection_get_setting_vlan (NMConnection *connection); NMSettingVPN * nm_connection_get_setting_vpn (NMConnection *connection); NMSettingWimax * nm_connection_get_setting_wimax (NMConnection *connection); NMSettingWired * nm_connection_get_setting_wired (NMConnection *connection); @@ -99,6 +105,8 @@ const char * NMSettingWirelessSecurity * nm_connection_get_setting_wireless_security (NMConnection *connection); const char * nm_connection_get_uuid (NMConnection *connection); +const char * nm_connection_get_virtual_iface_name + (NMConnection *connection); gboolean nm_connection_is_type (NMConnection *connection, const char *type); GType nm_connection_lookup_setting_type (const char *name); @@ -117,7 +125,7 @@ const char * void nm_connection_set_path (NMConnection *connection, const char *path); GHashTable * nm_connection_to_hash (NMConnection *connection, - NMSettingHashFlags flags); + NMSettingHashFlags flags); gboolean nm_connection_update_secrets (NMConnection *connection, const char *setting_name, GHashTable *secrets, @@ -195,10 +203,10 @@ It should only be accessed through the functions described below.

enum NMConnectionError

typedef enum {
-	NM_CONNECTION_ERROR_UNKNOWN = 0,
-	NM_CONNECTION_ERROR_CONNECTION_SETTING_NOT_FOUND,
-	NM_CONNECTION_ERROR_CONNECTION_TYPE_INVALID,
-	NM_CONNECTION_ERROR_SETTING_NOT_FOUND
+	NM_CONNECTION_ERROR_UNKNOWN = 0,                  /*< nick=UnknownError >*/
+	NM_CONNECTION_ERROR_CONNECTION_SETTING_NOT_FOUND, /*< nick=ConnectionSettingNotFound >*/
+	NM_CONNECTION_ERROR_CONNECTION_TYPE_INVALID,      /*< nick=ConnectionTypeInvalid >*/
+	NM_CONNECTION_ERROR_SETTING_NOT_FOUND             /*< nick=SettingNotFound >*/
 } NMConnectionError;
 

@@ -238,6 +246,14 @@ Describes errors that may result from operations involving a


+

NM_CONNECTION_ERROR

+
#define NM_CONNECTION_ERROR nm_connection_error_quark ()
+
+

+

+
+
+

NM_CONNECTION_PATH

#define NM_CONNECTION_PATH "path"
 
@@ -325,7 +341,7 @@ specific secret should be cleared or not. [

nm_connection_compare ()

gboolean            nm_connection_compare               (NMConnection *a,
                                                          NMConnection *b,
-                                                         NMSettingCompareFlags flags);
+ NMSettingCompareFlags flags);

Compares two NMConnection objects for similarity, with comparison behavior modified by a set of flags. See nm_setting_compare() for a description of @@ -383,7 +399,7 @@ Create a new

nm_connection_diff ()

gboolean            nm_connection_diff                  (NMConnection *a,
                                                          NMConnection *b,
-                                                         NMSettingCompareFlags flags,
+                                                         NMSettingCompareFlags flags,
                                                          GHashTable **out_settings);

Compares two NMConnection objects for similarity, with comparison behavior @@ -414,7 +430,7 @@ No values are returned, only key names. if the connections differ, on return a hash table mapping setting names to second-level GHashTable (utf8 to guint32), which contains the key names that -differ mapped to one or more of NMSettingDiffResult as a bitfield. [element-type utf8 GLib.HashTable] +differ mapped to one or more of NMSettingDiffResult as a bitfield. [element-type utf8 GLib.HashTable] @@ -637,6 +653,29 @@ A shortcut to return any +

nm_connection_get_setting_bond ()

+
NMSettingBond *     nm_connection_get_setting_bond      (NMConnection *connection);
+

+A shortcut to return any NMSettingBond the connection might contain. +

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

connection :

the NMConnection +

Returns :

an NMSettingBond if the connection contains one, otherwise NULL. [transfer none] +
+
+
+

nm_connection_get_setting_by_name ()

NMSetting *         nm_connection_get_setting_by_name   (NMConnection *connection,
                                                          const char *name);
@@ -737,6 +776,30 @@ A shortcut to return any +

nm_connection_get_setting_infiniband ()

+
NMSettingInfiniband * nm_connection_get_setting_infiniband
+                                                        (NMConnection *connection);
+

+A shortcut to return any NMSettingInfiniband the connection might contain. +

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

connection :

the NMConnection +

Returns :

an NMSettingInfiniband if the connection contains one, otherwise NULL. [transfer none] +
+
+
+

nm_connection_get_setting_ip4_config ()

NMSettingIP4Config * nm_connection_get_setting_ip4_config
                                                         (NMConnection *connection);
@@ -854,6 +917,52 @@ A shortcut to return any NMSettingPPOE the connection

+

nm_connection_get_setting_serial ()

+
NMSettingSerial *   nm_connection_get_setting_serial    (NMConnection *connection);
+

+A shortcut to return any NMSettingSerial the connection might contain. +

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

connection :

the NMConnection +

Returns :

an NMSettingSerial if the connection contains one, otherwise NULL. [transfer none] +
+
+
+
+

nm_connection_get_setting_vlan ()

+
NMSettingVlan *     nm_connection_get_setting_vlan      (NMConnection *connection);
+

+A shortcut to return any NMSettingVlan the connection might contain. +

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

connection :

the NMConnection +

Returns :

an NMSettingVlan if the connection contains one, otherwise NULL. [transfer none] +
+
+
+

nm_connection_get_setting_vpn ()

NMSettingVPN *      nm_connection_get_setting_vpn       (NMConnection *connection);

@@ -992,6 +1101,32 @@ A shortcut to return the UUID from the connection's +

nm_connection_get_virtual_iface_name ()

+
const char *        nm_connection_get_virtual_iface_name
+                                                        (NMConnection *connection);
+

+Returns the name of the virtual kernel interface which the connection +needs to use if specified in the settings. This function abstracts all +connection types which require this functionality. For all other +connection types, this function will return NULL. +

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

connection :

The NMConnection +

Returns :

Name of the kernel interface or NULL
+
+
+

nm_connection_is_type ()

gboolean            nm_connection_is_type               (NMConnection *connection,
                                                          const char *type);
@@ -1235,7 +1370,7 @@ which provides the connection

nm_connection_to_hash ()

GHashTable *        nm_connection_to_hash               (NMConnection *connection,
-                                                         NMSettingHashFlags flags);
+ NMSettingHashFlags flags);

Converts the NMConnection into a GHashTable describing the connection, suitable for marshalling over D-Bus or serializing. The hash table mapping -- cgit 1.3.0-6-gf8a5