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/NMSettingConnection.html | 230 +++++++++++++++++++++++++- 1 file changed, 226 insertions(+), 4 deletions(-) (limited to 'docs/libnm-util/html/NMSettingConnection.html') diff --git a/docs/libnm-util/html/NMSettingConnection.html b/docs/libnm-util/html/NMSettingConnection.html index 0089fc41..360c9743 100644 --- a/docs/libnm-util/html/NMSettingConnection.html +++ b/docs/libnm-util/html/NMSettingConnection.html @@ -48,13 +48,22 @@ NMSettingConnectionClass; enum NMSettingConnectionError; #define NM_SETTING_CONNECTION_AUTOCONNECT +#define NM_SETTING_CONNECTION_ERROR #define NM_SETTING_CONNECTION_ID +#define NM_SETTING_CONNECTION_MASTER #define NM_SETTING_CONNECTION_PERMISSIONS #define NM_SETTING_CONNECTION_READ_ONLY #define NM_SETTING_CONNECTION_SETTING_NAME +#define NM_SETTING_CONNECTION_SLAVE_TYPE #define NM_SETTING_CONNECTION_TIMESTAMP #define NM_SETTING_CONNECTION_TYPE #define NM_SETTING_CONNECTION_UUID +#define NM_SETTING_CONNECTION_ZONE +#define NM_SETTING_CONNECTION_ZONE_BLOCK +#define NM_SETTING_CONNECTION_ZONE_HOME +#define NM_SETTING_CONNECTION_ZONE_PUBLIC +#define NM_SETTING_CONNECTION_ZONE_TRUSTED +#define NM_SETTING_CONNECTION_ZONE_WORK gboolean nm_setting_connection_add_permission (NMSettingConnection *setting, const char *ptype, @@ -66,6 +75,7 @@ enum char * nm_setting_connection_get_connection_type (NMSettingConnection *setting); const char * nm_setting_connection_get_id (NMSettingConnection *setting); +const char * nm_setting_connection_get_master (NMSettingConnection *setting); guint32 nm_setting_connection_get_num_permissions (NMSettingConnection *setting); gboolean nm_setting_connection_get_permission @@ -75,8 +85,13 @@ const char * const char **out_pitem, const char **out_detail); gboolean nm_setting_connection_get_read_only (NMSettingConnection *setting); +const char * nm_setting_connection_get_slave_type + (NMSettingConnection *setting); guint64 nm_setting_connection_get_timestamp (NMSettingConnection *setting); const char * nm_setting_connection_get_uuid (NMSettingConnection *setting); +const char * nm_setting_connection_get_zone (NMSettingConnection *setting); +gboolean nm_setting_connection_is_slave_type (NMSettingConnection *setting, + const char *type); NMSetting * nm_setting_connection_new (void); gboolean nm_setting_connection_permissions_user_allowed (NMSettingConnection *setting, @@ -103,11 +118,14 @@ const char * "autoconnect" gboolean : Read / Write / Construct "id" gchar* : Read / Write + "master" gchar* : Read / Write "permissions" GSList_gchararray_* : Read / Write "read-only" gboolean : Read / Write / Construct + "slave-type" gchar* : Read / Write "timestamp" guint64 : Read / Write / Construct "type" gchar* : Read / Write "uuid" gchar* : Read / Write + "zone" gchar* : Read / Write / Construct
@@ -149,10 +167,11 @@ It should only be accessed through the functions described below.

enum NMSettingConnectionError

typedef enum {
-	NM_SETTING_CONNECTION_ERROR_UNKNOWN = 0,
-	NM_SETTING_CONNECTION_ERROR_INVALID_PROPERTY,
-	NM_SETTING_CONNECTION_ERROR_MISSING_PROPERTY,
-	NM_SETTING_CONNECTION_ERROR_TYPE_SETTING_NOT_FOUND
+	NM_SETTING_CONNECTION_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
+	NM_SETTING_CONNECTION_ERROR_INVALID_PROPERTY,       /*< nick=InvalidProperty >*/
+	NM_SETTING_CONNECTION_ERROR_MISSING_PROPERTY,       /*< nick=MissingProperty >*/
+	NM_SETTING_CONNECTION_ERROR_TYPE_SETTING_NOT_FOUND, /*< nick=TypeSettingNotFound >*/
+	NM_SETTING_CONNECTION_ERROR_IP_CONFIG_NOT_ALLOWED,  /*< nick=IpConfigNotAllowed >*/
 } NMSettingConnectionError;
 

@@ -186,6 +205,12 @@ Describes errors that may result from operations involving a "type" property was not present in the NMConnection + +

NM_SETTING_CONNECTION_ERROR_IP_CONFIG_NOT_ALLOWED

+ip configuration is not + allowed to be present. + +
@@ -199,6 +224,14 @@ Describes errors that may result from operations involving a
+

NM_SETTING_CONNECTION_ERROR

+
#define NM_SETTING_CONNECTION_ERROR nm_setting_connection_error_quark ()
+
+

+

+
+
+

NM_SETTING_CONNECTION_ID

#define NM_SETTING_CONNECTION_ID          "id"
 
@@ -207,6 +240,14 @@ Describes errors that may result from operations involving a

+

NM_SETTING_CONNECTION_MASTER

+
#define NM_SETTING_CONNECTION_MASTER      "master"
+
+

+

+
+
+

NM_SETTING_CONNECTION_PERMISSIONS

#define NM_SETTING_CONNECTION_PERMISSIONS "permissions"
 
@@ -231,6 +272,14 @@ Describes errors that may result from operations involving a

+

NM_SETTING_CONNECTION_SLAVE_TYPE

+
#define NM_SETTING_CONNECTION_SLAVE_TYPE  "slave-type"
+
+

+

+
+
+

NM_SETTING_CONNECTION_TIMESTAMP

#define NM_SETTING_CONNECTION_TIMESTAMP   "timestamp"
 
@@ -255,6 +304,54 @@ Describes errors that may result from operations involving a

+

NM_SETTING_CONNECTION_ZONE

+
#define NM_SETTING_CONNECTION_ZONE        "zone"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_ZONE_BLOCK

+
#define NM_SETTING_CONNECTION_ZONE_BLOCK     "block"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_ZONE_HOME

+
#define NM_SETTING_CONNECTION_ZONE_HOME      "home"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_ZONE_PUBLIC

+
#define NM_SETTING_CONNECTION_ZONE_PUBLIC    "public"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_ZONE_TRUSTED

+
#define NM_SETTING_CONNECTION_ZONE_TRUSTED   "trusted"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_ZONE_WORK

+
#define NM_SETTING_CONNECTION_ZONE_WORK      "work"
+
+

+

+
+
+

nm_setting_connection_add_permission ()

gboolean            nm_setting_connection_add_permission
                                                         (NMSettingConnection *setting,
@@ -382,6 +479,29 @@ Returns the 
+

nm_setting_connection_get_master ()

+
const char *        nm_setting_connection_get_master    (NMSettingConnection *setting);
+

+Returns the "master" property of the connection. +

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

setting :

the NMSettingConnection +

Returns :

interface name of the master device or UUID of the master +connection.
+
+
+

nm_setting_connection_get_num_permissions ()

guint32             nm_setting_connection_get_num_permissions
                                                         (NMSettingConnection *setting);
@@ -475,6 +595,29 @@ Returns the +

nm_setting_connection_get_slave_type ()

+
const char *        nm_setting_connection_get_slave_type
+                                                        (NMSettingConnection *setting);
+

+Returns the "slave-type" property of the connection. +

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

setting :

the NMSettingConnection +

Returns :

the type of slave this connection is, if any
+
+
+

nm_setting_connection_get_timestamp ()

guint64             nm_setting_connection_get_timestamp (NMSettingConnection *setting);

@@ -519,6 +662,54 @@ Returns the +

nm_setting_connection_get_zone ()

+
const char *        nm_setting_connection_get_zone      (NMSettingConnection *setting);
+

+Returns the "zone" property of the connection. +

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

setting :

the NMSettingConnection +

Returns :

the trust level of a connection
+
+
+
+

nm_setting_connection_is_slave_type ()

+
gboolean            nm_setting_connection_is_slave_type (NMSettingConnection *setting,
+                                                         const char *type);
+
++ + + + + + + + + + + + + + +

setting :

the NMSettingConnection +

type :

the setting name (ie NM_SETTING_BOND_SETTING_NAME) to be matched +against setting's slave type

Returns :

TRUE if connection is of the given slave type +
+
+
+

nm_setting_connection_new ()

NMSetting *         nm_setting_connection_new           (void);

@@ -612,6 +803,15 @@ A human readable unique idenfier for the connection, like "Work WiFi" or


+

The "master" property

+
  "master"                   gchar*                : Read / Write
+

+Interface name of the master device or UUID of the master connection. +

+

Default value: NULL

+
+
+

The "permissions" property

  "permissions"              GSList_gchararray_*   : Read / Write

@@ -645,6 +845,16 @@ if the connection is read-only and cannot be modified.


+

The "slave-type" property

+
  "slave-type"               gchar*                : Read / Write
+

+Setting name describing the type of slave device (ie +NM_SETTING_BOND_SETTING_NAME) or NULL if this connection is not a slave. +

+

Default value: NULL

+
+
+

The "timestamp" property

  "timestamp"                guint64               : Read / Write / Construct

@@ -686,6 +896,18 @@ be generated by +

The "zone" property

+
  "zone"                     gchar*                : Read / Write / Construct
+

+The trust level of a the connection. +Free form case-insensitive string (for example "Home", "Work", "Public"). +NULL or unspecified zone means the connection will be placed in the +default zone as defined by the firewall. +

+

Default value: NULL

+