From 9fae01fa351805b2903e535736e06971bc0b925e Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 29 Nov 2010 00:47:11 +0100 Subject: Imported Upstream version 0.8.1 --- docs/libnm-util/html/NMConnection.html | 1011 +++++++ docs/libnm-util/html/NMSetting.html | 725 +++++ docs/libnm-util/html/NMSetting8021x.html | 2835 +++++++++++++++++ docs/libnm-util/html/NMSettingBluetooth.html | 292 ++ docs/libnm-util/html/NMSettingCdma.html | 322 ++ docs/libnm-util/html/NMSettingConnection.html | 514 ++++ docs/libnm-util/html/NMSettingGsm.html | 759 +++++ docs/libnm-util/html/NMSettingIP4Config.html | 1774 +++++++++++ docs/libnm-util/html/NMSettingIP6Config.html | 1636 ++++++++++ docs/libnm-util/html/NMSettingOlpcMesh.html | 316 ++ docs/libnm-util/html/NMSettingPPP.html | 968 ++++++ docs/libnm-util/html/NMSettingPPPOE.html | 317 ++ docs/libnm-util/html/NMSettingSerial.html | 405 +++ docs/libnm-util/html/NMSettingVPN.html | 579 ++++ docs/libnm-util/html/NMSettingWired.html | 444 +++ docs/libnm-util/html/NMSettingWireless.html | 797 +++++ .../libnm-util/html/NMSettingWirelessSecurity.html | 1151 +++++++ docs/libnm-util/html/api-index-full.html | 3197 ++++++++++++++++++++ docs/libnm-util/html/ch01.html | 86 + docs/libnm-util/html/home.png | Bin 0 -> 654 bytes docs/libnm-util/html/index.html | 91 + docs/libnm-util/html/index.sgml | 925 ++++++ docs/libnm-util/html/left.png | Bin 0 -> 459 bytes docs/libnm-util/html/libnm-util-nm-utils.html | 1074 +++++++ docs/libnm-util/html/libnm-util.devhelp | 813 +++++ docs/libnm-util/html/libnm-util.devhelp2 | 830 +++++ docs/libnm-util/html/object-tree.html | 50 + docs/libnm-util/html/right.png | Bin 0 -> 472 bytes docs/libnm-util/html/style.css | 257 ++ docs/libnm-util/html/up.png | Bin 0 -> 406 bytes 30 files changed, 22168 insertions(+) create mode 100644 docs/libnm-util/html/NMConnection.html create mode 100644 docs/libnm-util/html/NMSetting.html create mode 100644 docs/libnm-util/html/NMSetting8021x.html create mode 100644 docs/libnm-util/html/NMSettingBluetooth.html create mode 100644 docs/libnm-util/html/NMSettingCdma.html create mode 100644 docs/libnm-util/html/NMSettingConnection.html create mode 100644 docs/libnm-util/html/NMSettingGsm.html create mode 100644 docs/libnm-util/html/NMSettingIP4Config.html create mode 100644 docs/libnm-util/html/NMSettingIP6Config.html create mode 100644 docs/libnm-util/html/NMSettingOlpcMesh.html create mode 100644 docs/libnm-util/html/NMSettingPPP.html create mode 100644 docs/libnm-util/html/NMSettingPPPOE.html create mode 100644 docs/libnm-util/html/NMSettingSerial.html create mode 100644 docs/libnm-util/html/NMSettingVPN.html create mode 100644 docs/libnm-util/html/NMSettingWired.html create mode 100644 docs/libnm-util/html/NMSettingWireless.html create mode 100644 docs/libnm-util/html/NMSettingWirelessSecurity.html create mode 100644 docs/libnm-util/html/api-index-full.html create mode 100644 docs/libnm-util/html/ch01.html create mode 100644 docs/libnm-util/html/home.png create mode 100644 docs/libnm-util/html/index.html create mode 100644 docs/libnm-util/html/index.sgml create mode 100644 docs/libnm-util/html/left.png create mode 100644 docs/libnm-util/html/libnm-util-nm-utils.html create mode 100644 docs/libnm-util/html/libnm-util.devhelp create mode 100644 docs/libnm-util/html/libnm-util.devhelp2 create mode 100644 docs/libnm-util/html/object-tree.html create mode 100644 docs/libnm-util/html/right.png create mode 100644 docs/libnm-util/html/style.css create mode 100644 docs/libnm-util/html/up.png (limited to 'docs/libnm-util/html') diff --git a/docs/libnm-util/html/NMConnection.html b/docs/libnm-util/html/NMConnection.html new file mode 100644 index 00000000..40734343 --- /dev/null +++ b/docs/libnm-util/html/NMConnection.html @@ -0,0 +1,1011 @@ + + + + +NMConnection + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMConnection

+

NMConnection — Describes a connection to specific network or provider

+
+
+

Synopsis

+
+#include <nm-connection.h>
+
+enum                NMConnectionScope;
+enum                NMConnectionError;
+#define             NM_TYPE_CONNECTION_ERROR
+#define             NM_CONNECTION_ERROR
+GQuark              nm_connection_error_quark           (void);
+#define             NM_CONNECTION_SCOPE
+#define             NM_CONNECTION_PATH
+                    NMConnection;
+                    NMConnectionClass;
+GType               nm_connection_get_type              (void);
+NMConnection *      nm_connection_new                   (void);
+NMConnection *      nm_connection_new_from_hash         (GHashTable *hash,
+                                                         GError **error);
+NMConnection *      nm_connection_duplicate             (NMConnection *connection);
+void                nm_connection_add_setting           (NMConnection *connection,
+                                                         NMSetting *setting);
+void                nm_connection_remove_setting        (NMConnection *connection,
+                                                         GType setting_type);
+NMSetting *         nm_connection_get_setting           (NMConnection *connection,
+                                                         GType setting_type);
+NMSetting *         nm_connection_get_setting_by_name   (NMConnection *connection,
+                                                         const char *name);
+gboolean            nm_connection_replace_settings      (NMConnection *connection,
+                                                         GHashTable *new_settings,
+                                                         GError **error);
+gboolean            nm_connection_compare               (NMConnection *a,
+                                                         NMConnection *b,
+                                                         NMSettingCompareFlags flags);
+gboolean            nm_connection_verify                (NMConnection *connection,
+                                                         GError **error);
+const char *        nm_connection_need_secrets          (NMConnection *connection,
+                                                         GPtrArray **hints);
+void                nm_connection_clear_secrets         (NMConnection *connection);
+gboolean            nm_connection_update_secrets        (NMConnection *connection,
+                                                         const char *setting_name,
+                                                         GHashTable *secrets,
+                                                         GError **error);
+void                nm_connection_set_scope             (NMConnection *connection,
+                                                         NMConnectionScope scope);
+NMConnectionScope   nm_connection_get_scope             (NMConnection *connection);
+void                nm_connection_set_path              (NMConnection *connection,
+                                                         const char *path);
+const char *        nm_connection_get_path              (NMConnection *connection);
+void                nm_connection_for_each_setting_value
+                                                        (NMConnection *connection,
+                                                         NMSettingValueIterFn func,
+                                                         gpointer user_data);
+GHashTable *        nm_connection_to_hash               (NMConnection *connection);
+void                nm_connection_dump                  (NMConnection *connection);
+NMSetting *         nm_connection_create_setting        (const char *name);
+GType               nm_connection_lookup_setting_type   (const char *name);
+GType               nm_connection_lookup_setting_type_by_quark
+                                                        (GQuark error_quark);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMConnection
+
+
+
+

Properties

+
+  "path"                     gchar*                : Read / Write / Construct
+  "scope"                    guint                 : Read / Write / Construct
+
+
+
+

Signals

+
+  "secrets-updated"                                : Run First
+
+
+
+

Description

+

+An NMConnection describes all the settings and configuration values that +are necessary to configure network devices for operation on a specific +network. Connections are the fundamental operating object for +NetworkManager; no device is connected without a NMConnection, or +disconnected without having been connected with a NMConnection. +

+

+Each NMConnection contains a list of NMSetting objects usually referenced +by name (using nm_connection_get_setting_by_name()) or by type (with +nm_connection_get_setting()). The settings describe the actual parameters +with which the network devices are configured, including device-specific +parameters (MTU, SSID, APN, channel, rate, etc) and IP-level parameters +(addresses, routes, addressing methods, etc). +

+

+Most connections also have a NMConnectionScope; a connection will be +provided over D-Bus either by the user settings service +(org.freedesktop.NetworkManagerUserSettings) running in an active user +session, or by the system-wide system settings service +(org.freedesktop.NetworkManagerSystemSettings) which provides connections +for all users. +

+
+
+

Details

+
+

enum NMConnectionScope

+
typedef enum {
+	NM_CONNECTION_SCOPE_UNKNOWN = 0,
+	NM_CONNECTION_SCOPE_SYSTEM,
+	NM_CONNECTION_SCOPE_USER
+} NMConnectionScope;
+
+

+Connection scope indicated what settings service, if any, provides the +connection. +

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

NM_CONNECTION_SCOPE_UNKNOWN

scope not known or not yet set +

NM_CONNECTION_SCOPE_SYSTEM

connection is provided by the system settings + service +

NM_CONNECTION_SCOPE_USER

connection is provided by a user settings service +
+
+
+
+

enum NMConnectionError

+
typedef enum
+{
+	NM_CONNECTION_ERROR_UNKNOWN = 0,
+	NM_CONNECTION_ERROR_CONNECTION_SETTING_NOT_FOUND
+} NMConnectionError;
+
+

+Describes errors that may result from operations involving a NMConnection. +

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

NM_CONNECTION_ERROR_UNKNOWN

unknown or unclassified error +

NM_CONNECTION_ERROR_CONNECTION_SETTING_NOT_FOUND

the NMConnection object + did not contain the required NMSettingConnection object, which must be + present for all connections +
+
+
+
+

NM_TYPE_CONNECTION_ERROR

+
#define NM_TYPE_CONNECTION_ERROR (nm_connection_error_get_type ()) 
+
+

+

+
+
+
+

NM_CONNECTION_ERROR

+
#define NM_CONNECTION_ERROR nm_connection_error_quark ()
+
+

+

+
+
+
+

nm_connection_error_quark ()

+
GQuark              nm_connection_error_quark           (void);
+

+Registers an error quark for NMConnection if necessary. +

+
++ + + + +

Returns :

the error quark used for NMConnection errors. +
+
+
+
+

NM_CONNECTION_SCOPE

+
#define NM_CONNECTION_SCOPE "scope"
+
+

+

+
+
+
+

NM_CONNECTION_PATH

+
#define NM_CONNECTION_PATH "path"
+
+

+

+
+
+
+

NMConnection

+
typedef struct _NMConnection NMConnection;
+

+The NMConnection struct contains only private data. +It should only be accessed through the functions described below. +

+
+
+
+

NMConnectionClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* Signals */
+	void (*secrets_updated) (NMConnection *connection, const char * setting);
+} NMConnectionClass;
+
+

+

+
+
+
+

nm_connection_get_type ()

+
GType               nm_connection_get_type              (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_connection_new ()

+
NMConnection *      nm_connection_new                   (void);
+

+Creates a new NMConnection object with no NMSetting objects. +

+
++ + + + +

Returns :

the new empty NMConnection object +
+
+
+
+

nm_connection_new_from_hash ()

+
NMConnection *      nm_connection_new_from_hash         (GHashTable *hash,
+                                                         GError **error);
+

+Creates a new NMConnection from a hash table describing the connection. See +nm_connection_to_hash() for a description of the expected hash table. +

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

hash :

the GHashTable describing the connection +

error :

on unsuccessful return, an error +

Returns :

the new NMConnection object, populated with settings created +from the values in the hash table, or NULL if the connection failed to +validate +
+
+
+
+

nm_connection_duplicate ()

+
NMConnection *      nm_connection_duplicate             (NMConnection *connection);
+

+Duplicates a NMConnection. +

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

connection :

the NMConnection to duplicate +

Returns :

a new NMConnection containing the same settings and properties +as the source NMConnection +
+
+
+
+

nm_connection_add_setting ()

+
void                nm_connection_add_setting           (NMConnection *connection,
+                                                         NMSetting *setting);
+

+Adds a NMSetting to the connection, replacing any previous NMSetting of the +same name which has previously been added to the NMConnection. The +connection takes ownership of the NMSetting object and does not increase +the setting object's reference count. +

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

connection :

a NMConnection +

setting :

the NMSetting to add to the connection object +
+
+
+
+

nm_connection_remove_setting ()

+
void                nm_connection_remove_setting        (NMConnection *connection,
+                                                         GType setting_type);
+

+Removes the NMSetting with the given GType from the NMConnection. This +operation dereferences the NMSetting object. +

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

connection :

a NMConnection +

setting_type :

the GType of the setting object to remove +
+
+
+
+

nm_connection_get_setting ()

+
NMSetting *         nm_connection_get_setting           (NMConnection *connection,
+                                                         GType setting_type);
+

+Gets the NMSetting with the given GType, if one has been previously added +to the NMConnection. +

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

connection :

a NMConnection +

setting_type :

the GType of the setting object to return +

Returns :

the NMSetting, or NULL if no setting of that type was previously +added to the NMConnection +
+
+
+
+

nm_connection_get_setting_by_name ()

+
NMSetting *         nm_connection_get_setting_by_name   (NMConnection *connection,
+                                                         const char *name);
+

+Gets the NMSetting with the given name, if one has been previously added +the the NMConnection. +

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

connection :

a NMConnection +

name :

a setting name +

Returns :

the NMSetting, or NULL if no setting with that name was previously +added to the NMConnection +
+
+
+
+

nm_connection_replace_settings ()

+
gboolean            nm_connection_replace_settings      (NMConnection *connection,
+                                                         GHashTable *new_settings,
+                                                         GError **error);
+
++ + + + + + + + + + + + + + + + + + +

connection :

a NMConnection +

new_settings :

a GHashTable of settings +

error :

location to store error, or NULL +

Returns :

TRUE if the settings were valid and added to the connection, FALSE +if they were not +
+
+
+
+

nm_connection_compare ()

+
gboolean            nm_connection_compare               (NMConnection *a,
+                                                         NMConnection *b,
+                                                         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 +each flag's behavior. +

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

a :

a NMConnection +

b :

a second NMConnection to compare with the first +

flags :

compare flags, e.g. NM_SETTING_COMPARE_FLAG_EXACT +

Returns :

TRUE if the comparison succeeds, FALSE if it does not +
+
+
+
+

nm_connection_verify ()

+
gboolean            nm_connection_verify                (NMConnection *connection,
+                                                         GError **error);
+

+Validates the connection and all its settings. Each setting's properties +have allowed values, and some values are dependent on other values. For +example, if a WiFi connection is security enabled, the NMSettingWireless +setting object's 'security' property must contain the setting name of the +NMSettingWirelessSecurity object, which must also be present in the +connection for the connection to be valid. As another example, the +NMSettingWired object's 'mac-address' property must be a validly formatted +MAC address. The returned GError contains information about which +setting and which property failed validation, and how it failed validation. +

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

connection :

the NMConnection to verify +

error :

location to store error, or NULL +

Returns :

TRUE if the connection is valid, FALSE if it is not +
+
+
+
+

nm_connection_need_secrets ()

+
const char *        nm_connection_need_secrets          (NMConnection *connection,
+                                                         GPtrArray **hints);
+

+Returns the name of the first setting object in the connection which would +need secrets to make a successful connection. The returned hints are only +intended as a guide to what secrets may be required, because in some +circumstances, there is no way to conclusively determine exactly which +secrets are needed. +

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

connection :

the NMConnection +

hints :

the address of a pointer to a GPtrArray, initialized to NULL, which +on return points to an allocated GPtrArray containing the property names of +secrets of the NMSetting which may be required; the caller owns the array +and must free the each array element with g_free(), as well as the array +itself with g_ptr_array_free() +

Returns :

the setting name of the NMSetting object which has invalid or +missing secrets +
+
+
+
+

nm_connection_clear_secrets ()

+
void                nm_connection_clear_secrets         (NMConnection *connection);
+

+Clears and frees any secrets that may be stored in the connection, to avoid +keeping secret data in memory when not needed. +

+
++ + + + +

connection :

the NMConnection +
+
+
+
+

nm_connection_update_secrets ()

+
gboolean            nm_connection_update_secrets        (NMConnection *connection,
+                                                         const char *setting_name,
+                                                         GHashTable *secrets,
+                                                         GError **error);
+

+Update the specified setting's secrets, given a hash table of secrets +intended for that setting (deserialized from D-Bus for example). +

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

connection :

the NMConnection +

setting_name :

the setting object name to which the secrets apply +

secrets :

a GHashTable mapping string:GValue of setting property names and +secrets +

error :

location to store error, or NULL +

Returns :

TRUE if the secrets were successfully updated and the connection +is valid, FALSE on failure or if the setting was never added to the connection +
+
+
+
+

nm_connection_set_scope ()

+
void                nm_connection_set_scope             (NMConnection *connection,
+                                                         NMConnectionScope scope);
+

+Sets the scope of the connection. This property is not serialized, and is +only for the reference of the caller. A connection may have no scope +(internal, temporary connections), "system" scope (provided by the system +settings service), or "user" scope, provided by a user settings service. The +creator of the NMConnection object is responsible for setting the +connection's scope if needed. Sets the "scope" property. +

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

connection :

the NMConnection +

scope :

the scope of the connection +
+
+
+
+

nm_connection_get_scope ()

+
NMConnectionScope   nm_connection_get_scope             (NMConnection *connection);
+

+Returns the connection scope. +

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

connection :

the NMConnection +

Returns :

the scope of the connection, previously set by a call to +nm_connection_set_scope(). +
+
+
+
+

nm_connection_set_path ()

+
void                nm_connection_set_path              (NMConnection *connection,
+                                                         const char *path);
+

+Sets the D-Bus path of the connection. This property is not serialized, and +is only for the reference of the caller. Sets the "path" +property. +

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

connection :

the NMConnection +

path :

the D-Bus path of the connection as given by the settings service +which provides the connection +
+
+
+
+

nm_connection_get_path ()

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

+Returns the connection's D-Bus path. +

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

connection :

the NMConnection +

Returns :

the D-Bus path of the connection, previously set by a call to +nm_connection_set_path(). +
+
+
+
+

nm_connection_for_each_setting_value ()

+
void                nm_connection_for_each_setting_value
+                                                        (NMConnection *connection,
+                                                         NMSettingValueIterFn func,
+                                                         gpointer user_data);
+

+Iterates over the properties of each NMSetting object in the NMConnection, +calling the supplied user function for each property. +

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

connection :

the NMConnection +

func :

user-supplied function called for each setting's property +

user_data :

user data passed to func at each invocation +
+
+
+
+

nm_connection_to_hash ()

+
GHashTable *        nm_connection_to_hash               (NMConnection *connection);
+

+Converts the NMConnection into a GHashTable describing the connection, +suitable for marshalling over D-Bus or serializing. The hash table mapping +is string:GHashTable with each element in the returned hash representing +a NMSetting object. The keys are setting object names, and the values +are GHashTables mapping string:GValue, each of which represents the +properties of the NMSetting object. +

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

connection :

the NMConnection +

Returns :

a new GHashTable describing the connection, its settings, and +each setting's properties. The caller owns the hash table and must unref +the hash table with g_hash_table_unref() when it is no longer needed. +
+
+
+
+

nm_connection_dump ()

+
void                nm_connection_dump                  (NMConnection *connection);
+

+Print the connection to stdout. For debugging purposes ONLY, should NOT +be used for serialization of the connection or machine-parsed in any way. The +output format is not guaranteed to be stable and may change at any time. +

+
++ + + + +

connection :

the NMConnection +
+
+
+
+

nm_connection_create_setting ()

+
NMSetting *         nm_connection_create_setting        (const char *name);
+

+Create a new NMSetting object of the desired type, given a setting name. +

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

name :

a setting name +

Returns :

the new setting object, or NULL if the setting name was unknown +
+
+
+
+

nm_connection_lookup_setting_type ()

+
GType               nm_connection_lookup_setting_type   (const char *name);
+

+Returns the GType of the setting's class for a given setting name. +

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

name :

a setting name +

Returns :

the GType of the setting's class +
+
+
+
+

nm_connection_lookup_setting_type_by_quark ()

+
GType               nm_connection_lookup_setting_type_by_quark
+                                                        (GQuark error_quark);
+

+Returns the GType of the setting's class for a given setting error quark. +Useful for figuring out which setting a returned error is for. +

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

error_quark :

a setting error quark +

Returns :

the GType of the setting's class +
+
+
+
+

Property Details

+
+

The "path" property

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

+The connection's D-Bus path, used only by the calling process as a record +of the D-Bus path of the connection as provided by a settings service. +

+

Default value: NULL

+
+
+
+

The "scope" property

+
  "scope"                    guint                 : Read / Write / Construct
+

+The connection's scope, used only by the calling process as a record +of which settings service the connection is provided by. One of the +NM_CONNECTION_SCOPE_* defines. +

+

Allowed values: <= 2

+

Default value: 0

+
+
+
+

Signal Details

+
+

The "secrets-updated" signal

+
void                user_function                      (NMConnection *connection,
+                                                        gchar        *setting_name,
+                                                        gpointer      user_data)         : Run First
+

+The ::secrets-updated signal is emitted when the secrets of a setting +have been changed. +

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

connection :

the object on which the signal is emitted +

setting_name :

the setting name of the NMSetting for which secrets were +updated +

user_data :

user data set when the signal handler was connected.
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSetting.html b/docs/libnm-util/html/NMSetting.html new file mode 100644 index 00000000..181ee2df --- /dev/null +++ b/docs/libnm-util/html/NMSetting.html @@ -0,0 +1,725 @@ + + + + +NMSetting + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSetting

+

NMSetting — Describes related configuration information

+
+
+

Synopsis

+
+#include <nm-setting.h>
+
+enum                NMSettingError;
+#define             NM_TYPE_SETTING_ERROR
+#define             NM_SETTING_ERROR
+GQuark              nm_setting_error_quark              (void);
+#define             NM_SETTING_PARAM_SERIALIZE
+#define             NM_SETTING_PARAM_REQUIRED
+#define             NM_SETTING_PARAM_SECRET
+#define             NM_SETTING_PARAM_FUZZY_IGNORE
+#define             NM_SETTING_NAME
+                    NMSetting;
+                    NMSettingClass;
+void                (*NMSettingValueIterFn)             (NMSetting *setting,
+                                                         const char *key,
+                                                         const GValue *value,
+                                                         GParamFlags flags,
+                                                         gpointer user_data);
+GType               nm_setting_get_type                 (void);
+GHashTable *        nm_setting_to_hash                  (NMSetting *setting);
+NMSetting *         nm_setting_new_from_hash            (GType setting_type,
+                                                         GHashTable *hash);
+NMSetting *         nm_setting_duplicate                (NMSetting *setting);
+const char *        nm_setting_get_name                 (NMSetting *setting);
+gboolean            nm_setting_verify                   (NMSetting *setting,
+                                                         GSList *all_settings,
+                                                         GError **error);
+enum                NMSettingCompareFlags;
+gboolean            nm_setting_compare                  (NMSetting *a,
+                                                         NMSetting *b,
+                                                         NMSettingCompareFlags flags);
+void                nm_setting_enumerate_values         (NMSetting *setting,
+                                                         NMSettingValueIterFn func,
+                                                         gpointer user_data);
+char *              nm_setting_to_string                (NMSetting *setting);
+void                nm_setting_clear_secrets            (NMSetting *setting);
+GPtrArray *         nm_setting_need_secrets             (NMSetting *setting);
+gboolean            nm_setting_update_secrets           (NMSetting *setting,
+                                                         GHashTable *secrets,
+                                                         GError **error);
+
+
+ +
+

Properties

+
+  "name"                     gchar*                : Read / Write
+
+
+
+

Description

+

+Each NMSetting contains properties that describe configuration that applies +to a specific network layer (like IPv4 or IPv6 configuration) or device type +(like Ethernet, or WiFi). A collection of individual settings together +make up an NMConnection. Each property is strongly typed and usually has +a number of allowed values. See each NMSetting subclass for a description +of properties and allowed values. +

+
+
+

Details

+
+

enum NMSettingError

+
typedef enum
+{
+	NM_SETTING_ERROR_UNKNOWN = 0,
+	NM_SETTING_ERROR_PROPERTY_NOT_FOUND,
+	NM_SETTING_ERROR_PROPERTY_NOT_SECRET,
+	NM_SETTING_ERROR_PROPERTY_TYPE_MISMATCH
+} NMSettingError;
+
+

+Describes errors that may result from operations involving a NMSetting. +

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

NM_SETTING_ERROR_UNKNOWN

unknown or unclassified error +

NM_SETTING_ERROR_PROPERTY_NOT_FOUND

a property required by the operation + was not found; for example, an attempt to update an invalid secret +

NM_SETTING_ERROR_PROPERTY_NOT_SECRET

an operation which requires a secret + was attempted on a non-secret property +

NM_SETTING_ERROR_PROPERTY_TYPE_MISMATCH

the operation requires a property + of a specific type, or the value couldn't be transformed to the same type + as the property being acted upon +
+
+
+
+

NM_TYPE_SETTING_ERROR

+
#define NM_TYPE_SETTING_ERROR (nm_setting_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_ERROR

+
#define NM_SETTING_ERROR nm_setting_error_quark ()
+
+

+

+
+
+
+

nm_setting_error_quark ()

+
GQuark              nm_setting_error_quark              (void);
+

+Registers an error quark for NMSetting if necessary. +

+
++ + + + +

Returns :

the error quark used for NMSetting errors. +
+
+
+
+

NM_SETTING_PARAM_SERIALIZE

+
#define NM_SETTING_PARAM_SERIALIZE    (1 << (0 + G_PARAM_USER_SHIFT))
+
+

+

+
+
+
+

NM_SETTING_PARAM_REQUIRED

+
#define NM_SETTING_PARAM_REQUIRED     (1 << (1 + G_PARAM_USER_SHIFT))
+
+

+

+
+
+
+

NM_SETTING_PARAM_SECRET

+
#define NM_SETTING_PARAM_SECRET       (1 << (2 + G_PARAM_USER_SHIFT))
+
+

+

+
+
+
+

NM_SETTING_PARAM_FUZZY_IGNORE

+
#define NM_SETTING_PARAM_FUZZY_IGNORE (1 << (3 + G_PARAM_USER_SHIFT))
+
+

+

+
+
+
+

NM_SETTING_NAME

+
#define NM_SETTING_NAME "name"
+
+

+

+
+
+
+

NMSetting

+
typedef struct _NMSetting NMSetting;
+

+The NMSetting struct contains only private data. +It should only be accessed through the functions described below. +

+
+
+
+

NMSettingClass

+
typedef struct {
+	GObjectClass parent;
+
+	/* Virtual functions */
+	gboolean    (*verify)            (NMSetting  *setting,
+	                                  GSList     *all_settings,
+	                                  GError     **error);
+
+	GPtrArray  *(*need_secrets)      (NMSetting  *setting);
+
+	gboolean    (*update_one_secret) (NMSetting  *setting,
+	                                  const char *key,
+	                                  GValue     *value,
+	                                  GError    **error);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingClass;
+
+

+

+
+
+
+

NMSettingValueIterFn ()

+
void                (*NMSettingValueIterFn)             (NMSetting *setting,
+                                                         const char *key,
+                                                         const GValue *value,
+                                                         GParamFlags flags,
+                                                         gpointer user_data);
+

+

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

setting :

+

key :

+

value :

+

flags :

+

user_data :

+
+
+
+
+

nm_setting_get_type ()

+
GType               nm_setting_get_type                 (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_to_hash ()

+
GHashTable *        nm_setting_to_hash                  (NMSetting *setting);
+

+Converts the NMSetting into a GHashTable mapping each setting property +name to a GValue describing that property, suitable for marshalling over +D-Bus or serializing. The mapping is string:GValue. +

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

setting :

the NMSetting +

Returns :

a new GHashTable describing the setting's properties +
+
+
+
+

nm_setting_new_from_hash ()

+
NMSetting *         nm_setting_new_from_hash            (GType setting_type,
+                                                         GHashTable *hash);
+

+Creates a new NMSetting object and populates that object with the properties +contained in the hash table, using each hash key as the property to set, +and each hash value as the value to set that property to. Setting properties +are strongly typed, thus the GValue type of the hash value must be correct. +See the documentation on each NMSetting object subclass for the correct +property names and value types. +

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

setting_type :

the NMSetting type which the hash contains properties for +

hash :

the GHashTable containing a string:GValue mapping of properties +that apply to the setting +

Returns :

a new NMSetting object populated with the properties from the +hash table, or NULL on failure +
+
+
+
+

nm_setting_duplicate ()

+
NMSetting *         nm_setting_duplicate                (NMSetting *setting);
+

+Duplicates a NMSetting. +

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

setting :

the NMSetting to duplicate +

Returns :

a new NMSetting containing the same properties and values as the +source NMSetting +
+
+
+
+

nm_setting_get_name ()

+
const char *        nm_setting_get_name                 (NMSetting *setting);
+

+Returns the type name of the NMSetting object +

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

setting :

the NMSetting +

Returns :

a string containing the type name of the NMSetting object, +like 'ppp' or 'wireless' or 'wired'. +
+
+
+
+

nm_setting_verify ()

+
gboolean            nm_setting_verify                   (NMSetting *setting,
+                                                         GSList *all_settings,
+                                                         GError **error);
+

+Validates the setting. Each setting's properties have allowed values, and +some are dependent on other values (hence the need for all_settings). The +returned GError contains information about which property of the setting +failed validation, and in what way that property failed validation. +

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

setting :

the NMSetting to verify +

all_settings :

a GSList of all settings in the connection from which setting +came +

error :

location to store error, or NULL +

Returns :

TRUE if the setting is valid, FALSE if it is not +
+
+
+
+

enum NMSettingCompareFlags

+
typedef enum {
+	NM_SETTING_COMPARE_FLAG_EXACT = 0x00000000,
+	NM_SETTING_COMPARE_FLAG_FUZZY = 0x00000001,
+	NM_SETTING_COMPARE_FLAG_IGNORE_ID = 0x00000002,
+	NM_SETTING_COMPARE_FLAG_IGNORE_SECRETS = 0x00000004
+} NMSettingCompareFlags;
+
+

+These flags modify the comparison behavior when comparing two settings or +two connections. +

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

NM_SETTING_COMPARE_FLAG_EXACT

match all properties exactly +

NM_SETTING_COMPARE_FLAG_FUZZY

match only important attributes, like SSID, + type, security settings, etc. Does not match, for example, connection ID + or UUID. +

NM_SETTING_COMPARE_FLAG_IGNORE_ID

ignore the connection's ID +

NM_SETTING_COMPARE_FLAG_IGNORE_SECRETS

ignore secrets +
+
+
+
+

nm_setting_compare ()

+
gboolean            nm_setting_compare                  (NMSetting *a,
+                                                         NMSetting *b,
+                                                         NMSettingCompareFlags flags);
+

+Compares two NMSetting objects for similarity, with comparison behavior +modified by a set of flags. See the documentation for NMSettingCompareFlags +for a description of each flag's behavior. +

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

a :

a NMSetting +

b :

a second NMSetting to compare with the first +

flags :

compare flags, e.g. NM_SETTING_COMPARE_FLAG_EXACT +

Returns :

TRUE if the comparison succeeds, FALSE if it does not +
+
+
+
+

nm_setting_enumerate_values ()

+
void                nm_setting_enumerate_values         (NMSetting *setting,
+                                                         NMSettingValueIterFn func,
+                                                         gpointer user_data);
+

+Iterates over each property of the NMSetting object, calling the supplied +user function for each property. +

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

setting :

the NMSetting +

func :

user-supplied function called for each property of the setting +

user_data :

user data passed to func at each invocation +
+
+
+
+

nm_setting_to_string ()

+
char *              nm_setting_to_string                (NMSetting *setting);
+

+Convert the setting into a string. For debugging purposes ONLY, should NOT +be used for serialization of the setting, or machine-parsed in any way. The +output format is not guaranteed to be stable and may change at any time. +

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

setting :

the NMSetting +

Returns :

an allocated string containing a textual representation of the +setting's properties and values (including secrets!), which the caller should +free with g_free() +
+
+
+
+

nm_setting_clear_secrets ()

+
void                nm_setting_clear_secrets            (NMSetting *setting);
+

+Resets and clears any secrets in the setting. Secrets should be added to the +setting only when needed, and cleared immediately after use to prevent +leakage of information. +

+
++ + + + +

setting :

the NMSetting +
+
+
+
+

nm_setting_need_secrets ()

+
GPtrArray *         nm_setting_need_secrets             (NMSetting *setting);
+

+Returns an array of property names for each secret which may be required +to make a successful connection. The returned hints are only intended as a +guide to what secrets may be required, because in some circumstances, there +is no way to conclusively determine exactly which secrets are needed. +

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

setting :

the NMSetting +

Returns :

a GPtrArray containing the property names of secrets of the +NMSetting which may be required; the caller owns the array +and must free the each array element with g_free(), as well as the array +itself with g_ptr_array_free() +
+
+
+
+

nm_setting_update_secrets ()

+
gboolean            nm_setting_update_secrets           (NMSetting *setting,
+                                                         GHashTable *secrets,
+                                                         GError **error);
+

+Update the setting's secrets, given a hash table of secrets intended for that +setting (deserialized from D-Bus for example). +

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

setting :

the NMSetting +

secrets :

a GHashTable mapping string:GValue of setting property names and +secrets +

error :

location to store error, or NULL +

Returns :

TRUE if the secrets were successfully updated and the connection +is valid, FALSE on failure or if the setting was never added to the connection +
+
+
+
+

Property Details

+
+

The "name" property

+
  "name"                     gchar*                : Read / Write
+

+The setting's name, which uniquely identifies the setting within the +connection. Each setting type has a name unique to that type, for +example 'ppp' or 'wireless' or 'wired'. +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSetting8021x.html b/docs/libnm-util/html/NMSetting8021x.html new file mode 100644 index 00000000..99739eb8 --- /dev/null +++ b/docs/libnm-util/html/NMSetting8021x.html @@ -0,0 +1,2835 @@ + + + + +NMSetting8021x + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSetting8021x

+

NMSetting8021x — Describes 802.1x-authenticated connection properties

+
+
+

Synopsis

+
+#include <nm-setting-8021x.h>
+
+enum                NMSetting8021xCKFormat;
+enum                NMSetting8021xCKScheme;
+#define             NM_SETTING_802_1X_SETTING_NAME
+enum                NMSetting8021xError;
+#define             NM_TYPE_SETTING_802_1X_ERROR
+#define             NM_SETTING_802_1X_ERROR
+GQuark              nm_setting_802_1x_error_quark       (void);
+#define             NM_SETTING_802_1X_EAP
+#define             NM_SETTING_802_1X_IDENTITY
+#define             NM_SETTING_802_1X_ANONYMOUS_IDENTITY
+#define             NM_SETTING_802_1X_CA_CERT
+#define             NM_SETTING_802_1X_CA_PATH
+#define             NM_SETTING_802_1X_CLIENT_CERT
+#define             NM_SETTING_802_1X_PHASE1_PEAPVER
+#define             NM_SETTING_802_1X_PHASE1_PEAPLABEL
+#define             NM_SETTING_802_1X_PHASE1_FAST_PROVISIONING
+#define             NM_SETTING_802_1X_PHASE2_AUTH
+#define             NM_SETTING_802_1X_PHASE2_AUTHEAP
+#define             NM_SETTING_802_1X_PHASE2_CA_CERT
+#define             NM_SETTING_802_1X_PHASE2_CA_PATH
+#define             NM_SETTING_802_1X_PHASE2_CLIENT_CERT
+#define             NM_SETTING_802_1X_PASSWORD
+#define             NM_SETTING_802_1X_PRIVATE_KEY
+#define             NM_SETTING_802_1X_PRIVATE_KEY_PASSWORD
+#define             NM_SETTING_802_1X_PHASE2_PRIVATE_KEY
+#define             NM_SETTING_802_1X_PHASE2_PRIVATE_KEY_PASSWORD
+#define             NM_SETTING_802_1X_PIN
+#define             NM_SETTING_802_1X_PSK
+#define             NM_SETTING_802_1X_SYSTEM_CA_CERTS
+                    NMSetting8021x;
+                    NMSetting8021xClass;
+GType               nm_setting_802_1x_get_type          (void);
+NMSetting *         nm_setting_802_1x_new               (void);
+guint32             nm_setting_802_1x_get_num_eap_methods
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_eap_method    (NMSetting8021x *setting,
+                                                         guint32 i);
+gboolean            nm_setting_802_1x_add_eap_method    (NMSetting8021x *setting,
+                                                         const char *eap);
+void                nm_setting_802_1x_remove_eap_method (NMSetting8021x *setting,
+                                                         guint32 i);
+void                nm_setting_802_1x_clear_eap_methods (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_identity      (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_anonymous_identity
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_get_system_ca_certs
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_ca_path       (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase2_ca_path
+                                                        (NMSetting8021x *setting);
+NMSetting8021xCKScheme  nm_setting_802_1x_get_ca_cert_scheme
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_ca_cert_blob  (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_ca_cert_path  (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_ca_cert       (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+NMSetting8021xCKScheme  nm_setting_802_1x_get_client_cert_scheme
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_client_cert_blob
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_client_cert_path
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_client_cert   (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+const char *        nm_setting_802_1x_get_phase1_peapver
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase1_peaplabel
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase1_fast_provisioning
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase2_auth   (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase2_autheap
+                                                        (NMSetting8021x *setting);
+NMSetting8021xCKScheme  nm_setting_802_1x_get_phase2_ca_cert_scheme
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_phase2_ca_cert_blob
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase2_ca_cert_path
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_phase2_ca_cert
+                                                        (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+NMSetting8021xCKScheme  nm_setting_802_1x_get_phase2_client_cert_scheme
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_phase2_client_cert_blob
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase2_client_cert_path
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_phase2_client_cert
+                                                        (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+const char *        nm_setting_802_1x_get_password      (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_pin           (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_psk           (NMSetting8021x *setting);
+NMSetting8021xCKScheme  nm_setting_802_1x_get_private_key_scheme
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_private_key_blob
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_private_key_path
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_private_key   (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         const char *password,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+const char *        nm_setting_802_1x_get_private_key_password
+                                                        (NMSetting8021x *setting);
+NMSetting8021xCKFormat  nm_setting_802_1x_get_private_key_format
+                                                        (NMSetting8021x *setting);
+NMSetting8021xCKScheme  nm_setting_802_1x_get_phase2_private_key_scheme
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_phase2_private_key_blob
+                                                        (NMSetting8021x *setting);
+const char *        nm_setting_802_1x_get_phase2_private_key_path
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_phase2_private_key
+                                                        (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         const char *password,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+const char *        nm_setting_802_1x_get_phase2_private_key_password
+                                                        (NMSetting8021x *setting);
+NMSetting8021xCKFormat  nm_setting_802_1x_get_phase2_private_key_format
+                                                        (NMSetting8021x *setting);
+enum                NMSetting8021xCKType;
+const GByteArray *  nm_setting_802_1x_get_ca_cert       (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_ca_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+const GByteArray *  nm_setting_802_1x_get_client_cert   (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_client_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+const GByteArray *  nm_setting_802_1x_get_phase2_ca_cert
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_phase2_ca_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+const GByteArray *  nm_setting_802_1x_get_phase2_client_cert
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_phase2_client_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+const GByteArray *  nm_setting_802_1x_get_private_key   (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_private_key_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         const char *password,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+NMSetting8021xCKType  nm_setting_802_1x_get_private_key_type
+                                                        (NMSetting8021x *setting);
+const GByteArray *  nm_setting_802_1x_get_phase2_private_key
+                                                        (NMSetting8021x *setting);
+gboolean            nm_setting_802_1x_set_phase2_private_key_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         const char *password,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+NMSetting8021xCKType  nm_setting_802_1x_get_phase2_private_key_type
+                                                        (NMSetting8021x *setting);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSetting8021x
+
+
+
+

Properties

+
+  "anonymous-identity"       gchar*                : Read / Write
+  "ca-cert"                  GArray_guchar_*       : Read / Write
+  "ca-path"                  gchar*                : Read / Write
+  "client-cert"              GArray_guchar_*       : Read / Write
+  "eap"                      GSList_gchararray_*   : Read / Write
+  "identity"                 gchar*                : Read / Write
+  "password"                 gchar*                : Read / Write
+  "phase1-fast-provisioning" gchar*                : Read / Write
+  "phase1-peaplabel"         gchar*                : Read / Write
+  "phase1-peapver"           gchar*                : Read / Write
+  "phase2-auth"              gchar*                : Read / Write
+  "phase2-autheap"           gchar*                : Read / Write
+  "phase2-ca-cert"           GArray_guchar_*       : Read / Write
+  "phase2-ca-path"           gchar*                : Read / Write
+  "phase2-client-cert"       GArray_guchar_*       : Read / Write
+  "phase2-private-key"       GArray_guchar_*       : Read / Write
+  "phase2-private-key-password" gchar*                : Read / Write
+  "private-key"              GArray_guchar_*       : Read / Write
+  "private-key-password"     gchar*                : Read / Write
+  "system-ca-certs"          gboolean              : Read / Write / Construct
+
+
+
+

Description

+

+The NMSetting8021x object is a NMSetting subclass that describes +properties necessary for connection to 802.1x-authenticated networks, such as +WPA and WPA2 Enterprise WiFi networks and wired 802.1x networks. 802.1x +connections typically use certificates and/or EAP authentication methods to +securely verify, identify, and authenticate the client to the network itself, +instead of simply relying on a widely shared static key. +

+

+It's a good idea to read up on wpa_supplicant configuration before using this +setting extensively, since most of the options here correspond closely with +the relevant wpa_supplicant configuration options. +

+

+Furthermore, to get a good idea of 802.1x, EAP, TLS, TTLS, etc and their +applications to WiFi and wired networks, you'll want to get copies of the +following books. +

+

+ 802.11 Wireless Networks: The Definitive Guide, Second Edition + Author: Matthew Gast + ISBN: 978-0596100520 +

+

+ Cisco Wireless LAN Security + Authors: Krishna Sankar, Sri Sundaralingam, Darrin Miller, and Andrew Balinsky + ISBN: 978-1587051548 +

+
+
+

Details

+
+

enum NMSetting8021xCKFormat

+
typedef enum {
+	NM_SETTING_802_1X_CK_FORMAT_UNKNOWN = 0,
+	NM_SETTING_802_1X_CK_FORMAT_X509,
+	NM_SETTING_802_1X_CK_FORMAT_RAW_KEY,
+	NM_SETTING_802_1X_CK_FORMAT_PKCS12
+} NMSetting8021xCKFormat;
+
+

+

+
+
+
+

enum NMSetting8021xCKScheme

+
typedef enum {
+	NM_SETTING_802_1X_CK_SCHEME_UNKNOWN = 0,
+	NM_SETTING_802_1X_CK_SCHEME_BLOB,
+	NM_SETTING_802_1X_CK_SCHEME_PATH
+} NMSetting8021xCKScheme;
+
+

+

+
+
+
+

NM_SETTING_802_1X_SETTING_NAME

+
#define NM_SETTING_802_1X_SETTING_NAME "802-1x"
+
+

+

+
+
+
+

enum NMSetting8021xError

+
typedef enum
+{
+	NM_SETTING_802_1X_ERROR_UNKNOWN = 0,
+	NM_SETTING_802_1X_ERROR_INVALID_PROPERTY,
+	NM_SETTING_802_1X_ERROR_MISSING_PROPERTY
+} NMSetting8021xError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_802_1X_ERROR

+
#define NM_TYPE_SETTING_802_1X_ERROR (nm_setting_802_1x_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_802_1X_ERROR

+
#define NM_SETTING_802_1X_ERROR nm_setting_802_1x_error_quark ()
+
+

+

+
+
+
+

nm_setting_802_1x_error_quark ()

+
GQuark              nm_setting_802_1x_error_quark       (void);
+

+Registers an error quark for NMSetting8021x if necessary. +

+
++ + + + +

Returns :

the error quark used for NMSetting8021x errors. +
+
+
+
+

NM_SETTING_802_1X_EAP

+
#define NM_SETTING_802_1X_EAP "eap"
+
+

+

+
+
+
+

NM_SETTING_802_1X_IDENTITY

+
#define NM_SETTING_802_1X_IDENTITY "identity"
+
+

+

+
+
+
+

NM_SETTING_802_1X_ANONYMOUS_IDENTITY

+
#define NM_SETTING_802_1X_ANONYMOUS_IDENTITY "anonymous-identity"
+
+

+

+
+
+
+

NM_SETTING_802_1X_CA_CERT

+
#define NM_SETTING_802_1X_CA_CERT "ca-cert"
+
+

+

+
+
+
+

NM_SETTING_802_1X_CA_PATH

+
#define NM_SETTING_802_1X_CA_PATH "ca-path"
+
+

+

+
+
+
+

NM_SETTING_802_1X_CLIENT_CERT

+
#define NM_SETTING_802_1X_CLIENT_CERT "client-cert"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE1_PEAPVER

+
#define NM_SETTING_802_1X_PHASE1_PEAPVER "phase1-peapver"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE1_PEAPLABEL

+
#define NM_SETTING_802_1X_PHASE1_PEAPLABEL "phase1-peaplabel"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE1_FAST_PROVISIONING

+
#define NM_SETTING_802_1X_PHASE1_FAST_PROVISIONING "phase1-fast-provisioning"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_AUTH

+
#define NM_SETTING_802_1X_PHASE2_AUTH "phase2-auth"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_AUTHEAP

+
#define NM_SETTING_802_1X_PHASE2_AUTHEAP "phase2-autheap"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_CA_CERT

+
#define NM_SETTING_802_1X_PHASE2_CA_CERT "phase2-ca-cert"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_CA_PATH

+
#define NM_SETTING_802_1X_PHASE2_CA_PATH "phase2-ca-path"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_CLIENT_CERT

+
#define NM_SETTING_802_1X_PHASE2_CLIENT_CERT "phase2-client-cert"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PASSWORD

+
#define NM_SETTING_802_1X_PASSWORD "password"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PRIVATE_KEY

+
#define NM_SETTING_802_1X_PRIVATE_KEY "private-key"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PRIVATE_KEY_PASSWORD

+
#define NM_SETTING_802_1X_PRIVATE_KEY_PASSWORD "private-key-password"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_PRIVATE_KEY

+
#define NM_SETTING_802_1X_PHASE2_PRIVATE_KEY "phase2-private-key"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PHASE2_PRIVATE_KEY_PASSWORD

+
#define NM_SETTING_802_1X_PHASE2_PRIVATE_KEY_PASSWORD "phase2-private-key-password"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PIN

+
#define NM_SETTING_802_1X_PIN "pin"
+
+

+

+
+
+
+

NM_SETTING_802_1X_PSK

+
#define NM_SETTING_802_1X_PSK "psk"
+
+

+

+
+
+
+

NM_SETTING_802_1X_SYSTEM_CA_CERTS

+
#define NM_SETTING_802_1X_SYSTEM_CA_CERTS "system-ca-certs"
+
+

+

+
+
+
+

NMSetting8021x

+
typedef struct _NMSetting8021x NMSetting8021x;
+

+

+
+
+
+

NMSetting8021xClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSetting8021xClass;
+
+

+

+
+
+
+

nm_setting_802_1x_get_type ()

+
GType               nm_setting_802_1x_get_type          (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_802_1x_new ()

+
NMSetting *         nm_setting_802_1x_new               (void);
+

+Creates a new NMSetting8021x object with default values. +

+
++ + + + +

Returns :

the new empty NMSetting8021x object +
+
+
+
+

nm_setting_802_1x_get_num_eap_methods ()

+
guint32             nm_setting_802_1x_get_num_eap_methods
+                                                        (NMSetting8021x *setting);
+

+Returns the number of eap methods allowed for use when connecting to the +network. Generally only one EAP method is used. Use the functions +nm_setting_802_1x_get_eap_method(), nm_setting_802_1x_add_eap_method(), +and nm_setting_802_1x_remove_eap_method() for adding, removing, and retrieving +allowed EAP methods. +

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

setting :

the NMSetting8021x +

Returns :

the number of allowed EAP methods +
+
+
+
+

nm_setting_802_1x_get_eap_method ()

+
const char *        nm_setting_802_1x_get_eap_method    (NMSetting8021x *setting,
+                                                         guint32 i);
+

+Returns the name of the allowed EAP method at index i. +

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

setting :

the NMSetting8021x +

i :

the index of the EAP method name to return +

Returns :

the name of the allowed EAP method at index i +
+
+
+
+

nm_setting_802_1x_add_eap_method ()

+
gboolean            nm_setting_802_1x_add_eap_method    (NMSetting8021x *setting,
+                                                         const char *eap);
+

+Adds an allowed EAP method. The setting is not valid until at least one +EAP method has been added. See "eap" property for a list of +allowed EAP methods. +

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

setting :

the NMSetting8021x +

eap :

the name of the EAP method to allow for this connection +

Returns :

TRUE if the EAP method was successfully added, FALSE if it was + not a valid method or if it was already allowed. +
+
+
+
+

nm_setting_802_1x_remove_eap_method ()

+
void                nm_setting_802_1x_remove_eap_method (NMSetting8021x *setting,
+                                                         guint32 i);
+

+Removes the allowed EAP method at the specified index. +

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

setting :

the NMSetting8021x +

i :

the index of the EAP method to remove +
+
+
+
+

nm_setting_802_1x_clear_eap_methods ()

+
void                nm_setting_802_1x_clear_eap_methods (NMSetting8021x *setting);
+

+Clears all allowed EAP methods. +

+
++ + + + +

setting :

the NMSetting8021x +
+
+
+
+

nm_setting_802_1x_get_identity ()

+
const char *        nm_setting_802_1x_get_identity      (NMSetting8021x *setting);
+

+Returns the identifier used by some EAP methods (like TLS) to +authenticate the user. Often this is a username or login name. +

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

setting :

the NMSetting8021x +

Returns :

the user identifier +
+
+
+
+

nm_setting_802_1x_get_anonymous_identity ()

+
const char *        nm_setting_802_1x_get_anonymous_identity
+                                                        (NMSetting8021x *setting);
+

+Returns the anonymous identifier used by some EAP methods (like TTLS) to +authenticate the user in the outer unencrypted "phase 1" authentication. The +inner "phase 2" authentication will use the "identity" in +a secure form, if applicable for that EAP method. +

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

setting :

the NMSetting8021x +

Returns :

the anonymous identifier +
+
+
+
+

nm_setting_802_1x_get_system_ca_certs ()

+
gboolean            nm_setting_802_1x_get_system_ca_certs
+                                                        (NMSetting8021x *setting);
+

+Sets the "system-ca-certs" property. The +"ca-path" and "phase2-ca-path" +properties are ignored if the "system-ca-certs" property is +TRUE, in which case a system-wide CA certificate directory specified at +compile time (using the --system-ca-path configure option) is used in place +of these properties. +

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

setting :

the NMSetting8021x +

Returns :

TRUE if a system CA certificate path should be used, FALSE if not +
+
+
+
+

nm_setting_802_1x_get_ca_path ()

+
const char *        nm_setting_802_1x_get_ca_path       (NMSetting8021x *setting);
+

+Returns the path of the CA certificate directory if previously set. Systems +will often have a directory that contains multiple individual CA certificates +which the supplicant can then add to the verification chain. This may be +used in addition to the "ca-cert" property to add more CA +certificates for verifying the network to client. +

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

setting :

the NMSetting8021x +

Returns :

the CA certificate directory path +
+
+
+
+

nm_setting_802_1x_get_phase2_ca_path ()

+
const char *        nm_setting_802_1x_get_phase2_ca_path
+                                                        (NMSetting8021x *setting);
+

+Returns the path of the "phase 2" CA certificate directory if previously set. +Systems will often have a directory that contains multiple individual CA +certificates which the supplicant can then add to the verification chain. +This may be used in addition to the "phase2-ca-cert" property +to add more CA certificates for verifying the network to client. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" CA certificate directory path +
+
+
+
+

nm_setting_802_1x_get_ca_cert_scheme ()

+
NMSetting8021xCKScheme  nm_setting_802_1x_get_ca_cert_scheme
+                                                        (NMSetting8021x *setting);
+

+Returns the scheme used to store the CA certificate. If the returned scheme +is NM_SETTING_802_1X_CK_SCHEME_BLOB, use nm_setting_802_1x_get_ca_cert_blob(); +if NM_SETTING_802_1X_CK_SCHEME_PATH, use nm_setting_802_1x_get_ca_cert_path(). +

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

setting :

the NMSetting8021x +

Returns :

scheme used to store the CA certificate (blob or path) +
+
+
+
+

nm_setting_802_1x_get_ca_cert_blob ()

+
const GByteArray *  nm_setting_802_1x_get_ca_cert_blob  (NMSetting8021x *setting);
+

+Returns the CA certificate blob if the CA certificate is stored using the +NM_SETTING_802_1X_CK_SCHEME_BLOB scheme. Not all EAP methods use a +CA certificate (LEAP for example), and those that can take advantage of the +CA certificate allow it to be unset. Note that lack of a CA certificate +reduces security by allowing man-in-the-middle attacks, because the identity +of the network cannot be confirmed by the client. +

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

setting :

the NMSetting8021x +

Returns :

the CA certificate data +
+
+
+
+

nm_setting_802_1x_get_ca_cert_path ()

+
const char *        nm_setting_802_1x_get_ca_cert_path  (NMSetting8021x *setting);
+

+Returns the CA certificate path if the CA certificate is stored using the +NM_SETTING_802_1X_CK_SCHEME_PATH scheme. Not all EAP methods use a +CA certificate (LEAP for example), and those that can take advantage of the +CA certificate allow it to be unset. Note that lack of a CA certificate +reduces security by allowing man-in-the-middle attacks, because the identity +of the network cannot be confirmed by the client. +

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

setting :

the NMSetting8021x +

Returns :

path to the CA certificate file +
+
+
+
+

nm_setting_802_1x_set_ca_cert ()

+
gboolean            nm_setting_802_1x_set_ca_cert       (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+

+Reads a certificate from disk and sets the "ca-cert" property +with the raw certificate data if using the NM_SETTING_802_1X_CK_SCHEME_BLOB +scheme, or with the path to the certificate file if using the +NM_SETTING_802_1X_CK_SCHEME_PATH scheme. +

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

setting :

the NMSetting8021x +

value :

when scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or + NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the CA certificate file + (PEM or DER format). The path must be UTF-8 encoded; use + g_filename_to_utf8() to convert if needed. Passing NULL with any scheme + clears the CA certificate. +

scheme :

desired storage scheme for the certificate +

out_format :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_client_cert_scheme ()

+
NMSetting8021xCKScheme  nm_setting_802_1x_get_client_cert_scheme
+                                                        (NMSetting8021x *setting);
+

+Returns the scheme used to store the client certificate. If the returned scheme +is NM_SETTING_802_1X_CK_SCHEME_BLOB, use nm_setting_802_1x_get_client_cert_blob(); +if NM_SETTING_802_1X_CK_SCHEME_PATH, use nm_setting_802_1x_get_client_cert_path(). +

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

setting :

the NMSetting8021x +

Returns :

scheme used to store the client certificate (blob or path) +
+
+
+
+

nm_setting_802_1x_get_client_cert_blob ()

+
const GByteArray *  nm_setting_802_1x_get_client_cert_blob
+                                                        (NMSetting8021x *setting);
+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the client certificate data +
+
+
+
+

nm_setting_802_1x_get_client_cert_path ()

+
const char *        nm_setting_802_1x_get_client_cert_path
+                                                        (NMSetting8021x *setting);
+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

path to the client certificate file +
+
+
+
+

nm_setting_802_1x_set_client_cert ()

+
gboolean            nm_setting_802_1x_set_client_cert   (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+

+Reads a certificate from disk and sets the "client-cert" +property with the raw certificate data if using the +NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate +file if using the NM_SETTING_802_1X_CK_SCHEME_PATH scheme. +

+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

value :

when scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or + NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the client certificate + file (PEM, DER, or PKCS12 format). The path must be UTF-8 encoded; use + g_filename_to_utf8() to convert if needed. Passing NULL with any scheme + clears the client certificate. +

scheme :

desired storage scheme for the certificate +

out_format :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_phase1_peapver ()

+
const char *        nm_setting_802_1x_get_phase1_peapver
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the "phase 1" PEAP version to be used when authenticating with + EAP-PEAP as contained in the "phase1-peapver" property. Valid + values are NULL (unset), "0" (PEAP version 0), and "1" (PEAP version 1). +
+
+
+
+

nm_setting_802_1x_get_phase1_peaplabel ()

+
const char *        nm_setting_802_1x_get_phase1_peaplabel
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

whether the "phase 1" PEAP label is new-style or old-style, to be + used when authenticating with EAP-PEAP, as contained in the + "phase1-peaplabel" property. Valid values are NULL (unset), + "0" (use old-style label), and "1" (use new-style label). See the + wpa_supplicant documentation for more details. +
+
+
+
+

nm_setting_802_1x_get_phase1_fast_provisioning ()

+
const char *        nm_setting_802_1x_get_phase1_fast_provisioning
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

whether "phase 1" PEAP fast provisioning should be used, as specified + by the "phase1-fast-provisioning" property. See the + wpa_supplicant documentation for more details. +
+
+
+
+

nm_setting_802_1x_get_phase2_auth ()

+
const char *        nm_setting_802_1x_get_phase2_auth   (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the "phase 2" non-EAP (ex MD5) allowed authentication method as + specified by the "phase2-auth" property. +
+
+
+
+

nm_setting_802_1x_get_phase2_autheap ()

+
const char *        nm_setting_802_1x_get_phase2_autheap
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the "phase 2" EAP-based (ex TLS) allowed authentication method as + specified by the "phase2-autheap" property. +
+
+
+
+

nm_setting_802_1x_get_phase2_ca_cert_scheme ()

+
NMSetting8021xCKScheme  nm_setting_802_1x_get_phase2_ca_cert_scheme
+                                                        (NMSetting8021x *setting);
+

+Returns the scheme used to store the "phase 2" CA certificate. If the +returned scheme is NM_SETTING_802_1X_CK_SCHEME_BLOB, use +nm_setting_802_1x_get_ca_cert_blob(); if NM_SETTING_802_1X_CK_SCHEME_PATH, +use nm_setting_802_1x_get_ca_cert_path(). +

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

setting :

the NMSetting8021x +

Returns :

scheme used to store the "phase 2" CA certificate (blob or path) +
+
+
+
+

nm_setting_802_1x_get_phase2_ca_cert_blob ()

+
const GByteArray *  nm_setting_802_1x_get_phase2_ca_cert_blob
+                                                        (NMSetting8021x *setting);
+

+Returns the "phase 2" CA certificate blob if the CA certificate is stored +using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme. Not all EAP methods use +a CA certificate (LEAP for example), and those that can take advantage of the +CA certificate allow it to be unset. Note that lack of a CA certificate +reduces security by allowing man-in-the-middle attacks, because the identity +of the network cannot be confirmed by the client. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" CA certificate data +
+
+
+
+

nm_setting_802_1x_get_phase2_ca_cert_path ()

+
const char *        nm_setting_802_1x_get_phase2_ca_cert_path
+                                                        (NMSetting8021x *setting);
+

+Returns the "phase 2" CA certificate path if the CA certificate is stored +using the NM_SETTING_802_1X_CK_SCHEME_PATH scheme. Not all EAP methods use +a CA certificate (LEAP for example), and those that can take advantage of the +CA certificate allow it to be unset. Note that lack of a CA certificate +reduces security by allowing man-in-the-middle attacks, because the identity +of the network cannot be confirmed by the client. +

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

setting :

the NMSetting8021x +

Returns :

path to the "phase 2" CA certificate file +
+
+
+
+

nm_setting_802_1x_set_phase2_ca_cert ()

+
gboolean            nm_setting_802_1x_set_phase2_ca_cert
+                                                        (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+

+Reads a certificate from disk and sets the "phase2-ca-cert" +property with the raw certificate data if using the +NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate +file if using the NM_SETTING_802_1X_CK_SCHEME_PATH scheme. +

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

setting :

the NMSetting8021x +

value :

when scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or + NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" CA + certificate file (PEM or DER format). The path must be UTF-8 encoded; use + g_filename_to_utf8() to convert if needed. Passing NULL with any scheme + clears the "phase2" CA certificate. +

scheme :

desired storage scheme for the certificate +

out_format :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_phase2_client_cert_scheme ()

+
NMSetting8021xCKScheme  nm_setting_802_1x_get_phase2_client_cert_scheme
+                                                        (NMSetting8021x *setting);
+

+Returns the scheme used to store the "phase 2" client certificate. If the +returned scheme is NM_SETTING_802_1X_CK_SCHEME_BLOB, use +nm_setting_802_1x_get_client_cert_blob(); if +NM_SETTING_802_1X_CK_SCHEME_PATH, use +nm_setting_802_1x_get_client_cert_path(). +

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

setting :

the NMSetting8021x +

Returns :

scheme used to store the "phase 2" client certificate (blob or path) +
+
+
+
+

nm_setting_802_1x_get_phase2_client_cert_blob ()

+
const GByteArray *  nm_setting_802_1x_get_phase2_client_cert_blob
+                                                        (NMSetting8021x *setting);
+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" client certificate data +
+
+
+
+

nm_setting_802_1x_get_phase2_client_cert_path ()

+
const char *        nm_setting_802_1x_get_phase2_client_cert_path
+                                                        (NMSetting8021x *setting);
+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

path to the "phase 2" client certificate file +
+
+
+
+

nm_setting_802_1x_set_phase2_client_cert ()

+
gboolean            nm_setting_802_1x_set_phase2_client_cert
+                                                        (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+

+Reads a certificate from disk and sets the "phase2-client-cert" +property with the raw certificate data if using the +NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the certificate +file if using the NM_SETTING_802_1X_CK_SCHEME_PATH scheme. +

+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

value :

when scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or + NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" client + certificate file (PEM, DER, or PKCS12 format). The path must be UTF-8 + encoded; use g_filename_to_utf8() to convert if needed. Passing NULL with + any scheme clears the "phase2" client certificate. +

scheme :

desired storage scheme for the certificate +

out_format :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_password ()

+
const char *        nm_setting_802_1x_get_password      (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the password used by the authentication method, if any, as specified + by the "password" property +
+
+
+
+

nm_setting_802_1x_get_pin ()

+
const char *        nm_setting_802_1x_get_pin           (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the PIN used by the authentication method, if any, as specified + by the "pin" property +
+
+
+
+

nm_setting_802_1x_get_psk ()

+
const char *        nm_setting_802_1x_get_psk           (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the Pre-Shared-Key used by the authentication method, if any, as + specified by the "psk" property +
+
+
+
+

nm_setting_802_1x_get_private_key_scheme ()

+
NMSetting8021xCKScheme  nm_setting_802_1x_get_private_key_scheme
+                                                        (NMSetting8021x *setting);
+

+Returns the scheme used to store the private key. If the returned scheme is +NM_SETTING_802_1X_CK_SCHEME_BLOB, use +nm_setting_802_1x_get_client_cert_blob(); if +NM_SETTING_802_1X_CK_SCHEME_PATH, use +nm_setting_802_1x_get_client_cert_path(). +

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

setting :

the NMSetting8021x +

Returns :

scheme used to store the private key (blob or path) +
+
+
+
+

nm_setting_802_1x_get_private_key_blob ()

+
const GByteArray *  nm_setting_802_1x_get_private_key_blob
+                                                        (NMSetting8021x *setting);
+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the private key data +
+
+
+
+

nm_setting_802_1x_get_private_key_path ()

+
const char *        nm_setting_802_1x_get_private_key_path
+                                                        (NMSetting8021x *setting);
+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

path to the private key file +
+
+
+
+

nm_setting_802_1x_set_private_key ()

+
gboolean            nm_setting_802_1x_set_private_key   (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         const char *password,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+

+Reads a private key from disk and sets the "private-key" +property with the raw private key data if using the +NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the private key +file if using the NM_SETTING_802_1X_CK_SCHEME_PATH scheme. +

+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

value :

when scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or + NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the private key file + (PEM, DER, or PKCS12 format). The path must be UTF-8 encoded; use + g_filename_to_utf8() to convert if needed. Passing NULL with any scheme + clears the private key. +

password :

password used to decrypt the private key +

scheme :

desired storage scheme for the private key +

out_format :

on successful return, the type of the private key added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_private_key_password ()

+
const char *        nm_setting_802_1x_get_private_key_password
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the private key password used to decrypt the private key if + previously set with nm_setting_802_1x_set_private_key_from_file(), + nm_setting_802_1x_set_private_key_path(), or the + "private-key-password" property. +
+
+
+
+

nm_setting_802_1x_get_private_key_format ()

+
NMSetting8021xCKFormat  nm_setting_802_1x_get_private_key_format
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the data format of the private key data stored in the + "private-key" property +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key_scheme ()

+
NMSetting8021xCKScheme  nm_setting_802_1x_get_phase2_private_key_scheme
+                                                        (NMSetting8021x *setting);
+

+Returns the scheme used to store the "phase 2" private key. If the returned +scheme is NM_SETTING_802_1X_CK_SCHEME_BLOB, use +nm_setting_802_1x_get_client_cert_blob(); if +NM_SETTING_802_1X_CK_SCHEME_PATH, use +nm_setting_802_1x_get_client_cert_path(). +

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

setting :

the NMSetting8021x +

Returns :

scheme used to store the "phase 2" private key (blob or path) +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key_blob ()

+
const GByteArray *  nm_setting_802_1x_get_phase2_private_key_blob
+                                                        (NMSetting8021x *setting);
+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" private key data +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key_path ()

+
const char *        nm_setting_802_1x_get_phase2_private_key_path
+                                                        (NMSetting8021x *setting);
+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

path to the "phase 2" private key file +
+
+
+
+

nm_setting_802_1x_set_phase2_private_key ()

+
gboolean            nm_setting_802_1x_set_phase2_private_key
+                                                        (NMSetting8021x *setting,
+                                                         const char *value,
+                                                         const char *password,
+                                                         NMSetting8021xCKScheme scheme,
+                                                         NMSetting8021xCKFormat *out_format,
+                                                         GError **error);
+

+Reads a "phase 2" private key from disk and sets the +"phase2-private-key" property with the raw private key data if +using the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme, or with the path to the +private key file if using the NM_SETTING_802_1X_CK_SCHEME_PATH scheme. +

+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

value :

when scheme is set to either NM_SETTING_802_1X_CK_SCHEME_PATH or + NM_SETTING_802_1X_CK_SCHEME_BLOB, pass the path of the "phase2" private + key file (PEM, DER, or PKCS12 format). The path must be UTF-8 encoded; + use g_filename_to_utf8() to convert if needed. Passing NULL with any + scheme clears the "phase2" private key. +

password :

password used to decrypt the private key +

scheme :

desired storage scheme for the private key +

out_format :

on successful return, the type of the private key added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key_password ()

+
const char *        nm_setting_802_1x_get_phase2_private_key_password
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the private key password used to decrypt the private key if + previously set with nm_setting_802_1x_set_phase2_private_key_from_file(), + nm_setting_802_1x_set_phase2_private_key_path(), or the + "phase2-private-key-password" property. +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key_format ()

+
NMSetting8021xCKFormat  nm_setting_802_1x_get_phase2_private_key_format
+                                                        (NMSetting8021x *setting);
+
++ + + + + + + + + + +

setting :

the NMSetting8021x +

Returns :

the data format of the "phase 2" private key data stored in the + "phase2-private-key" property +
+
+
+
+

enum NMSetting8021xCKType

+
typedef enum {
+	NM_SETTING_802_1X_CK_TYPE_UNKNOWN = 0,
+	NM_SETTING_802_1X_CK_TYPE_X509,
+	NM_SETTING_802_1X_CK_TYPE_RAW_KEY,
+	NM_SETTING_802_1X_CK_TYPE_PKCS12
+} NMSetting8021xCKType;
+
+

+

+
+
+
+

nm_setting_802_1x_get_ca_cert ()

+
const GByteArray *  nm_setting_802_1x_get_ca_cert       (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_ca_cert has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_ca_cert_blob().

+
+

+Returns the CA certificate blob if the CA certificate is stored using the +NM_SETTING_802_1X_CK_SCHEME_BLOB scheme. Not all EAP methods use a +CA certificate (LEAP for example), and those that can take advantage of the +CA certificate allow it to be unset. Note that lack of a CA certificate +reduces security by allowing man-in-the-middle attacks, because the identity +of the network cannot be confirmed by the client. +

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

setting :

the NMSetting8021x +

Returns :

the CA certificate data +
+
+
+
+

nm_setting_802_1x_set_ca_cert_from_file ()

+
gboolean            nm_setting_802_1x_set_ca_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+
+

Warning

+

nm_setting_802_1x_set_ca_cert_from_file has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_set_ca_cert() with the + NM_SETTING_802_1X_CK_SCHEME_BLOB scheme.

+
+

+Reads a certificate from disk and sets the "ca-cert" property +with the raw certificate data using the NM_SETTING_802_1X_CK_SCHEME_BLOB +scheme. +

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

setting :

the NMSetting8021x +

filename :

the path of the CA certificate file (PEM or DER format). Passing + NULL clears the CA certificate. +

out_ck_type :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_client_cert ()

+
const GByteArray *  nm_setting_802_1x_get_client_cert   (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_client_cert has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_client_cert_blob().

+
+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the client certificate data +
+
+
+
+

nm_setting_802_1x_set_client_cert_from_file ()

+
gboolean            nm_setting_802_1x_set_client_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+
+

Warning

+

nm_setting_802_1x_set_client_cert_from_file has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_set_client_cert() with the + NM_SETTING_802_1X_CK_SCHEME_BLOB scheme.

+
+

+Reads a certificate from disk and sets the "client-cert" +property with the raw certificate data. +

+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

filename :

the path of the client certificate file (PEM, DER, or + PKCS12 format). Passing NULL clears the client certificate. +

out_ck_type :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_phase2_ca_cert ()

+
const GByteArray *  nm_setting_802_1x_get_phase2_ca_cert
+                                                        (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_phase2_ca_cert has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_phase2_ca_cert_blob().

+
+

+Returns the "phase 2" CA certificate blob. Not all EAP methods use +a CA certificate (LEAP for example), and those that can take advantage of the +CA certificate allow it to be unset. Note that lack of a CA certificate +reduces security by allowing man-in-the-middle attacks, because the identity +of the network cannot be confirmed by the client. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" CA certificate data +
+
+
+
+

nm_setting_802_1x_set_phase2_ca_cert_from_file ()

+
gboolean            nm_setting_802_1x_set_phase2_ca_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+
+

Warning

+

nm_setting_802_1x_set_phase2_ca_cert_from_file has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_set_phase2_ca_cert(). + with the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme.

+
+

+Reads a certificate from disk and sets the "phase2-ca-cert" +property with the raw certificate data. +

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

setting :

the NMSetting8021x +

filename :

the path of the "phase2" CA certificate file (PEM or DER format). + Passing NULL with any scheme clears the "phase2" CA certificate. +

out_ck_type :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_phase2_client_cert ()

+
const GByteArray *  nm_setting_802_1x_get_phase2_client_cert
+                                                        (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_phase2_client_cert has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_phase2_client_cert_blob().

+
+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" client certificate data +
+
+
+
+

nm_setting_802_1x_set_phase2_client_cert_from_file ()

+
gboolean            nm_setting_802_1x_set_phase2_client_cert_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+
+

Warning

+

nm_setting_802_1x_set_phase2_client_cert_from_file has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_set_phase2_client_cert() with the. + NM_SETTING_802_1X_CK_SCHEME_BLOB scheme.

+
+

+Reads a certificate from disk and sets the "phase2-client-cert" +property with the raw certificate data. +

+

+Client certificates are used to identify the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

filename :

pass the path of the "phase2" client certificate file (PEM, DER, + or PKCS12 format). Passing NULL clears the "phase2" client certificate. +

out_ck_type :

on successful return, the type of the certificate added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_private_key ()

+
const GByteArray *  nm_setting_802_1x_get_private_key   (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_private_key has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_private_key_blob().

+
+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the private key data +
+
+
+
+

nm_setting_802_1x_set_private_key_from_file ()

+
gboolean            nm_setting_802_1x_set_private_key_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         const char *password,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+
+

Warning

+

nm_setting_802_1x_set_private_key_from_file has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_set_private_key() with. + the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme.

+
+

+Reads a private key from disk and sets the "private-key" +property with the raw private key data. +

+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

filename :

the path of the private key file (PEM, DER, or PKCS12 format). + Passing NULL clears the private key. +

password :

password used to decrypt the private key +

out_ck_type :

on successful return, the type of the private key added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_private_key_type ()

+
NMSetting8021xCKType  nm_setting_802_1x_get_private_key_type
+                                                        (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_private_key_type has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_private_key_format().

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

setting :

the NMSetting8021x +

Returns :

the data format of the private key data stored in the + "private-key" property +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key ()

+
const GByteArray *  nm_setting_802_1x_get_phase2_private_key
+                                                        (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_phase2_private_key has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_private_key_blob().

+
+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

Returns :

the "phase 2" private key data +
+
+
+
+

nm_setting_802_1x_set_phase2_private_key_from_file ()

+
gboolean            nm_setting_802_1x_set_phase2_private_key_from_file
+                                                        (NMSetting8021x *setting,
+                                                         const char *filename,
+                                                         const char *password,
+                                                         NMSetting8021xCKType *out_ck_type,
+                                                         GError **error);
+
+

Warning

+

nm_setting_802_1x_set_phase2_private_key_from_file has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_set_phase2_private_key() with + the NM_SETTING_802_1X_CK_SCHEME_BLOB scheme.

+
+

+Reads a "phase 2" private key from disk and sets the +"phase2-private-key" property with the raw private key data. +

+

+Private keys are used to authenticate the connecting client to the network +when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x +authentication method. +

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

setting :

the NMSetting8021x +

filename :

the path of the "phase2" private key file (PEM, DER, or PKCS12 + format). Passing NULL clears the "phase2" private key. +

password :

password used to decrypt the private key +

out_ck_type :

on successful return, the type of the private key added +

error :

on unsuccessful return, an error +

Returns :

TRUE if the operation succeeded, FALSE if it was unsuccessful +
+
+
+
+

nm_setting_802_1x_get_phase2_private_key_type ()

+
NMSetting8021xCKType  nm_setting_802_1x_get_phase2_private_key_type
+                                                        (NMSetting8021x *setting);
+
+

Warning

+

nm_setting_802_1x_get_phase2_private_key_type has been deprecated since version 0.8 and should not be used in newly-written code. This function has been deprecated and should + not be used in newly written code. Calling this function is + equivalent to calling nm_setting_802_1x_get_phase2_private_key_format().

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

setting :

the NMSetting8021x +

Returns :

the data format of the private key data stored in the + "phase2-private-key" property +
+
+
+
+

Property Details

+
+

The "anonymous-identity" property

+
  "anonymous-identity"       gchar*                : Read / Write
+

+Anonymous identity string for EAP authentication methods. Used as the +unencrypted identity with EAP types that support different tunneled +identity like EAP-TTLS. +

+

Default value: NULL

+
+
+
+

The "ca-cert" property

+
  "ca-cert"                  GArray_guchar_*       : Read / Write
+

+Contains the CA certificate if used by the EAP method specified in the +"eap" property. Setting this property directly is +discouraged; use the nm_setting_802_1x_set_ca_cert() function instead. +

+
+
+
+

The "ca-path" property

+
  "ca-path"                  gchar*                : Read / Write
+

+UTF-8 encoded path to a directory containing PEM or DER formatted +certificates to be added to the verification chain in addition to the +certificate specified in the "ca-cert" property. +

+

Default value: NULL

+
+
+
+

The "client-cert" property

+
  "client-cert"              GArray_guchar_*       : Read / Write
+

+Contains the client certificate if used by the EAP method specified in +the "eap" property. Setting this property directly is +discouraged; use the nm_setting_802_1x_set_client_cert() function instead. +

+
+
+
+

The "eap" property

+
  "eap"                      GSList_gchararray_*   : Read / Write
+

+The allowed EAP method to be used when authenticating to the network with +802.1x. Valid methods are: "leap", "md5", "tls", "peap", "ttls", and +"fast". Each method requires different configuration using the +properties of this object; refer to wpa_supplicant documentation for the +allowed combinations. +

+
+
+
+

The "identity" property

+
  "identity"                 gchar*                : Read / Write
+

+Identity string for EAP authentication methods. Often the user's +user or login name. +

+

Default value: NULL

+
+
+
+

The "password" property

+
  "password"                 gchar*                : Read / Write
+

+Password used for EAP authentication methods. +

+

Default value: NULL

+
+
+
+

The "phase1-fast-provisioning" property

+
  "phase1-fast-provisioning" gchar*                : Read / Write
+

+Enables or disables in-line provisioning of EAP-FAST credentials when +FAST is specified as the EAP method in the "eap" property. +Recognized values are "0" (disabled), "1" (allow unauthenticated +provisioning), "2" (allow authenticated provisioning), and "3" (allow +both authenticated and unauthenticated provisioning). See the +wpa_supplicant documentation for more details. +

+

Default value: NULL

+
+
+
+

The "phase1-peaplabel" property

+
  "phase1-peaplabel"         gchar*                : Read / Write
+

+Forces use of the new PEAP label during key derivation. Some RADIUS +servers may require forcing the new PEAP label to interoperate with +PEAPv1. Set to "1" to force use of the new PEAP label. See the +wpa_supplicant documentation for more details. +

+

Default value: NULL

+
+
+
+

The "phase1-peapver" property

+
  "phase1-peapver"           gchar*                : Read / Write
+

+Forces which PEAP version is used when PEAP is set as the EAP method in +the "eap" property. When unset, the version reported by +the server will be used. Sometimes when using older RADIUS servers, it +is necessary to force the client to use a particular PEAP version. To do +so, this property may be set to "0" or "1" to force that specific PEAP +version. +

+

Default value: NULL

+
+
+
+

The "phase2-auth" property

+
  "phase2-auth"              gchar*                : Read / Write
+

+Specifies the allowed "phase 2" inner non-EAP authentication methods when +an EAP method that uses an inner TLS tunnel is specified in the +"eap" property. Recognized non-EAP phase2 methods are +"pap", "chap", "mschap", "mschapv2", "gtc", "otp", "md5", and "tls". +Each 'phase 2' inner method requires specific parameters for successful +authentication; see the wpa_supplicant documentation for more details. +

+

Default value: NULL

+
+
+
+

The "phase2-autheap" property

+
  "phase2-autheap"           gchar*                : Read / Write
+

+Specifies the allowed "phase 2" inner EAP-based authentication methods +when an EAP method that uses an inner TLS tunnel is specified in the +"eap" property. Recognized EAP-based phase2 methods are +"md5", "mschapv2", "otp", "gtc", and "tls". Each 'phase 2' inner method +requires specific parameters for successful authentication; see the +wpa_supplicant documentation for more details. +

+

Default value: NULL

+
+
+
+

The "phase2-ca-cert" property

+
  "phase2-ca-cert"           GArray_guchar_*       : Read / Write
+

+Contains the CA certificate if used by the EAP method specified in the +"phase2-auth" or "phase2-autheap" properties. +Setting this property directly is discouraged; use the +nm_setting_802_1x_set_phase2_ca_cert() function instead. +

+
+
+
+

The "phase2-ca-path" property

+
  "phase2-ca-path"           gchar*                : Read / Write
+

+UTF-8 encoded path to a directory containing PEM or DER formatted +certificates to be added to the verification chain in addition to the +certificate specified in the "phase2-ca-cert" property. +

+

Default value: NULL

+
+
+
+

The "phase2-client-cert" property

+
  "phase2-client-cert"       GArray_guchar_*       : Read / Write
+

+Contains the client certificate if used by the EAP method specified in +the "phase2-auth" or "phase2-autheap" +properties. Setting this property directly is discouraged; use the +nm_setting_802_1x_set_phase2_client_cert() function instead. +

+
+
+
+

The "phase2-private-key" property

+
  "phase2-private-key"       GArray_guchar_*       : Read / Write
+

+Private key data used by "phase 2" inner authentication methods. +

+

+Contains the "phase 2" inner private key if the "auth" or +"phase2-autheap" property is set to 'tls'. Setting this +property directly is discouraged; use the +nm_setting_802_1x_set_phase2_private_key() function instead. +

+
+
+
+

The "phase2-private-key-password" property

+
  "phase2-private-key-password" gchar*                : Read / Write
+

+The password used to decrypt the private key specified in +"phase2-private-key" when the private key either uses the +path scheme, or if the private key is a PKCS12 format key. Setting this +property directly is not generally necessary except when returning +secrets to NetworkManager; it is generally set automatically when setting +the private key by the nm_setting_802_1x_set_phase2_private_key() function. +

+

Default value: NULL

+
+
+
+

The "private-key" property

+
  "private-key"              GArray_guchar_*       : Read / Write
+

+Contains the private key if the "eap" property is set to +'tls'. Setting this property directly is discouraged; use the +nm_setting_802_1x_set_private_key() function instead. +

+
+
+
+

The "private-key-password" property

+
  "private-key-password"     gchar*                : Read / Write
+

+The password used to decrypt the private key specified in +"private-key" when the private key either uses the path +scheme, or if the private key is a PKCS12 format key. Setting this +property directly is not generally necessary except when returning +secrets to NetworkManager; it is generally set automatically when setting +the private key by the nm_setting_802_1x_set_private_key() function. +

+

Default value: NULL

+
+
+
+

The "system-ca-certs" property

+
  "system-ca-certs"          gboolean              : Read / Write / Construct
+

+When TRUE, overrides "ca-path" and +"phase2-ca-path" properties using the system CA directory +specified at configure time with the --system-ca-path switch. The +certificates in this directory are added to the verification chain in +addition to any certificates specified by the "ca-cert", +"ca-cert-path", "phase2-ca-cert" and +"phase2-ca-cert-path" properties. +

+

Default value: FALSE

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingBluetooth.html b/docs/libnm-util/html/NMSettingBluetooth.html new file mode 100644 index 00000000..92064725 --- /dev/null +++ b/docs/libnm-util/html/NMSettingBluetooth.html @@ -0,0 +1,292 @@ + + + + +NMSettingBluetooth + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingBluetooth

+

NMSettingBluetooth

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingBluetooth
+
+
+
+

Properties

+
+  "bdaddr"                   GArray_guchar_*       : Read / Write
+  "type"                     gchar*                : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_BLUETOOTH_SETTING_NAME

+
#define NM_SETTING_BLUETOOTH_SETTING_NAME "bluetooth"
+
+

+

+
+
+
+

enum NMSettingBluetoothError

+
typedef enum
+{
+	NM_SETTING_BLUETOOTH_ERROR_UNKNOWN = 0,
+	NM_SETTING_BLUETOOTH_ERROR_INVALID_PROPERTY,
+	NM_SETTING_BLUETOOTH_ERROR_MISSING_PROPERTY,
+	NM_SETTING_BLUETOOTH_ERROR_TYPE_SETTING_NOT_FOUND,
+} NMSettingBluetoothError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_BLUETOOTH_ERROR

+
#define NM_TYPE_SETTING_BLUETOOTH_ERROR (nm_setting_bluetooth_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_BLUETOOTH_ERROR

+
#define NM_SETTING_BLUETOOTH_ERROR nm_setting_bluetooth_error_quark ()
+
+

+

+
+
+
+

nm_setting_bluetooth_error_quark ()

+
GQuark              nm_setting_bluetooth_error_quark    (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_BLUETOOTH_BDADDR

+
#define NM_SETTING_BLUETOOTH_BDADDR    "bdaddr"
+
+

+

+
+
+
+

NM_SETTING_BLUETOOTH_TYPE

+
#define NM_SETTING_BLUETOOTH_TYPE      "type"
+
+

+

+
+
+
+

NM_SETTING_BLUETOOTH_TYPE_DUN

+
#define NM_SETTING_BLUETOOTH_TYPE_DUN  "dun"
+
+

+

+
+
+
+

NM_SETTING_BLUETOOTH_TYPE_PANU

+
#define NM_SETTING_BLUETOOTH_TYPE_PANU "panu"
+
+

+

+
+
+
+

NMSettingBluetooth

+
typedef struct _NMSettingBluetooth NMSettingBluetooth;
+

+

+
+
+
+

NMSettingBluetoothClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingBluetoothClass;
+
+

+

+
+
+
+

nm_setting_bluetooth_get_type ()

+
GType               nm_setting_bluetooth_get_type       (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_bluetooth_new ()

+
NMSetting *         nm_setting_bluetooth_new            (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_bluetooth_get_bdaddr ()

+
const GByteArray *  nm_setting_bluetooth_get_bdaddr     (NMSettingBluetooth *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_bluetooth_get_connection_type ()

+
const char *        nm_setting_bluetooth_get_connection_type
+                                                        (NMSettingBluetooth *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "bdaddr" property

+
  "bdaddr"                   GArray_guchar_*       : Read / Write
+

+The Bluetooth address of the device. +

+
+
+
+

The "type" property

+
  "type"                     gchar*                : Read / Write
+

+Either 'dun' for Dial-Up Networking connections (not yet supported) or +'panu' for Personal Area Networking connections. +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingCdma.html b/docs/libnm-util/html/NMSettingCdma.html new file mode 100644 index 00000000..878660d4 --- /dev/null +++ b/docs/libnm-util/html/NMSettingCdma.html @@ -0,0 +1,322 @@ + + + + +NMSettingCdma + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingCdma

+

NMSettingCdma — Describes CDMA-based mobile broadband properties

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingCdma
+
+
+
+

Properties

+
+  "number"                   gchar*                : Read / Write
+  "password"                 gchar*                : Read / Write
+  "username"                 gchar*                : Read / Write
+
+
+
+

Description

+

+The NMSettingCdma object is a NMSetting subclass that describes +properties that allow connections to IS-95-based mobile broadband +networks, including those using CDMA2000/EVDO technology. +

+
+
+

Details

+
+

NM_SETTING_CDMA_SETTING_NAME

+
#define NM_SETTING_CDMA_SETTING_NAME "cdma"
+
+

+

+
+
+
+

enum NMSettingCdmaError

+
typedef enum
+{
+	NM_SETTING_CDMA_ERROR_UNKNOWN = 0,
+	NM_SETTING_CDMA_ERROR_INVALID_PROPERTY,
+	NM_SETTING_CDMA_ERROR_MISSING_PROPERTY,
+	NM_SETTING_CDMA_ERROR_MISSING_SERIAL_SETTING
+} NMSettingCdmaError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_CDMA_ERROR

+
#define NM_TYPE_SETTING_CDMA_ERROR (nm_setting_cdma_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_CDMA_ERROR

+
#define NM_SETTING_CDMA_ERROR nm_setting_cdma_error_quark ()
+
+

+

+
+
+
+

nm_setting_cdma_error_quark ()

+
GQuark              nm_setting_cdma_error_quark         (void);
+

+Registers an error quark for NMSettingCdma if necessary. +

+
++ + + + +

Returns :

the error quark used for NMSettingCdma errors. +
+
+
+
+

NM_SETTING_CDMA_NUMBER

+
#define NM_SETTING_CDMA_NUMBER       "number"
+
+

+

+
+
+
+

NM_SETTING_CDMA_USERNAME

+
#define NM_SETTING_CDMA_USERNAME     "username"
+
+

+

+
+
+
+

NM_SETTING_CDMA_PASSWORD

+
#define NM_SETTING_CDMA_PASSWORD     "password"
+
+

+

+
+
+
+

NMSettingCdma

+
typedef struct _NMSettingCdma NMSettingCdma;
+

+

+
+
+
+

NMSettingCdmaClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingCdmaClass;
+
+

+

+
+
+
+

nm_setting_cdma_get_type ()

+
GType               nm_setting_cdma_get_type            (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_cdma_new ()

+
NMSetting *         nm_setting_cdma_new                 (void);
+

+Creates a new NMSettingCdma object with default values. +

+
++ + + + +

Returns :

the new empty NMSettingCdma object +
+
+
+
+

nm_setting_cdma_get_number ()

+
const char *        nm_setting_cdma_get_number          (NMSettingCdma *setting);
+
++ + + + + + + + + + +

setting :

the NMSettingCdma +

Returns :

the "number" property of the setting +
+
+
+
+

nm_setting_cdma_get_username ()

+
const char *        nm_setting_cdma_get_username        (NMSettingCdma *setting);
+
++ + + + + + + + + + +

setting :

the NMSettingCdma +

Returns :

the "username" property of the setting +
+
+
+
+

nm_setting_cdma_get_password ()

+
const char *        nm_setting_cdma_get_password        (NMSettingCdma *setting);
+
++ + + + + + + + + + +

setting :

the NMSettingCdma +

Returns :

the "password" property of the setting +
+
+
+
+

Property Details

+
+

The "number" property

+
  "number"                   gchar*                : Read / Write
+

+The number to dial to establish the connection to the CDMA-based mobile +broadband network, if any. If not specified, the default number (777) +is used when required. +

+

Default value: NULL

+
+
+
+

The "password" property

+
  "password"                 gchar*                : Read / Write
+

+The password used to authenticate with the network, if required. Many +providers do not require a password, or accept any password. But if a +password is required, it is specified here. +

+

Default value: NULL

+
+
+
+

The "username" property

+
  "username"                 gchar*                : Read / Write
+

+The username used to authenticate with the network, if required. Many +providers do not require a username, or accept any username. But if a +username is required, it is specified here. +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingConnection.html b/docs/libnm-util/html/NMSettingConnection.html new file mode 100644 index 00000000..8fa7c953 --- /dev/null +++ b/docs/libnm-util/html/NMSettingConnection.html @@ -0,0 +1,514 @@ + + + + +NMSettingConnection + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingConnection

+

NMSettingConnection — Describes general connection properties

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingConnection
+
+
+
+

Properties

+
+  "autoconnect"              gboolean              : Read / Write / Construct
+  "id"                       gchar*                : Read / Write
+  "read-only"                gboolean              : Read / Write / Construct
+  "timestamp"                guint64               : Read / Write / Construct
+  "type"                     gchar*                : Read / Write
+  "uuid"                     gchar*                : Read / Write
+
+
+
+

Description

+

+The NMSettingConnection object is a NMSetting subclass that describes +properties that apply to all NMConnection objects, regardless of what type +of network connection they describe. Each NMConnection object must contain +a NMSettingConnection setting. +

+
+
+

Details

+
+

NM_SETTING_CONNECTION_SETTING_NAME

+
#define NM_SETTING_CONNECTION_SETTING_NAME "connection"
+
+

+

+
+
+
+

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

+Describes errors that may result from operations involving a +NMSettingConnection. +

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

NM_SETTING_CONNECTION_ERROR_UNKNOWN

unknown or unclassified error +

NM_SETTING_CONNECTION_ERROR_INVALID_PROPERTY

the property's value is + invalid +

NM_SETTING_CONNECTION_ERROR_MISSING_PROPERTY

a required property is not + present +

NM_SETTING_CONNECTION_ERROR_TYPE_SETTING_NOT_FOUND

the NMSetting object + referenced by the setting name contained in the + "type" property was not present in the NMConnection +
+
+
+
+

NM_TYPE_SETTING_CONNECTION_ERROR

+
#define NM_TYPE_SETTING_CONNECTION_ERROR (nm_setting_connection_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_ERROR

+
#define NM_SETTING_CONNECTION_ERROR nm_setting_connection_error_quark ()
+
+

+

+
+
+
+

nm_setting_connection_error_quark ()

+
GQuark              nm_setting_connection_error_quark   (void);
+

+Registers an error quark for NMSettingConnection if necessary. +

+
++ + + + +

Returns :

the error quark used for NMSettingConnection errors. +
+
+
+
+

NM_SETTING_CONNECTION_ID

+
#define NM_SETTING_CONNECTION_ID          "id"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_UUID

+
#define NM_SETTING_CONNECTION_UUID        "uuid"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_TYPE

+
#define NM_SETTING_CONNECTION_TYPE        "type"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_AUTOCONNECT

+
#define NM_SETTING_CONNECTION_AUTOCONNECT "autoconnect"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_TIMESTAMP

+
#define NM_SETTING_CONNECTION_TIMESTAMP   "timestamp"
+
+

+

+
+
+
+

NM_SETTING_CONNECTION_READ_ONLY

+
#define NM_SETTING_CONNECTION_READ_ONLY   "read-only"
+
+

+

+
+
+
+

NMSettingConnection

+
typedef struct _NMSettingConnection NMSettingConnection;
+

+The NMSettingConnection struct contains only private data. +It should only be accessed through the functions described below. +

+
+
+
+

NMSettingConnectionClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingConnectionClass;
+
+

+

+
+
+
+

nm_setting_connection_get_type ()

+
GType               nm_setting_connection_get_type      (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_connection_new ()

+
NMSetting *         nm_setting_connection_new           (void);
+

+Creates a new NMSettingConnection object with default values. +

+
++ + + + +

Returns :

the new empty NMSettingConnection object +
+
+
+
+

nm_setting_connection_get_id ()

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

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

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

setting :

the NMSettingConnection +

Returns :

the connection ID +
+
+
+
+

nm_setting_connection_get_uuid ()

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

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

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

setting :

the NMSettingConnection +

Returns :

the connection UUID +
+
+
+
+

nm_setting_connection_get_connection_type ()

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

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

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

setting :

the NMSettingConnection +

Returns :

the connection type +
+
+
+
+

nm_setting_connection_get_autoconnect ()

+
gboolean            nm_setting_connection_get_autoconnect
+                                                        (NMSettingConnection *setting);
+

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

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

setting :

the NMSettingConnection +

Returns :

the connection's autoconnect behavior +
+
+
+
+

nm_setting_connection_get_timestamp ()

+
guint64             nm_setting_connection_get_timestamp (NMSettingConnection *setting);
+

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

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

setting :

the NMSettingConnection +

Returns :

the connection's timestamp +
+
+
+
+

nm_setting_connection_get_read_only ()

+
gboolean            nm_setting_connection_get_read_only (NMSettingConnection *setting);
+

+Returns the "read-only" property of the connection. +

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

setting :

the NMSettingConnection +

Returns :

TRUE if the connection is read-only, FALSE if it is not +
+
+
+
+

Property Details

+
+

The "autoconnect" property

+
  "autoconnect"              gboolean              : Read / Write / Construct
+

+Whether or not the connection should be automatically connected by +NetworkManager when the resources for the connection are available. +TRUE to automatically activate the connection, FALSE to require manual +intervention to activate the connection. Defaults to TRUE. +

+

Default value: TRUE

+
+
+
+

The "id" property

+
  "id"                       gchar*                : Read / Write
+

+A human readable unique idenfier for the connection, like "Work WiFi" or +"T-Mobile 3G". +

+

Default value: NULL

+
+
+
+

The "read-only" property

+
  "read-only"                gboolean              : Read / Write / Construct
+

+TRUE if the connection can be modified using the providing settings +service's D-Bus interface with the right privileges, or FALSE +if the connection is read-only and cannot be modified. +

+

Default value: FALSE

+
+
+
+

The "timestamp" property

+
  "timestamp"                guint64               : Read / Write / Construct
+

+The time, in seconds since the Unix Epoch, that the connection was last +_successfully_ fully activated. +

+

Default value: 0

+
+
+
+

The "type" property

+
  "type"                     gchar*                : Read / Write
+

+The general hardware type of the device used for the network connection, +contains the name of the NMSetting object that describes that hardware +type's parameters. For example, for WiFi devices, the name of the +NMSettingWireless setting. +

+

Default value: NULL

+
+
+
+

The "uuid" property

+
  "uuid"                     gchar*                : Read / Write
+

+A universally unique idenfier for the connection, for example generated +with libuuid. Should be assigned when the connection is created, and +never changed as long as the connection still applies to the same +network. For example, should not be changed when the +"id" or NMSettingIP4Config changes, but might need +to be re-created when the WiFi SSID, mobile broadband network provider, +or "type" changes. +

+

+The UUID must be in the format '2815492f-7e56-435e-b2e9-246bd7cdc664' +(ie, contains only hexadecimal characters and '-'). A suitable UUID may +be generated by nm_utils_uuid_generate() or +nm_utils_uuid_generate_from_string(). +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingGsm.html b/docs/libnm-util/html/NMSettingGsm.html new file mode 100644 index 00000000..0b68795c --- /dev/null +++ b/docs/libnm-util/html/NMSettingGsm.html @@ -0,0 +1,759 @@ + + + + +NMSettingGsm + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingGsm

+

NMSettingGsm

+
+
+

Synopsis

+
#define             NM_SETTING_GSM_SETTING_NAME
+enum                NMSettingGsmError;
+#define             NM_TYPE_SETTING_GSM_ERROR
+#define             NM_SETTING_GSM_ERROR
+GQuark              nm_setting_gsm_error_quark          (void);
+#define             NM_SETTING_GSM_NUMBER
+#define             NM_SETTING_GSM_USERNAME
+#define             NM_SETTING_GSM_PASSWORD
+#define             NM_SETTING_GSM_APN
+#define             NM_SETTING_GSM_NETWORK_ID
+#define             NM_SETTING_GSM_NETWORK_TYPE
+#define             NM_SETTING_GSM_ALLOWED_BANDS
+#define             NM_SETTING_GSM_PIN
+#define             NM_SETTING_GSM_HOME_ONLY
+#define             NM_SETTING_GSM_PUK
+#define             NM_SETTING_GSM_BAND
+#define             NM_GSM_NETWORK_ANY
+#define             NM_GSM_NETWORK_UMTS_HSPA
+#define             NM_GSM_NETWORK_GPRS_EDGE
+#define             NM_GSM_NETWORK_PREFER_UMTS_HSPA
+#define             NM_GSM_NETWORK_PREFER_GPRS_EDGE
+enum                NMSettingGsmNetworkType;
+enum                NMSettingGsmNetworkBand;
+                    NMSettingGsm;
+                    NMSettingGsmClass;
+GType               nm_setting_gsm_get_type             (void);
+NMSetting *         nm_setting_gsm_new                  (void);
+const char *        nm_setting_gsm_get_number           (NMSettingGsm *setting);
+const char *        nm_setting_gsm_get_username         (NMSettingGsm *setting);
+const char *        nm_setting_gsm_get_password         (NMSettingGsm *setting);
+const char *        nm_setting_gsm_get_apn              (NMSettingGsm *setting);
+const char *        nm_setting_gsm_get_network_id       (NMSettingGsm *setting);
+int                 nm_setting_gsm_get_network_type     (NMSettingGsm *setting);
+guint32             nm_setting_gsm_get_allowed_bands    (NMSettingGsm *setting);
+const char *        nm_setting_gsm_get_pin              (NMSettingGsm *setting);
+gboolean            nm_setting_gsm_get_home_only        (NMSettingGsm *setting);
+const char *        nm_setting_gsm_get_puk              (NMSettingGsm *setting);
+int                 nm_setting_gsm_get_band             (NMSettingGsm *setting);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingGsm
+
+
+
+

Properties

+
+  "allowed-bands"            guint                 : Read / Write / Construct
+  "apn"                      gchar*                : Read / Write
+  "band"                     gint                  : Read / Write / Construct
+  "home-only"                gboolean              : Read / Write
+  "network-id"               gchar*                : Read / Write
+  "network-type"             gint                  : Read / Write / Construct
+  "number"                   gchar*                : Read / Write
+  "password"                 gchar*                : Read / Write
+  "pin"                      gchar*                : Read / Write
+  "puk"                      gchar*                : Read / Write
+  "username"                 gchar*                : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_GSM_SETTING_NAME

+
#define NM_SETTING_GSM_SETTING_NAME "gsm"
+
+

+

+
+
+
+

enum NMSettingGsmError

+
typedef enum
+{
+	NM_SETTING_GSM_ERROR_UNKNOWN = 0,
+	NM_SETTING_GSM_ERROR_INVALID_PROPERTY,
+	NM_SETTING_GSM_ERROR_MISSING_PROPERTY,
+	NM_SETTING_GSM_ERROR_MISSING_SERIAL_SETTING
+} NMSettingGsmError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_GSM_ERROR

+
#define NM_TYPE_SETTING_GSM_ERROR (nm_setting_gsm_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_GSM_ERROR

+
#define NM_SETTING_GSM_ERROR nm_setting_gsm_error_quark ()
+
+

+

+
+
+
+

nm_setting_gsm_error_quark ()

+
GQuark              nm_setting_gsm_error_quark          (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_GSM_NUMBER

+
#define NM_SETTING_GSM_NUMBER        "number"
+
+

+

+
+
+
+

NM_SETTING_GSM_USERNAME

+
#define NM_SETTING_GSM_USERNAME      "username"
+
+

+

+
+
+
+

NM_SETTING_GSM_PASSWORD

+
#define NM_SETTING_GSM_PASSWORD      "password"
+
+

+

+
+
+
+

NM_SETTING_GSM_APN

+
#define NM_SETTING_GSM_APN           "apn"
+
+

+

+
+
+
+

NM_SETTING_GSM_NETWORK_ID

+
#define NM_SETTING_GSM_NETWORK_ID    "network-id"
+
+

+

+
+
+
+

NM_SETTING_GSM_NETWORK_TYPE

+
#define NM_SETTING_GSM_NETWORK_TYPE  "network-type"
+
+

+

+
+
+
+

NM_SETTING_GSM_ALLOWED_BANDS

+
#define NM_SETTING_GSM_ALLOWED_BANDS "allowed-bands"
+
+

+

+
+
+
+

NM_SETTING_GSM_PIN

+
#define NM_SETTING_GSM_PIN           "pin"
+
+

+

+
+
+
+

NM_SETTING_GSM_HOME_ONLY

+
#define NM_SETTING_GSM_HOME_ONLY     "home-only"
+
+

+

+
+
+
+

NM_SETTING_GSM_PUK

+
#define NM_SETTING_GSM_PUK           "puk"
+
+

+

+
+
+
+

NM_SETTING_GSM_BAND

+
#define NM_SETTING_GSM_BAND          "band"
+
+

+

+
+
+
+

NM_GSM_NETWORK_ANY

+
#define NM_GSM_NETWORK_ANY              NM_SETTING_GSM_NETWORK_TYPE_ANY
+
+

+

+
+
+
+

NM_GSM_NETWORK_UMTS_HSPA

+
#define NM_GSM_NETWORK_UMTS_HSPA        NM_SETTING_GSM_NETWORK_TYPE_UMTS_HSPA
+
+

+

+
+
+
+

NM_GSM_NETWORK_GPRS_EDGE

+
#define NM_GSM_NETWORK_GPRS_EDGE        NM_SETTING_GSM_NETWORK_TYPE_GPRS_EDGE
+
+

+

+
+
+
+

NM_GSM_NETWORK_PREFER_UMTS_HSPA

+
#define NM_GSM_NETWORK_PREFER_UMTS_HSPA NM_SETTING_GSM_NETWORK_TYPE_PREFER_UMTS_HSPA
+
+

+

+
+
+
+

NM_GSM_NETWORK_PREFER_GPRS_EDGE

+
#define NM_GSM_NETWORK_PREFER_GPRS_EDGE NM_SETTING_GSM_NETWORK_TYPE_PREFER_GPRS_EDGE
+
+

+

+
+
+
+

enum NMSettingGsmNetworkType

+
typedef enum {
+	NM_SETTING_GSM_NETWORK_TYPE_ANY = -1,
+	NM_SETTING_GSM_NETWORK_TYPE_UMTS_HSPA = 0,
+	NM_SETTING_GSM_NETWORK_TYPE_GPRS_EDGE = 1,
+	NM_SETTING_GSM_NETWORK_TYPE_PREFER_UMTS_HSPA = 2,
+	NM_SETTING_GSM_NETWORK_TYPE_PREFER_GPRS_EDGE = 3
+} NMSettingGsmNetworkType;
+
+

+

+
+
+
+

enum NMSettingGsmNetworkBand

+
typedef enum {
+	NM_SETTING_GSM_BAND_UNKNOWN      = 0x00000000,
+	NM_SETTING_GSM_BAND_ANY          = 0x00000001,
+	NM_SETTING_GSM_BAND_EGSM         = 0x00000002, /*  900 MHz */
+	NM_SETTING_GSM_BAND_DCS          = 0x00000004, /* 1800 MHz */
+	NM_SETTING_GSM_BAND_PCS          = 0x00000008, /* 1900 MHz */
+	NM_SETTING_GSM_BAND_G850         = 0x00000010, /*  850 MHz */
+	NM_SETTING_GSM_BAND_U2100        = 0x00000020, /* WCDMA 3GPP UMTS 2100 MHz     (Class I) */
+	NM_SETTING_GSM_BAND_U1800        = 0x00000040, /* WCDMA 3GPP UMTS 1800 MHz     (Class III) */
+	NM_SETTING_GSM_BAND_U17IV        = 0x00000080, /* WCDMA 3GPP AWS 1700/2100 MHz (Class IV) */
+	NM_SETTING_GSM_BAND_U800         = 0x00000100, /* WCDMA 3GPP UMTS 800 MHz      (Class VI) */
+	NM_SETTING_GSM_BAND_U850         = 0x00000200, /* WCDMA 3GPP UMTS 850 MHz      (Class V) */
+	NM_SETTING_GSM_BAND_U900         = 0x00000400, /* WCDMA 3GPP UMTS 900 MHz      (Class VIII) */
+	NM_SETTING_GSM_BAND_U17IX        = 0x00000800, /* WCDMA 3GPP UMTS 1700 MHz     (Class IX) */
+	NM_SETTING_GSM_BAND_U1900        = 0x00001000, /* WCDMA 3GPP UMTS 1900 MHz     (Class II) */
+} NMSettingGsmNetworkBand;
+
+

+

+
+
+
+

NMSettingGsm

+
typedef struct _NMSettingGsm NMSettingGsm;
+

+

+
+
+
+

NMSettingGsmClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingGsmClass;
+
+

+

+
+
+
+

nm_setting_gsm_get_type ()

+
GType               nm_setting_gsm_get_type             (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_gsm_new ()

+
NMSetting *         nm_setting_gsm_new                  (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_gsm_get_number ()

+
const char *        nm_setting_gsm_get_number           (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_username ()

+
const char *        nm_setting_gsm_get_username         (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_password ()

+
const char *        nm_setting_gsm_get_password         (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_apn ()

+
const char *        nm_setting_gsm_get_apn              (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_network_id ()

+
const char *        nm_setting_gsm_get_network_id       (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_network_type ()

+
int                 nm_setting_gsm_get_network_type     (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_allowed_bands ()

+
guint32             nm_setting_gsm_get_allowed_bands    (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_pin ()

+
const char *        nm_setting_gsm_get_pin              (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_home_only ()

+
gboolean            nm_setting_gsm_get_home_only        (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_puk ()

+
const char *        nm_setting_gsm_get_puk              (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_gsm_get_band ()

+
int                 nm_setting_gsm_get_band             (NMSettingGsm *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "allowed-bands" property

+
  "allowed-bands"            guint                 : Read / Write / Construct
+

+Bitfield of allowed frequency bands. Note that not all devices allow +frequency band control. +

+

Allowed values: <= 1

+

Default value: 1

+
+
+
+

The "apn" property

+
  "apn"                      gchar*                : Read / Write
+

+The GPRS Access Point Name specifying the APN used when establishing a +data session with the GSM-based network. The APN often determines how +the user will be billed for their network usage and whether the user has +access to the Internet or just a provider-specific walled-garden, so it +is important to use the correct APN for the user's mobile broadband plan. +

+

Default value: NULL

+
+
+
+

The "band" property

+
  "band"                     gint                  : Read / Write / Construct
+

+DEPRECATED +

+

Allowed values: [G_MAXULONG,5]

+

Default value: -1

+
+
+
+

The "home-only" property

+
  "home-only"                gboolean              : Read / Write
+

+When TRUE, only connections to the home network will be allowed. +Connections to roaming networks will not be made. +

+

Default value: FALSE

+
+
+
+

The "network-id" property

+
  "network-id"               gchar*                : Read / Write
+

+The Network ID (GSM LAI format, ie MCC-MNC) to force specific network +registration. If the Network ID is specified, NetworkManager will +attempt to force the device to register only on the specified network. +This can be used to ensure that the device does not roam when direct +roaming control of the device is not otherwise possible. +

+

Default value: NULL

+
+
+
+

The "network-type" property

+
  "network-type"             gint                  : Read / Write / Construct
+

+Network preference to force the device to only use specific network +technologies. The permitted values are: -1: any, 0: 3G only, +1: GPRS/EDGE only, 2: prefer 3G, and 3: prefer 2G. Note that not all +devices allow network preference control. +

+

Allowed values: [G_MAXULONG,3]

+

Default value: -1

+
+
+
+

The "number" property

+
  "number"                   gchar*                : Read / Write
+

+Number to dial when establishing a PPP data session with the GSM-based +mobile broadband network. In most cases, leave the number blank and a +number selecting the APN specified in the 'apn' property will be used +automatically when required. +

+

Default value: NULL

+
+
+
+

The "password" property

+
  "password"                 gchar*                : Read / Write
+

+The password used to authenticate with the network, if required. Many +providers do not require a password, or accept any password. But if a +password is required, it is specified here. +

+

Default value: NULL

+
+
+
+

The "pin" property

+
  "pin"                      gchar*                : Read / Write
+

+If the SIM is locked with a PIN it must be unlocked before any other +operations are requested. Specify the PIN here to allow operation of +the device. +

+

Default value: NULL

+
+
+
+

The "puk" property

+
  "puk"                      gchar*                : Read / Write
+

+DEPRECATED +

+

Default value: NULL

+
+
+
+

The "username" property

+
  "username"                 gchar*                : Read / Write
+

+The username used to authenticate with the network, if required. Many +providers do not require a username, or accept any username. But if a +username is required, it is specified here. +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingIP4Config.html b/docs/libnm-util/html/NMSettingIP4Config.html new file mode 100644 index 00000000..e2c82542 --- /dev/null +++ b/docs/libnm-util/html/NMSettingIP4Config.html @@ -0,0 +1,1774 @@ + + + + +NMSettingIP4Config + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingIP4Config

+

NMSettingIP4Config

+
+
+

Synopsis

+
#define             NM_SETTING_IP4_CONFIG_SETTING_NAME
+enum                NMSettingIP4ConfigError;
+#define             NM_TYPE_SETTING_IP4_CONFIG_ERROR
+#define             NM_SETTING_IP4_CONFIG_ERROR
+GQuark              nm_setting_ip4_config_error_quark   (void);
+#define             NM_SETTING_IP4_CONFIG_METHOD
+#define             NM_SETTING_IP4_CONFIG_DNS
+#define             NM_SETTING_IP4_CONFIG_DNS_SEARCH
+#define             NM_SETTING_IP4_CONFIG_ADDRESSES
+#define             NM_SETTING_IP4_CONFIG_ROUTES
+#define             NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES
+#define             NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS
+#define             NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID
+#define             NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME
+#define             NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME
+#define             NM_SETTING_IP4_CONFIG_NEVER_DEFAULT
+#define             NM_SETTING_IP4_CONFIG_MAY_FAIL
+#define             NM_SETTING_IP4_CONFIG_METHOD_AUTO
+#define             NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL
+#define             NM_SETTING_IP4_CONFIG_METHOD_MANUAL
+#define             NM_SETTING_IP4_CONFIG_METHOD_SHARED
+#define             NM_SETTING_IP4_CONFIG_METHOD_DISABLED
+typedef             NMIP4Address;
+NMIP4Address *      nm_ip4_address_new                  (void);
+NMIP4Address *      nm_ip4_address_dup                  (NMIP4Address *source);
+void                nm_ip4_address_ref                  (NMIP4Address *address);
+void                nm_ip4_address_unref                (NMIP4Address *address);
+gboolean            nm_ip4_address_compare              (NMIP4Address *address,
+                                                         NMIP4Address *other);
+guint32             nm_ip4_address_get_address          (NMIP4Address *address);
+void                nm_ip4_address_set_address          (NMIP4Address *address,
+                                                         guint32 addr);
+guint32             nm_ip4_address_get_prefix           (NMIP4Address *address);
+void                nm_ip4_address_set_prefix           (NMIP4Address *address,
+                                                         guint32 prefix);
+guint32             nm_ip4_address_get_gateway          (NMIP4Address *address);
+void                nm_ip4_address_set_gateway          (NMIP4Address *address,
+                                                         guint32 gateway);
+typedef             NMIP4Route;
+NMIP4Route *        nm_ip4_route_new                    (void);
+NMIP4Route *        nm_ip4_route_dup                    (NMIP4Route *route);
+void                nm_ip4_route_ref                    (NMIP4Route *route);
+void                nm_ip4_route_unref                  (NMIP4Route *route);
+gboolean            nm_ip4_route_compare                (NMIP4Route *route,
+                                                         NMIP4Route *other);
+guint32             nm_ip4_route_get_dest               (NMIP4Route *route);
+void                nm_ip4_route_set_dest               (NMIP4Route *route,
+                                                         guint32 dest);
+guint32             nm_ip4_route_get_prefix             (NMIP4Route *route);
+void                nm_ip4_route_set_prefix             (NMIP4Route *route,
+                                                         guint32 prefix);
+guint32             nm_ip4_route_get_next_hop           (NMIP4Route *route);
+void                nm_ip4_route_set_next_hop           (NMIP4Route *route,
+                                                         guint32 next_hop);
+guint32             nm_ip4_route_get_metric             (NMIP4Route *route);
+void                nm_ip4_route_set_metric             (NMIP4Route *route,
+                                                         guint32 metric);
+                    NMSettingIP4Config;
+                    NMSettingIP4ConfigClass;
+GType               nm_setting_ip4_config_get_type      (void);
+NMSetting *         nm_setting_ip4_config_new           (void);
+const char *        nm_setting_ip4_config_get_method    (NMSettingIP4Config *setting);
+guint32             nm_setting_ip4_config_get_num_dns   (NMSettingIP4Config *setting);
+guint32             nm_setting_ip4_config_get_dns       (NMSettingIP4Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip4_config_add_dns       (NMSettingIP4Config *setting,
+                                                         guint32 dns);
+void                nm_setting_ip4_config_remove_dns    (NMSettingIP4Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip4_config_clear_dns     (NMSettingIP4Config *setting);
+guint32             nm_setting_ip4_config_get_num_dns_searches
+                                                        (NMSettingIP4Config *setting);
+const char *        nm_setting_ip4_config_get_dns_search
+                                                        (NMSettingIP4Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip4_config_add_dns_search
+                                                        (NMSettingIP4Config *setting,
+                                                         const char *dns_search);
+void                nm_setting_ip4_config_remove_dns_search
+                                                        (NMSettingIP4Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip4_config_clear_dns_searches
+                                                        (NMSettingIP4Config *setting);
+guint32             nm_setting_ip4_config_get_num_addresses
+                                                        (NMSettingIP4Config *setting);
+NMIP4Address *      nm_setting_ip4_config_get_address   (NMSettingIP4Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip4_config_add_address   (NMSettingIP4Config *setting,
+                                                         NMIP4Address *address);
+void                nm_setting_ip4_config_remove_address
+                                                        (NMSettingIP4Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip4_config_clear_addresses
+                                                        (NMSettingIP4Config *setting);
+guint32             nm_setting_ip4_config_get_num_routes
+                                                        (NMSettingIP4Config *setting);
+NMIP4Route *        nm_setting_ip4_config_get_route     (NMSettingIP4Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip4_config_add_route     (NMSettingIP4Config *setting,
+                                                         NMIP4Route *route);
+void                nm_setting_ip4_config_remove_route  (NMSettingIP4Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip4_config_clear_routes  (NMSettingIP4Config *setting);
+gboolean            nm_setting_ip4_config_get_ignore_auto_routes
+                                                        (NMSettingIP4Config *setting);
+gboolean            nm_setting_ip4_config_get_ignore_auto_dns
+                                                        (NMSettingIP4Config *setting);
+const char *        nm_setting_ip4_config_get_dhcp_client_id
+                                                        (NMSettingIP4Config *setting);
+gboolean            nm_setting_ip4_config_get_dhcp_send_hostname
+                                                        (NMSettingIP4Config *setting);
+const char *        nm_setting_ip4_config_get_dhcp_hostname
+                                                        (NMSettingIP4Config *setting);
+gboolean            nm_setting_ip4_config_get_never_default
+                                                        (NMSettingIP4Config *setting);
+gboolean            nm_setting_ip4_config_get_may_fail  (NMSettingIP4Config *setting);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingIP4Config
+
+
+
+

Properties

+
+  "addresses"                GPtrArray_GArray_guint__*  : Read / Write
+  "dhcp-client-id"           gchar*                : Read / Write
+  "dhcp-hostname"            gchar*                : Read / Write
+  "dhcp-send-hostname"       gboolean              : Read / Write / Construct
+  "dns"                      GArray_guint_*        : Read / Write
+  "dns-search"               GSList_gchararray_*   : Read / Write
+  "ignore-auto-dns"          gboolean              : Read / Write / Construct
+  "ignore-auto-routes"       gboolean              : Read / Write / Construct
+  "may-fail"                 gboolean              : Read / Write / Construct
+  "method"                   gchar*                : Read / Write
+  "never-default"            gboolean              : Read / Write / Construct
+  "routes"                   GPtrArray_GArray_guint__*  : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_IP4_CONFIG_SETTING_NAME

+
#define NM_SETTING_IP4_CONFIG_SETTING_NAME "ipv4"
+
+

+

+
+
+
+

enum NMSettingIP4ConfigError

+
typedef enum
+{
+	NM_SETTING_IP4_CONFIG_ERROR_UNKNOWN = 0,
+	NM_SETTING_IP4_CONFIG_ERROR_INVALID_PROPERTY,
+	NM_SETTING_IP4_CONFIG_ERROR_MISSING_PROPERTY,
+	NM_SETTING_IP4_CONFIG_ERROR_NOT_ALLOWED_FOR_METHOD
+} NMSettingIP4ConfigError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_IP4_CONFIG_ERROR

+
#define NM_TYPE_SETTING_IP4_CONFIG_ERROR (nm_setting_ip4_config_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_ERROR

+
#define NM_SETTING_IP4_CONFIG_ERROR nm_setting_ip4_config_error_quark ()
+
+

+

+
+
+
+

nm_setting_ip4_config_error_quark ()

+
GQuark              nm_setting_ip4_config_error_quark   (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_IP4_CONFIG_METHOD

+
#define NM_SETTING_IP4_CONFIG_METHOD             "method"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_DNS

+
#define NM_SETTING_IP4_CONFIG_DNS                "dns"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_DNS_SEARCH

+
#define NM_SETTING_IP4_CONFIG_DNS_SEARCH         "dns-search"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_ADDRESSES

+
#define NM_SETTING_IP4_CONFIG_ADDRESSES          "addresses"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_ROUTES

+
#define NM_SETTING_IP4_CONFIG_ROUTES             "routes"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES

+
#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS

+
#define NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS    "ignore-auto-dns"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID

+
#define NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID     "dhcp-client-id"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME

+
#define NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME "dhcp-send-hostname"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME

+
#define NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME      "dhcp-hostname"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_NEVER_DEFAULT

+
#define NM_SETTING_IP4_CONFIG_NEVER_DEFAULT      "never-default"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_MAY_FAIL

+
#define NM_SETTING_IP4_CONFIG_MAY_FAIL           "may-fail"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_METHOD_AUTO

+
#define NM_SETTING_IP4_CONFIG_METHOD_AUTO       "auto"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL

+
#define NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL "link-local"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_METHOD_MANUAL

+
#define NM_SETTING_IP4_CONFIG_METHOD_MANUAL     "manual"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_METHOD_SHARED

+
#define NM_SETTING_IP4_CONFIG_METHOD_SHARED     "shared"
+
+

+

+
+
+
+

NM_SETTING_IP4_CONFIG_METHOD_DISABLED

+
#define NM_SETTING_IP4_CONFIG_METHOD_DISABLED   "disabled"
+
+

+

+
+
+
+

NMIP4Address

+
typedef struct NMIP4Address NMIP4Address;
+
+

+

+
+
+
+

nm_ip4_address_new ()

+
NMIP4Address *      nm_ip4_address_new                  (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_ip4_address_dup ()

+
NMIP4Address *      nm_ip4_address_dup                  (NMIP4Address *source);
+

+

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

source :

+

Returns :

+
+
+
+
+

nm_ip4_address_ref ()

+
void                nm_ip4_address_ref                  (NMIP4Address *address);
+

+

+
++ + + + +

address :

+
+
+
+
+

nm_ip4_address_unref ()

+
void                nm_ip4_address_unref                (NMIP4Address *address);
+

+

+
++ + + + +

address :

+
+
+
+
+

nm_ip4_address_compare ()

+
gboolean            nm_ip4_address_compare              (NMIP4Address *address,
+                                                         NMIP4Address *other);
+

+

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

address :

+

other :

+

Returns :

+
+
+
+
+

nm_ip4_address_get_address ()

+
guint32             nm_ip4_address_get_address          (NMIP4Address *address);
+

+

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

address :

+

Returns :

+
+
+
+
+

nm_ip4_address_set_address ()

+
void                nm_ip4_address_set_address          (NMIP4Address *address,
+                                                         guint32 addr);
+

+

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

address :

+

addr :

+
+
+
+
+

nm_ip4_address_get_prefix ()

+
guint32             nm_ip4_address_get_prefix           (NMIP4Address *address);
+

+

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

address :

+

Returns :

+
+
+
+
+

nm_ip4_address_set_prefix ()

+
void                nm_ip4_address_set_prefix           (NMIP4Address *address,
+                                                         guint32 prefix);
+

+

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

address :

+

prefix :

+
+
+
+
+

nm_ip4_address_get_gateway ()

+
guint32             nm_ip4_address_get_gateway          (NMIP4Address *address);
+

+

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

address :

+

Returns :

+
+
+
+
+

nm_ip4_address_set_gateway ()

+
void                nm_ip4_address_set_gateway          (NMIP4Address *address,
+                                                         guint32 gateway);
+

+

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

address :

+

gateway :

+
+
+
+
+

NMIP4Route

+
typedef struct NMIP4Route NMIP4Route;
+
+

+

+
+
+
+

nm_ip4_route_new ()

+
NMIP4Route *        nm_ip4_route_new                    (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_ip4_route_dup ()

+
NMIP4Route *        nm_ip4_route_dup                    (NMIP4Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip4_route_ref ()

+
void                nm_ip4_route_ref                    (NMIP4Route *route);
+

+

+
++ + + + +

route :

+
+
+
+
+

nm_ip4_route_unref ()

+
void                nm_ip4_route_unref                  (NMIP4Route *route);
+

+

+
++ + + + +

route :

+
+
+
+
+

nm_ip4_route_compare ()

+
gboolean            nm_ip4_route_compare                (NMIP4Route *route,
+                                                         NMIP4Route *other);
+

+

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

route :

+

other :

+

Returns :

+
+
+
+
+

nm_ip4_route_get_dest ()

+
guint32             nm_ip4_route_get_dest               (NMIP4Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip4_route_set_dest ()

+
void                nm_ip4_route_set_dest               (NMIP4Route *route,
+                                                         guint32 dest);
+

+

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

route :

+

dest :

+
+
+
+
+

nm_ip4_route_get_prefix ()

+
guint32             nm_ip4_route_get_prefix             (NMIP4Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip4_route_set_prefix ()

+
void                nm_ip4_route_set_prefix             (NMIP4Route *route,
+                                                         guint32 prefix);
+

+

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

route :

+

prefix :

+
+
+
+
+

nm_ip4_route_get_next_hop ()

+
guint32             nm_ip4_route_get_next_hop           (NMIP4Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip4_route_set_next_hop ()

+
void                nm_ip4_route_set_next_hop           (NMIP4Route *route,
+                                                         guint32 next_hop);
+

+

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

route :

+

next_hop :

+
+
+
+
+

nm_ip4_route_get_metric ()

+
guint32             nm_ip4_route_get_metric             (NMIP4Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip4_route_set_metric ()

+
void                nm_ip4_route_set_metric             (NMIP4Route *route,
+                                                         guint32 metric);
+

+

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

route :

+

metric :

+
+
+
+
+

NMSettingIP4Config

+
typedef struct _NMSettingIP4Config NMSettingIP4Config;
+

+

+
+
+
+

NMSettingIP4ConfigClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingIP4ConfigClass;
+
+

+

+
+
+
+

nm_setting_ip4_config_get_type ()

+
GType               nm_setting_ip4_config_get_type      (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_ip4_config_new ()

+
NMSetting *         nm_setting_ip4_config_new           (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_method ()

+
const char *        nm_setting_ip4_config_get_method    (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_num_dns ()

+
guint32             nm_setting_ip4_config_get_num_dns   (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_dns ()

+
guint32             nm_setting_ip4_config_get_dns       (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_add_dns ()

+
gboolean            nm_setting_ip4_config_add_dns       (NMSettingIP4Config *setting,
+                                                         guint32 dns);
+

+

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

setting :

+

dns :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_remove_dns ()

+
void                nm_setting_ip4_config_remove_dns    (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip4_config_clear_dns ()

+
void                nm_setting_ip4_config_clear_dns     (NMSettingIP4Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip4_config_get_num_dns_searches ()

+
guint32             nm_setting_ip4_config_get_num_dns_searches
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_dns_search ()

+
const char *        nm_setting_ip4_config_get_dns_search
+                                                        (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_add_dns_search ()

+
gboolean            nm_setting_ip4_config_add_dns_search
+                                                        (NMSettingIP4Config *setting,
+                                                         const char *dns_search);
+

+

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

setting :

+

dns_search :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_remove_dns_search ()

+
void                nm_setting_ip4_config_remove_dns_search
+                                                        (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip4_config_clear_dns_searches ()

+
void                nm_setting_ip4_config_clear_dns_searches
+                                                        (NMSettingIP4Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip4_config_get_num_addresses ()

+
guint32             nm_setting_ip4_config_get_num_addresses
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_address ()

+
NMIP4Address *      nm_setting_ip4_config_get_address   (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_add_address ()

+
gboolean            nm_setting_ip4_config_add_address   (NMSettingIP4Config *setting,
+                                                         NMIP4Address *address);
+

+

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

setting :

+

address :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_remove_address ()

+
void                nm_setting_ip4_config_remove_address
+                                                        (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip4_config_clear_addresses ()

+
void                nm_setting_ip4_config_clear_addresses
+                                                        (NMSettingIP4Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip4_config_get_num_routes ()

+
guint32             nm_setting_ip4_config_get_num_routes
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_route ()

+
NMIP4Route *        nm_setting_ip4_config_get_route     (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_add_route ()

+
gboolean            nm_setting_ip4_config_add_route     (NMSettingIP4Config *setting,
+                                                         NMIP4Route *route);
+

+

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

setting :

+

route :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_remove_route ()

+
void                nm_setting_ip4_config_remove_route  (NMSettingIP4Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip4_config_clear_routes ()

+
void                nm_setting_ip4_config_clear_routes  (NMSettingIP4Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip4_config_get_ignore_auto_routes ()

+
gboolean            nm_setting_ip4_config_get_ignore_auto_routes
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_ignore_auto_dns ()

+
gboolean            nm_setting_ip4_config_get_ignore_auto_dns
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_dhcp_client_id ()

+
const char *        nm_setting_ip4_config_get_dhcp_client_id
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_dhcp_send_hostname ()

+
gboolean            nm_setting_ip4_config_get_dhcp_send_hostname
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_dhcp_hostname ()

+
const char *        nm_setting_ip4_config_get_dhcp_hostname
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_never_default ()

+
gboolean            nm_setting_ip4_config_get_never_default
+                                                        (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip4_config_get_may_fail ()

+
gboolean            nm_setting_ip4_config_get_may_fail  (NMSettingIP4Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "addresses" property

+
  "addresses"                GPtrArray_GArray_guint__*  : Read / Write
+

+Array of IPv4 address structures. Each IPv4 address structure is +composed of 3 32-bit values; the first being the IPv4 address (network +byte order), the second the prefix (1 - 32), and last the IPv4 gateway +(network byte order). The gateway may be left as 0 if no gateway exists +for that subnet. For the 'auto' method, given IP addresses are appended +to those returned by automatic configuration. Addresses cannot be used +with the 'shared', 'link-local', or 'disabled' methods as addressing is +either automatic or disabled with these methods. +

+
+
+
+

The "dhcp-client-id" property

+
  "dhcp-client-id"           gchar*                : Read / Write
+

+A string sent to the DHCP server to identify the local machine which the +DHCP server may use to cusomize the DHCP lease and options. +

+

Default value: NULL

+
+
+
+

The "dhcp-hostname" property

+
  "dhcp-hostname"            gchar*                : Read / Write
+

+If the "dhcp-send-hostname" property is TRUE, then the +specified name will be sent to the DHCP server when acquiring a lease. +

+

Default value: NULL

+
+
+
+

The "dhcp-send-hostname" property

+
  "dhcp-send-hostname"       gboolean              : Read / Write / Construct
+

+If TRUE, a hostname is sent to the DHCP server when acquiring a lease. +Some DHCP servers use this hostname to update DNS databases, essentially +providing a static hostname for the computer. If +"dhcp-hostname" is empty and this property is TRUE, +the current persistent hostname of the computer is sent. +

+

Default value: FALSE

+
+
+
+

The "dns" property

+
  "dns"                      GArray_guint_*        : Read / Write
+

+List of DNS servers (network byte order). For the 'auto' method, these +DNS servers are appended to those (if any) returned by automatic +configuration. DNS servers cannot be used with the 'shared', 'link-local', +or 'disabled' methods as there is no usptream network. In all other +methods, these DNS servers are used as the only DNS servers for this +connection. +

+
+
+
+

The "dns-search" property

+
  "dns-search"               GSList_gchararray_*   : Read / Write
+

+List of DNS search domains. For the 'auto' method, these search domains +are appended to those returned by automatic configuration. Search domains +cannot be used with the 'shared', 'link-local', or 'disabled' methods as +there is no upstream network. In all other methods, these search domains +are used as the only search domains for this connection. +

+
+
+
+

The "ignore-auto-dns" property

+
  "ignore-auto-dns"          gboolean              : Read / Write / Construct
+

+When the method is set to 'auto' and this property to TRUE, automatically +configured nameservers and search domains are ignored and only nameservers +and search domains specified in "dns" and +"dns-search", if any, are used. +

+

Default value: FALSE

+
+
+
+

The "ignore-auto-routes" property

+
  "ignore-auto-routes"       gboolean              : Read / Write / Construct
+

+When the method is set to 'auto' and this property to TRUE, automatically +configured routes are ignored and only routes specified in +"routes", if any, are used. +

+

Default value: FALSE

+
+
+
+

The "may-fail" property

+
  "may-fail"                 gboolean              : Read / Write / Construct
+

+If TRUE, allow overall network configuration to proceed even if IPv4 +configuration times out. Note that at least one IP configuration +must succeed or overall network configuration will still fail. For +example, in IPv6-only networks, setting this property to TRUE allows +the overall network configuration to succeed if IPv4 configuration fails +but IPv6 configuration completes successfully. +

+

Default value: FALSE

+
+
+
+

The "method" property

+
  "method"                   gchar*                : Read / Write
+

+IPv4 configuration method. If 'auto' is specified then the appropriate +automatic method (DHCP, PPP, etc) is used for the interface and most +other properties can be left unset. If 'link-local' is specified, then a +link-local address in the 169.254/16 range will be assigned to the +interface. If 'manual' is specified, static IP addressing is used and at +least one IP address must be given in the 'addresses' property. If +'shared' is specified (indicating that this connection will provide +network access to other computers) then the interface is assigned an +address in the 10.42.x.1/24 range and a DHCP and forwarding DNS server +are started, and the interface is NAT-ed to the current default network +connection. 'disabled' means IPv4 will not be used on this connection. +This property must be set. +

+

Default value: NULL

+
+
+
+

The "never-default" property

+
  "never-default"            gboolean              : Read / Write / Construct
+

+If TRUE, this connection will never be the default IPv4 connection, +meaning it will never be assigned the default route by NetworkManager. +

+

Default value: FALSE

+
+
+
+

The "routes" property

+
  "routes"                   GPtrArray_GArray_guint__*  : Read / Write
+

+Array of IPv4 route structures. Each IPv4 route structure is composed +of 4 32-bit values; the first being the destination IPv4 network or +address (network byte order), the second the destination network or +address prefix (1 - 32), the third being the next-hop (network byte +order) if any, and the fourth being the route metric. For the 'auto' +method, given IP routes are appended to those returned by automatic +configuration. Routes cannot be used with the 'shared', 'link-local', +or 'disabled' methods because there is no upstream network. +

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingIP6Config.html b/docs/libnm-util/html/NMSettingIP6Config.html new file mode 100644 index 00000000..cf5bde6e --- /dev/null +++ b/docs/libnm-util/html/NMSettingIP6Config.html @@ -0,0 +1,1636 @@ + + + + +NMSettingIP6Config + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingIP6Config

+

NMSettingIP6Config

+
+
+

Synopsis

+
#define             NM_SETTING_IP6_CONFIG_SETTING_NAME
+enum                NMSettingIP6ConfigError;
+#define             NM_TYPE_SETTING_IP6_CONFIG_ERROR
+#define             NM_SETTING_IP6_CONFIG_ERROR
+GQuark              nm_setting_ip6_config_error_quark   (void);
+#define             NM_SETTING_IP6_CONFIG_METHOD
+#define             NM_SETTING_IP6_CONFIG_DNS
+#define             NM_SETTING_IP6_CONFIG_DNS_SEARCH
+#define             NM_SETTING_IP6_CONFIG_ADDRESSES
+#define             NM_SETTING_IP6_CONFIG_ROUTES
+#define             NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES
+#define             NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS
+#define             NM_SETTING_IP6_CONFIG_NEVER_DEFAULT
+#define             NM_SETTING_IP6_CONFIG_MAY_FAIL
+#define             NM_SETTING_IP6_CONFIG_METHOD_IGNORE
+#define             NM_SETTING_IP6_CONFIG_METHOD_AUTO
+#define             NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL
+#define             NM_SETTING_IP6_CONFIG_METHOD_MANUAL
+#define             NM_SETTING_IP6_CONFIG_METHOD_SHARED
+typedef             NMIP6Address;
+NMIP6Address *      nm_ip6_address_new                  (void);
+NMIP6Address *      nm_ip6_address_dup                  (NMIP6Address *source);
+void                nm_ip6_address_ref                  (NMIP6Address *address);
+void                nm_ip6_address_unref                (NMIP6Address *address);
+gboolean            nm_ip6_address_compare              (NMIP6Address *address,
+                                                         NMIP6Address *other);
+const struct in6_addr * nm_ip6_address_get_address      (NMIP6Address *address);
+void                nm_ip6_address_set_address          (NMIP6Address *address,
+                                                         const struct in6_addr *addr);
+guint32             nm_ip6_address_get_prefix           (NMIP6Address *address);
+void                nm_ip6_address_set_prefix           (NMIP6Address *address,
+                                                         guint32 prefix);
+const struct in6_addr * nm_ip6_address_get_gateway      (NMIP6Address *address);
+void                nm_ip6_address_set_gateway          (NMIP6Address *address,
+                                                         const struct in6_addr *gw);
+typedef             NMIP6Route;
+NMIP6Route *        nm_ip6_route_new                    (void);
+NMIP6Route *        nm_ip6_route_dup                    (NMIP6Route *route);
+void                nm_ip6_route_ref                    (NMIP6Route *route);
+void                nm_ip6_route_unref                  (NMIP6Route *route);
+gboolean            nm_ip6_route_compare                (NMIP6Route *route,
+                                                         NMIP6Route *other);
+const struct in6_addr * nm_ip6_route_get_dest           (NMIP6Route *route);
+void                nm_ip6_route_set_dest               (NMIP6Route *route,
+                                                         const struct in6_addr *dest);
+guint32             nm_ip6_route_get_prefix             (NMIP6Route *route);
+void                nm_ip6_route_set_prefix             (NMIP6Route *route,
+                                                         guint32 prefix);
+const struct in6_addr * nm_ip6_route_get_next_hop       (NMIP6Route *route);
+void                nm_ip6_route_set_next_hop           (NMIP6Route *route,
+                                                         const struct in6_addr *next_hop);
+guint32             nm_ip6_route_get_metric             (NMIP6Route *route);
+void                nm_ip6_route_set_metric             (NMIP6Route *route,
+                                                         guint32 metric);
+                    NMSettingIP6Config;
+                    NMSettingIP6ConfigClass;
+GType               nm_setting_ip6_config_get_type      (void);
+NMSetting *         nm_setting_ip6_config_new           (void);
+const char *        nm_setting_ip6_config_get_method    (NMSettingIP6Config *setting);
+guint32             nm_setting_ip6_config_get_num_dns   (NMSettingIP6Config *setting);
+const struct in6_addr * nm_setting_ip6_config_get_dns   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip6_config_add_dns       (NMSettingIP6Config *setting,
+                                                         const struct in6_addr *dns);
+void                nm_setting_ip6_config_remove_dns    (NMSettingIP6Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip6_config_clear_dns     (NMSettingIP6Config *setting);
+guint32             nm_setting_ip6_config_get_num_dns_searches
+                                                        (NMSettingIP6Config *setting);
+const char *        nm_setting_ip6_config_get_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip6_config_add_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         const char *dns_search);
+void                nm_setting_ip6_config_remove_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip6_config_clear_dns_searches
+                                                        (NMSettingIP6Config *setting);
+guint32             nm_setting_ip6_config_get_num_addresses
+                                                        (NMSettingIP6Config *setting);
+NMIP6Address *      nm_setting_ip6_config_get_address   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip6_config_add_address   (NMSettingIP6Config *setting,
+                                                         NMIP6Address *address);
+void                nm_setting_ip6_config_remove_address
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip6_config_clear_addresses
+                                                        (NMSettingIP6Config *setting);
+guint32             nm_setting_ip6_config_get_num_routes
+                                                        (NMSettingIP6Config *setting);
+NMIP6Route *        nm_setting_ip6_config_get_route     (NMSettingIP6Config *setting,
+                                                         guint32 i);
+gboolean            nm_setting_ip6_config_add_route     (NMSettingIP6Config *setting,
+                                                         NMIP6Route *route);
+void                nm_setting_ip6_config_remove_route  (NMSettingIP6Config *setting,
+                                                         guint32 i);
+void                nm_setting_ip6_config_clear_routes  (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_ignore_auto_routes
+                                                        (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_ignore_auto_dns
+                                                        (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_never_default
+                                                        (NMSettingIP6Config *setting);
+gboolean            nm_setting_ip6_config_get_may_fail  (NMSettingIP6Config *setting);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingIP6Config
+
+
+
+

Properties

+
+  "addresses"                GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar___*  : Read / Write
+  "dns"                      GPtrArray_GArray_guchar__*  : Read / Write
+  "dns-search"               GSList_gchararray_*   : Read / Write
+  "ignore-auto-dns"          gboolean              : Read / Write / Construct
+  "ignore-auto-routes"       gboolean              : Read / Write / Construct
+  "may-fail"                 gboolean              : Read / Write / Construct
+  "method"                   gchar*                : Read / Write
+  "never-default"            gboolean              : Read / Write / Construct
+  "routes"                   GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar_+guint__*  : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_IP6_CONFIG_SETTING_NAME

+
#define NM_SETTING_IP6_CONFIG_SETTING_NAME "ipv6"
+
+

+

+
+
+
+

enum NMSettingIP6ConfigError

+
typedef enum
+{
+	NM_SETTING_IP6_CONFIG_ERROR_UNKNOWN = 0,
+	NM_SETTING_IP6_CONFIG_ERROR_INVALID_PROPERTY,
+	NM_SETTING_IP6_CONFIG_ERROR_MISSING_PROPERTY,
+	NM_SETTING_IP6_CONFIG_ERROR_NOT_ALLOWED_FOR_METHOD
+} NMSettingIP6ConfigError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_IP6_CONFIG_ERROR

+
#define NM_TYPE_SETTING_IP6_CONFIG_ERROR (nm_setting_ip6_config_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_ERROR

+
#define NM_SETTING_IP6_CONFIG_ERROR nm_setting_ip6_config_error_quark ()
+
+

+

+
+
+
+

nm_setting_ip6_config_error_quark ()

+
GQuark              nm_setting_ip6_config_error_quark   (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_IP6_CONFIG_METHOD

+
#define NM_SETTING_IP6_CONFIG_METHOD             "method"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_DNS

+
#define NM_SETTING_IP6_CONFIG_DNS                "dns"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_DNS_SEARCH

+
#define NM_SETTING_IP6_CONFIG_DNS_SEARCH         "dns-search"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_ADDRESSES

+
#define NM_SETTING_IP6_CONFIG_ADDRESSES          "addresses"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_ROUTES

+
#define NM_SETTING_IP6_CONFIG_ROUTES             "routes"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES

+
#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES "ignore-auto-routes"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS

+
#define NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS    "ignore-auto-dns"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_NEVER_DEFAULT

+
#define NM_SETTING_IP6_CONFIG_NEVER_DEFAULT      "never-default"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_MAY_FAIL

+
#define NM_SETTING_IP6_CONFIG_MAY_FAIL           "may-fail"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_METHOD_IGNORE

+
#define NM_SETTING_IP6_CONFIG_METHOD_IGNORE     "ignore"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_METHOD_AUTO

+
#define NM_SETTING_IP6_CONFIG_METHOD_AUTO       "auto"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL

+
#define NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL "link-local"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_METHOD_MANUAL

+
#define NM_SETTING_IP6_CONFIG_METHOD_MANUAL     "manual"
+
+

+

+
+
+
+

NM_SETTING_IP6_CONFIG_METHOD_SHARED

+
#define NM_SETTING_IP6_CONFIG_METHOD_SHARED     "shared"
+
+

+

+
+
+
+

NMIP6Address

+
typedef struct NMIP6Address NMIP6Address;
+
+

+

+
+
+
+

nm_ip6_address_new ()

+
NMIP6Address *      nm_ip6_address_new                  (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_ip6_address_dup ()

+
NMIP6Address *      nm_ip6_address_dup                  (NMIP6Address *source);
+

+

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

source :

+

Returns :

+
+
+
+
+

nm_ip6_address_ref ()

+
void                nm_ip6_address_ref                  (NMIP6Address *address);
+

+

+
++ + + + +

address :

+
+
+
+
+

nm_ip6_address_unref ()

+
void                nm_ip6_address_unref                (NMIP6Address *address);
+

+

+
++ + + + +

address :

+
+
+
+
+

nm_ip6_address_compare ()

+
gboolean            nm_ip6_address_compare              (NMIP6Address *address,
+                                                         NMIP6Address *other);
+

+

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

address :

+

other :

+

Returns :

+
+
+
+
+

nm_ip6_address_get_address ()

+
const struct in6_addr * nm_ip6_address_get_address      (NMIP6Address *address);
+

+

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

address :

+

Returns :

+
+
+
+
+

nm_ip6_address_set_address ()

+
void                nm_ip6_address_set_address          (NMIP6Address *address,
+                                                         const struct in6_addr *addr);
+

+

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

address :

+

addr :

+
+
+
+
+

nm_ip6_address_get_prefix ()

+
guint32             nm_ip6_address_get_prefix           (NMIP6Address *address);
+

+

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

address :

+

Returns :

+
+
+
+
+

nm_ip6_address_set_prefix ()

+
void                nm_ip6_address_set_prefix           (NMIP6Address *address,
+                                                         guint32 prefix);
+

+

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

address :

+

prefix :

+
+
+
+
+

nm_ip6_address_get_gateway ()

+
const struct in6_addr * nm_ip6_address_get_gateway      (NMIP6Address *address);
+

+

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

address :

+

Returns :

+
+
+
+
+

nm_ip6_address_set_gateway ()

+
void                nm_ip6_address_set_gateway          (NMIP6Address *address,
+                                                         const struct in6_addr *gw);
+

+

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

address :

+

gw :

+
+
+
+
+

NMIP6Route

+
typedef struct NMIP6Route NMIP6Route;
+
+

+

+
+
+
+

nm_ip6_route_new ()

+
NMIP6Route *        nm_ip6_route_new                    (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_ip6_route_dup ()

+
NMIP6Route *        nm_ip6_route_dup                    (NMIP6Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip6_route_ref ()

+
void                nm_ip6_route_ref                    (NMIP6Route *route);
+

+

+
++ + + + +

route :

+
+
+
+
+

nm_ip6_route_unref ()

+
void                nm_ip6_route_unref                  (NMIP6Route *route);
+

+

+
++ + + + +

route :

+
+
+
+
+

nm_ip6_route_compare ()

+
gboolean            nm_ip6_route_compare                (NMIP6Route *route,
+                                                         NMIP6Route *other);
+

+

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

route :

+

other :

+

Returns :

+
+
+
+
+

nm_ip6_route_get_dest ()

+
const struct in6_addr * nm_ip6_route_get_dest           (NMIP6Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip6_route_set_dest ()

+
void                nm_ip6_route_set_dest               (NMIP6Route *route,
+                                                         const struct in6_addr *dest);
+

+

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

route :

+

dest :

+
+
+
+
+

nm_ip6_route_get_prefix ()

+
guint32             nm_ip6_route_get_prefix             (NMIP6Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip6_route_set_prefix ()

+
void                nm_ip6_route_set_prefix             (NMIP6Route *route,
+                                                         guint32 prefix);
+

+

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

route :

+

prefix :

+
+
+
+
+

nm_ip6_route_get_next_hop ()

+
const struct in6_addr * nm_ip6_route_get_next_hop       (NMIP6Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip6_route_set_next_hop ()

+
void                nm_ip6_route_set_next_hop           (NMIP6Route *route,
+                                                         const struct in6_addr *next_hop);
+

+

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

route :

+

next_hop :

+
+
+
+
+

nm_ip6_route_get_metric ()

+
guint32             nm_ip6_route_get_metric             (NMIP6Route *route);
+

+

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

route :

+

Returns :

+
+
+
+
+

nm_ip6_route_set_metric ()

+
void                nm_ip6_route_set_metric             (NMIP6Route *route,
+                                                         guint32 metric);
+

+

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

route :

+

metric :

+
+
+
+
+

NMSettingIP6Config

+
typedef struct _NMSettingIP6Config NMSettingIP6Config;
+

+

+
+
+
+

NMSettingIP6ConfigClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingIP6ConfigClass;
+
+

+

+
+
+
+

nm_setting_ip6_config_get_type ()

+
GType               nm_setting_ip6_config_get_type      (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_ip6_config_new ()

+
NMSetting *         nm_setting_ip6_config_new           (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_method ()

+
const char *        nm_setting_ip6_config_get_method    (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_num_dns ()

+
guint32             nm_setting_ip6_config_get_num_dns   (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_dns ()

+
const struct in6_addr * nm_setting_ip6_config_get_dns   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_add_dns ()

+
gboolean            nm_setting_ip6_config_add_dns       (NMSettingIP6Config *setting,
+                                                         const struct in6_addr *dns);
+

+

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

setting :

+

dns :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_remove_dns ()

+
void                nm_setting_ip6_config_remove_dns    (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip6_config_clear_dns ()

+
void                nm_setting_ip6_config_clear_dns     (NMSettingIP6Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip6_config_get_num_dns_searches ()

+
guint32             nm_setting_ip6_config_get_num_dns_searches
+                                                        (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_dns_search ()

+
const char *        nm_setting_ip6_config_get_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_add_dns_search ()

+
gboolean            nm_setting_ip6_config_add_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         const char *dns_search);
+

+

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

setting :

+

dns_search :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_remove_dns_search ()

+
void                nm_setting_ip6_config_remove_dns_search
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip6_config_clear_dns_searches ()

+
void                nm_setting_ip6_config_clear_dns_searches
+                                                        (NMSettingIP6Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip6_config_get_num_addresses ()

+
guint32             nm_setting_ip6_config_get_num_addresses
+                                                        (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_address ()

+
NMIP6Address *      nm_setting_ip6_config_get_address   (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_add_address ()

+
gboolean            nm_setting_ip6_config_add_address   (NMSettingIP6Config *setting,
+                                                         NMIP6Address *address);
+

+

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

setting :

+

address :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_remove_address ()

+
void                nm_setting_ip6_config_remove_address
+                                                        (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip6_config_clear_addresses ()

+
void                nm_setting_ip6_config_clear_addresses
+                                                        (NMSettingIP6Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip6_config_get_num_routes ()

+
guint32             nm_setting_ip6_config_get_num_routes
+                                                        (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_route ()

+
NMIP6Route *        nm_setting_ip6_config_get_route     (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_add_route ()

+
gboolean            nm_setting_ip6_config_add_route     (NMSettingIP6Config *setting,
+                                                         NMIP6Route *route);
+

+

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

setting :

+

route :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_remove_route ()

+
void                nm_setting_ip6_config_remove_route  (NMSettingIP6Config *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_ip6_config_clear_routes ()

+
void                nm_setting_ip6_config_clear_routes  (NMSettingIP6Config *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_ip6_config_get_ignore_auto_routes ()

+
gboolean            nm_setting_ip6_config_get_ignore_auto_routes
+                                                        (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_ignore_auto_dns ()

+
gboolean            nm_setting_ip6_config_get_ignore_auto_dns
+                                                        (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_never_default ()

+
gboolean            nm_setting_ip6_config_get_never_default
+                                                        (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ip6_config_get_may_fail ()

+
gboolean            nm_setting_ip6_config_get_may_fail  (NMSettingIP6Config *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "addresses" property

+
  "addresses"                GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar___*  : Read / Write
+

+Array of IPv6 address structures. Each IPv6 address structure is +composed of 3 members, the first being a byte array containing the IPv6 +address (network byte order), the second a 32-bit integer containing the +IPv6 address prefix, and the third a byte array containing the IPv6 +address (network byte order) of the gateway associated with this address, +if any. If no gateway is given, the third element should be given as +all zeros. For the 'auto' method, given IP addresses are appended to +those returned by automatic configuration. Addresses cannot be used with +the 'shared' or 'link-local' methods as the interface is automatically +assigned an address with these methods. +

+
+
+
+

The "dns" property

+
  "dns"                      GPtrArray_GArray_guchar__*  : Read / Write
+

+Array of DNS servers, where each member of the array is a byte array +containing the IPv6 address of the DNS server (in network byte order). +For the 'auto' method, these DNS servers are appended to those (if any) +returned by automatic configuration. DNS servers cannot be used with +the 'shared' or 'link-local' methods as there is no usptream network. In +all other methods, these DNS servers are used as the only DNS servers for +this connection. +

+
+
+
+

The "dns-search" property

+
  "dns-search"               GSList_gchararray_*   : Read / Write
+

+List of DNS search domains. For the 'auto' method, these search domains +are appended to those returned by automatic configuration. Search domains +cannot be used with the 'shared' or 'link-local' methods as there is no +upstream network. In all other methods, these search domains are used +as the only search domains for this connection. +

+
+
+
+

The "ignore-auto-dns" property

+
  "ignore-auto-dns"          gboolean              : Read / Write / Construct
+

+When the method is set to 'auto' and this property is set to TRUE, +automatically configured nameservers and search domains are ignored +and only nameservers and search domains specified in +"dns" and "dns-search", if any, are +used. +

+

Default value: FALSE

+
+
+
+

The "ignore-auto-routes" property

+
  "ignore-auto-routes"       gboolean              : Read / Write / Construct
+

+When the method is set to 'auto' and this property is set to TRUE, +automatically configured routes are ignored and only routes specified +in "routes", if any, are used. +

+

Default value: FALSE

+
+
+
+

The "may-fail" property

+
  "may-fail"                 gboolean              : Read / Write / Construct
+

+If TRUE, allow overall network configuration to proceed even if IPv6 +configuration times out. Note that at least one IP configuration +must succeed or overall network configuration will still fail. For +example, in IPv4-only networks, setting this property to TRUE allows +the overall network configuration to succeed if IPv6 configuration fails +but IPv4 configuration completes successfully. +

+

Default value: FALSE

+
+
+
+

The "method" property

+
  "method"                   gchar*                : Read / Write
+

+IPv6 configuration method. If 'auto' is specified then the appropriate +automatic method (DHCP, PPP, router advertisement, etc) is used for the +interface and most other properties can be left unset. If 'link-local' +is specified, then an IPv6 link-local address will be assigned to the +interface. If 'manual' is specified, static IP addressing is used and +at least one IP address must be given in the 'addresses' property. If +'ignored' is specified, IPv6 configuration is not done. This property +must be set. NOTE: the 'shared' method are not yet supported. +

+

Default value: NULL

+
+
+
+

The "never-default" property

+
  "never-default"            gboolean              : Read / Write / Construct
+

+If TRUE, this connection will never be the default IPv6 connection, +meaning it will never be assigned the default IPv6 route by NetworkManager. +

+

Default value: FALSE

+
+
+
+

The "routes" property

+
  "routes"                   GPtrArray_GValueArray_GArray_guchar_+guint+GArray_guchar_+guint__*  : Read / Write
+

+Array of IPv6 route structures. Each IPv6 route structure is composed +of 4 members; the first being the destination IPv6 network or +address (network byte order) as a byte array, the second the destination +network or address IPv6 prefix, the third being the next-hop IPv6 address +(network byte order) if any, and the fourth being the route metric. For +the 'auto' method, given IP routes are appended to those returned by +automatic configuration. Routes cannot be used with the 'shared' or +'link-local' methods because there is no upstream network. +

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingOlpcMesh.html b/docs/libnm-util/html/NMSettingOlpcMesh.html new file mode 100644 index 00000000..bf918f5e --- /dev/null +++ b/docs/libnm-util/html/NMSettingOlpcMesh.html @@ -0,0 +1,316 @@ + + + + +NMSettingOlpcMesh + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingOlpcMesh

+

NMSettingOlpcMesh

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingOlpcMesh
+
+
+
+

Properties

+
+  "channel"                  guint                 : Read / Write / Construct
+  "dhcp-anycast-address"     GArray_guchar_*       : Read / Write
+  "ssid"                     GArray_guchar_*       : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_OLPC_MESH_SETTING_NAME

+
#define NM_SETTING_OLPC_MESH_SETTING_NAME "802-11-olpc-mesh"
+
+

+

+
+
+
+

enum NMSettingOlpcMeshError

+
typedef enum
+{
+	NM_SETTING_OLPC_MESH_ERROR_UNKNOWN = 0,
+	NM_SETTING_OLPC_MESH_ERROR_INVALID_PROPERTY,
+	NM_SETTING_OLPC_MESH_ERROR_MISSING_PROPERTY
+} NMSettingOlpcMeshError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_OLPC_MESH_ERROR

+
#define NM_TYPE_SETTING_OLPC_MESH_ERROR (nm_setting_olpc_mesh_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_OLPC_MESH_ERROR

+
#define NM_SETTING_OLPC_MESH_ERROR nm_setting_olpc_mesh_error_quark ()
+
+

+

+
+
+
+

nm_setting_olpc_mesh_error_quark ()

+
GQuark              nm_setting_olpc_mesh_error_quark    (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_OLPC_MESH_SSID

+
#define NM_SETTING_OLPC_MESH_SSID                 "ssid"
+
+

+

+
+
+
+

NM_SETTING_OLPC_MESH_CHANNEL

+
#define NM_SETTING_OLPC_MESH_CHANNEL              "channel"
+
+

+

+
+
+
+

NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS

+
#define NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS "dhcp-anycast-address"
+
+

+

+
+
+
+

NMSettingOlpcMesh

+
typedef struct _NMSettingOlpcMesh NMSettingOlpcMesh;
+

+

+
+
+
+

NMSettingOlpcMeshClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingOlpcMeshClass;
+
+

+

+
+
+
+

nm_setting_olpc_mesh_get_type ()

+
GType               nm_setting_olpc_mesh_get_type       (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_olpc_mesh_new ()

+
NMSetting *         nm_setting_olpc_mesh_new            (void);
+

+Creates a new NMSettingOlpcMesh object with default values. +

+
++ + + + +

Returns :

the new empty NMSettingOlpcMesh object +
+
+
+
+

nm_setting_olpc_mesh_get_ssid ()

+
const GByteArray *  nm_setting_olpc_mesh_get_ssid       (NMSettingOlpcMesh *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_olpc_mesh_get_channel ()

+
guint32             nm_setting_olpc_mesh_get_channel    (NMSettingOlpcMesh *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_olpc_mesh_get_dhcp_anycast_address ()

+
const GByteArray *  nm_setting_olpc_mesh_get_dhcp_anycast_address
+                                                        (NMSettingOlpcMesh *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "channel" property

+
  "channel"                  guint                 : Read / Write / Construct
+

+Channel on which the mesh network to join is located. +

+

Default value: 0

+
+
+
+

The "dhcp-anycast-address" property

+
  "dhcp-anycast-address"     GArray_guchar_*       : Read / Write
+

+Anycast DHCP address used when requesting an IP address via DHCP. The +specific anycast address used determines which DHCP server class answers +the request. +

+
+
+
+

The "ssid" property

+
  "ssid"                     GArray_guchar_*       : Read / Write
+

+SSID of the mesh network to join. +

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingPPP.html b/docs/libnm-util/html/NMSettingPPP.html new file mode 100644 index 00000000..e336ef96 --- /dev/null +++ b/docs/libnm-util/html/NMSettingPPP.html @@ -0,0 +1,968 @@ + + + + +NMSettingPPP + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingPPP

+

NMSettingPPP

+
+
+

Synopsis

+
#define             NM_SETTING_PPP_SETTING_NAME
+enum                NMSettingPPPError;
+#define             NM_TYPE_SETTING_PPP_ERROR
+#define             NM_SETTING_PPP_ERROR
+GQuark              nm_setting_ppp_error_quark          (void);
+#define             NM_SETTING_PPP_NOAUTH
+#define             NM_SETTING_PPP_REFUSE_EAP
+#define             NM_SETTING_PPP_REFUSE_PAP
+#define             NM_SETTING_PPP_REFUSE_CHAP
+#define             NM_SETTING_PPP_REFUSE_MSCHAP
+#define             NM_SETTING_PPP_REFUSE_MSCHAPV2
+#define             NM_SETTING_PPP_NOBSDCOMP
+#define             NM_SETTING_PPP_NODEFLATE
+#define             NM_SETTING_PPP_NO_VJ_COMP
+#define             NM_SETTING_PPP_REQUIRE_MPPE
+#define             NM_SETTING_PPP_REQUIRE_MPPE_128
+#define             NM_SETTING_PPP_MPPE_STATEFUL
+#define             NM_SETTING_PPP_CRTSCTS
+#define             NM_SETTING_PPP_BAUD
+#define             NM_SETTING_PPP_MRU
+#define             NM_SETTING_PPP_MTU
+#define             NM_SETTING_PPP_LCP_ECHO_FAILURE
+#define             NM_SETTING_PPP_LCP_ECHO_INTERVAL
+                    NMSettingPPP;
+                    NMSettingPPPClass;
+GType               nm_setting_ppp_get_type             (void);
+NMSetting *         nm_setting_ppp_new                  (void);
+gboolean            nm_setting_ppp_get_noauth           (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_refuse_eap       (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_refuse_pap       (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_refuse_chap      (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_refuse_mschap    (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_refuse_mschapv2  (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_nobsdcomp        (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_nodeflate        (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_no_vj_comp       (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_require_mppe     (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_require_mppe_128 (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_mppe_stateful    (NMSettingPPP *setting);
+gboolean            nm_setting_ppp_get_crtscts          (NMSettingPPP *setting);
+guint32             nm_setting_ppp_get_baud             (NMSettingPPP *setting);
+guint32             nm_setting_ppp_get_mru              (NMSettingPPP *setting);
+guint32             nm_setting_ppp_get_mtu              (NMSettingPPP *setting);
+guint32             nm_setting_ppp_get_lcp_echo_failure (NMSettingPPP *setting);
+guint32             nm_setting_ppp_get_lcp_echo_interval
+                                                        (NMSettingPPP *setting);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingPPP
+
+
+
+

Properties

+
+  "baud"                     guint                 : Read / Write / Construct
+  "crtscts"                  gboolean              : Read / Write / Construct
+  "lcp-echo-failure"         guint                 : Read / Write / Construct
+  "lcp-echo-interval"        guint                 : Read / Write / Construct
+  "mppe-stateful"            gboolean              : Read / Write / Construct
+  "mru"                      guint                 : Read / Write / Construct
+  "mtu"                      guint                 : Read / Write / Construct
+  "no-vj-comp"               gboolean              : Read / Write / Construct
+  "noauth"                   gboolean              : Read / Write / Construct
+  "nobsdcomp"                gboolean              : Read / Write / Construct
+  "nodeflate"                gboolean              : Read / Write / Construct
+  "refuse-chap"              gboolean              : Read / Write / Construct
+  "refuse-eap"               gboolean              : Read / Write / Construct
+  "refuse-mschap"            gboolean              : Read / Write / Construct
+  "refuse-mschapv2"          gboolean              : Read / Write / Construct
+  "refuse-pap"               gboolean              : Read / Write / Construct
+  "require-mppe"             gboolean              : Read / Write / Construct
+  "require-mppe-128"         gboolean              : Read / Write / Construct
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_PPP_SETTING_NAME

+
#define NM_SETTING_PPP_SETTING_NAME "ppp"
+
+

+

+
+
+
+

enum NMSettingPPPError

+
typedef enum
+{
+	NM_SETTING_PPP_ERROR_UNKNOWN = 0,
+	NM_SETTING_PPP_ERROR_INVALID_PROPERTY,
+	NM_SETTING_PPP_ERROR_MISSING_PROPERTY,
+	NM_SETTING_PPP_ERROR_REQUIRE_MPPE_NOT_ALLOWED
+} NMSettingPPPError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_PPP_ERROR

+
#define NM_TYPE_SETTING_PPP_ERROR (nm_setting_ppp_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_PPP_ERROR

+
#define NM_SETTING_PPP_ERROR nm_setting_ppp_error_quark ()
+
+

+

+
+
+
+

nm_setting_ppp_error_quark ()

+
GQuark              nm_setting_ppp_error_quark          (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_PPP_NOAUTH

+
#define NM_SETTING_PPP_NOAUTH            "noauth"
+
+

+

+
+
+
+

NM_SETTING_PPP_REFUSE_EAP

+
#define NM_SETTING_PPP_REFUSE_EAP        "refuse-eap"
+
+

+

+
+
+
+

NM_SETTING_PPP_REFUSE_PAP

+
#define NM_SETTING_PPP_REFUSE_PAP        "refuse-pap"
+
+

+

+
+
+
+

NM_SETTING_PPP_REFUSE_CHAP

+
#define NM_SETTING_PPP_REFUSE_CHAP       "refuse-chap"
+
+

+

+
+
+
+

NM_SETTING_PPP_REFUSE_MSCHAP

+
#define NM_SETTING_PPP_REFUSE_MSCHAP     "refuse-mschap"
+
+

+

+
+
+
+

NM_SETTING_PPP_REFUSE_MSCHAPV2

+
#define NM_SETTING_PPP_REFUSE_MSCHAPV2   "refuse-mschapv2"
+
+

+

+
+
+
+

NM_SETTING_PPP_NOBSDCOMP

+
#define NM_SETTING_PPP_NOBSDCOMP         "nobsdcomp"
+
+

+

+
+
+
+

NM_SETTING_PPP_NODEFLATE

+
#define NM_SETTING_PPP_NODEFLATE         "nodeflate"
+
+

+

+
+
+
+

NM_SETTING_PPP_NO_VJ_COMP

+
#define NM_SETTING_PPP_NO_VJ_COMP        "no-vj-comp"
+
+

+

+
+
+
+

NM_SETTING_PPP_REQUIRE_MPPE

+
#define NM_SETTING_PPP_REQUIRE_MPPE      "require-mppe"
+
+

+

+
+
+
+

NM_SETTING_PPP_REQUIRE_MPPE_128

+
#define NM_SETTING_PPP_REQUIRE_MPPE_128  "require-mppe-128"
+
+

+

+
+
+
+

NM_SETTING_PPP_MPPE_STATEFUL

+
#define NM_SETTING_PPP_MPPE_STATEFUL     "mppe-stateful"
+
+

+

+
+
+
+

NM_SETTING_PPP_CRTSCTS

+
#define NM_SETTING_PPP_CRTSCTS           "crtscts"
+
+

+

+
+
+
+

NM_SETTING_PPP_BAUD

+
#define NM_SETTING_PPP_BAUD              "baud"
+
+

+

+
+
+
+

NM_SETTING_PPP_MRU

+
#define NM_SETTING_PPP_MRU               "mru"
+
+

+

+
+
+
+

NM_SETTING_PPP_MTU

+
#define NM_SETTING_PPP_MTU               "mtu"
+
+

+

+
+
+
+

NM_SETTING_PPP_LCP_ECHO_FAILURE

+
#define NM_SETTING_PPP_LCP_ECHO_FAILURE  "lcp-echo-failure"
+
+

+

+
+
+
+

NM_SETTING_PPP_LCP_ECHO_INTERVAL

+
#define NM_SETTING_PPP_LCP_ECHO_INTERVAL "lcp-echo-interval"
+
+

+

+
+
+
+

NMSettingPPP

+
typedef struct _NMSettingPPP NMSettingPPP;
+

+

+
+
+
+

NMSettingPPPClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingPPPClass;
+
+

+

+
+
+
+

nm_setting_ppp_get_type ()

+
GType               nm_setting_ppp_get_type             (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_ppp_new ()

+
NMSetting *         nm_setting_ppp_new                  (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_ppp_get_noauth ()

+
gboolean            nm_setting_ppp_get_noauth           (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_refuse_eap ()

+
gboolean            nm_setting_ppp_get_refuse_eap       (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_refuse_pap ()

+
gboolean            nm_setting_ppp_get_refuse_pap       (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_refuse_chap ()

+
gboolean            nm_setting_ppp_get_refuse_chap      (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_refuse_mschap ()

+
gboolean            nm_setting_ppp_get_refuse_mschap    (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_refuse_mschapv2 ()

+
gboolean            nm_setting_ppp_get_refuse_mschapv2  (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_nobsdcomp ()

+
gboolean            nm_setting_ppp_get_nobsdcomp        (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_nodeflate ()

+
gboolean            nm_setting_ppp_get_nodeflate        (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_no_vj_comp ()

+
gboolean            nm_setting_ppp_get_no_vj_comp       (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_require_mppe ()

+
gboolean            nm_setting_ppp_get_require_mppe     (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_require_mppe_128 ()

+
gboolean            nm_setting_ppp_get_require_mppe_128 (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_mppe_stateful ()

+
gboolean            nm_setting_ppp_get_mppe_stateful    (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_crtscts ()

+
gboolean            nm_setting_ppp_get_crtscts          (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_baud ()

+
guint32             nm_setting_ppp_get_baud             (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_mru ()

+
guint32             nm_setting_ppp_get_mru              (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_mtu ()

+
guint32             nm_setting_ppp_get_mtu              (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_lcp_echo_failure ()

+
guint32             nm_setting_ppp_get_lcp_echo_failure (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_ppp_get_lcp_echo_interval ()

+
guint32             nm_setting_ppp_get_lcp_echo_interval
+                                                        (NMSettingPPP *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "baud" property

+
  "baud"                     guint                 : Read / Write / Construct
+

+If non-zero, instruct pppd to set the serial port to the specified +baudrate. This value should normally be left as 0 to automatically +choose the speed. +

+

Default value: 0

+
+
+
+

The "crtscts" property

+
  "crtscts"                  gboolean              : Read / Write / Construct
+

+If TRUE, specify that pppd should set the serial port to use hardware +flow control with RTS and CTS signals. This value should normally be +set to FALSE. +

+

Default value: FALSE

+
+
+
+

The "lcp-echo-failure" property

+
  "lcp-echo-failure"         guint                 : Read / Write / Construct
+

+If non-zero, instruct pppd to presume the connection to the peer has +failed if the specified number of LCP echo-requests go unanswered by the +peer. The 'lcp-echo-interval' property must also be set to a non-zero +value if this property is used. +

+

Default value: 0

+
+
+
+

The "lcp-echo-interval" property

+
  "lcp-echo-interval"        guint                 : Read / Write / Construct
+

+If non-zero, instruct pppd to send an LCP echo-request frame to the peer +every n seconds (where n is the specified value). Note that some PPP +peers will respond to echo requests and some will not, and it is not +possible to autodetect this. +

+

Default value: 0

+
+
+
+

The "mppe-stateful" property

+
  "mppe-stateful"            gboolean              : Read / Write / Construct
+

+If TRUE, stateful MPPE is used. See pppd documentation for more +information on stateful MPPE.", +

+

Default value: FALSE

+
+
+
+

The "mru" property

+
  "mru"                      guint                 : Read / Write / Construct
+

+If non-zero, instruct pppd to request that the peer send packets no +larger than the specified size. If non-zero, the MRU should be between +128 and 16384. +

+

Allowed values: <= 16384

+

Default value: 0

+
+
+
+

The "mtu" property

+
  "mtu"                      guint                 : Read / Write / Construct
+

+If non-zero, instruct pppd to send packets no larger than the specified +size. +

+

Default value: 0

+
+
+
+

The "no-vj-comp" property

+
  "no-vj-comp"               gboolean              : Read / Write / Construct
+

+If TRUE, Van Jacobsen TCP header compression will not be requested. +

+

Default value: FALSE

+
+
+
+

The "noauth" property

+
  "noauth"                   gboolean              : Read / Write / Construct
+

+If TRUE, do not require the other side (usually the PPP server) to +authenticate itself to the client. If FALSE, require authentication from +the remote side. In almost all cases, this should be TRUE. +

+

Default value: TRUE

+
+
+
+

The "nobsdcomp" property

+
  "nobsdcomp"                gboolean              : Read / Write / Construct
+

+If TRUE, BSD compression will not be requested. +

+

Default value: FALSE

+
+
+
+

The "nodeflate" property

+
  "nodeflate"                gboolean              : Read / Write / Construct
+

+If TRUE, 'deflate' compression will not be requested. +

+

Default value: FALSE

+
+
+
+

The "refuse-chap" property

+
  "refuse-chap"              gboolean              : Read / Write / Construct
+

+If TRUE, the CHAP authentication method will not be used. +

+

Default value: FALSE

+
+
+
+

The "refuse-eap" property

+
  "refuse-eap"               gboolean              : Read / Write / Construct
+

+If TRUE, the EAP authentication method will not be used. +

+

Default value: FALSE

+
+
+
+

The "refuse-mschap" property

+
  "refuse-mschap"            gboolean              : Read / Write / Construct
+

+If TRUE, the MSCHAP authentication method will not be used. +

+

Default value: FALSE

+
+
+
+

The "refuse-mschapv2" property

+
  "refuse-mschapv2"          gboolean              : Read / Write / Construct
+

+If TRUE, the MSCHAPv2 authentication method will not be used. +

+

Default value: FALSE

+
+
+
+

The "refuse-pap" property

+
  "refuse-pap"               gboolean              : Read / Write / Construct
+

+If TRUE, the PAP authentication method will not be used. +

+

Default value: FALSE

+
+
+
+

The "require-mppe" property

+
  "require-mppe"             gboolean              : Read / Write / Construct
+

+If TRUE, MPPE (Microsoft Point-to-Point Encrpytion) will be required for +the PPP session. If either 64-bit or 128-bit MPPE is not available the +session will fail. Note that MPPE is not used on mobile broadband +connections. +

+

Default value: FALSE

+
+
+
+

The "require-mppe-128" property

+
  "require-mppe-128"         gboolean              : Read / Write / Construct
+

+If TRUE, 128-bit MPPE (Microsoft Point-to-Point Encrpytion) will be +required for the PPP session, and the 'require-mppe' property must also +be set to TRUE. If 128-bit MPPE is not available the session will fail. +

+

Default value: FALSE

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingPPPOE.html b/docs/libnm-util/html/NMSettingPPPOE.html new file mode 100644 index 00000000..baa6bffc --- /dev/null +++ b/docs/libnm-util/html/NMSettingPPPOE.html @@ -0,0 +1,317 @@ + + + + +NMSettingPPPOE + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingPPPOE

+

NMSettingPPPOE

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingPPPOE
+
+
+
+

Properties

+
+  "password"                 gchar*                : Read / Write
+  "service"                  gchar*                : Read / Write
+  "username"                 gchar*                : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_PPPOE_SETTING_NAME

+
#define NM_SETTING_PPPOE_SETTING_NAME "pppoe"
+
+

+

+
+
+
+

enum NMSettingPPPOEError

+
typedef enum
+{
+	NM_SETTING_PPPOE_ERROR_UNKNOWN = 0,
+	NM_SETTING_PPPOE_ERROR_INVALID_PROPERTY,
+	NM_SETTING_PPPOE_ERROR_MISSING_PROPERTY,
+	NM_SETTING_PPPOE_ERROR_MISSING_PPP_SETTING
+} NMSettingPPPOEError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_PPPOE_ERROR

+
#define NM_TYPE_SETTING_PPPOE_ERROR (nm_setting_pppoe_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_PPPOE_ERROR

+
#define NM_SETTING_PPPOE_ERROR nm_setting_pppoe_error_quark ()
+
+

+

+
+
+
+

nm_setting_pppoe_error_quark ()

+
GQuark              nm_setting_pppoe_error_quark        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_PPPOE_SERVICE

+
#define NM_SETTING_PPPOE_SERVICE  "service"
+
+

+

+
+
+
+

NM_SETTING_PPPOE_USERNAME

+
#define NM_SETTING_PPPOE_USERNAME "username"
+
+

+

+
+
+
+

NM_SETTING_PPPOE_PASSWORD

+
#define NM_SETTING_PPPOE_PASSWORD "password"
+
+

+

+
+
+
+

NMSettingPPPOE

+
typedef struct _NMSettingPPPOE NMSettingPPPOE;
+

+

+
+
+
+

NMSettingPPPOEClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingPPPOEClass;
+
+

+

+
+
+
+

nm_setting_pppoe_get_type ()

+
GType               nm_setting_pppoe_get_type           (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_pppoe_new ()

+
NMSetting *         nm_setting_pppoe_new                (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_pppoe_get_service ()

+
const char *        nm_setting_pppoe_get_service        (NMSettingPPPOE *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_pppoe_get_username ()

+
const char *        nm_setting_pppoe_get_username       (NMSettingPPPOE *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_pppoe_get_password ()

+
const char *        nm_setting_pppoe_get_password       (NMSettingPPPOE *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "password" property

+
  "password"                 gchar*                : Read / Write
+

+Password used to authenticate with the PPPoE service. +

+

Default value: NULL

+
+
+
+

The "service" property

+
  "service"                  gchar*                : Read / Write
+

+If specified, instruct PPPoE to only initiate sessions with access +concentrators that provide the specified serivce. For most providers, +this should be left blank. It is only required if there are multiple +access concentrators or a specific service is known to be required. +

+

Default value: NULL

+
+
+
+

The "username" property

+
  "username"                 gchar*                : Read / Write
+

+Username used to authenticate with the PPPoE service. +

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingSerial.html b/docs/libnm-util/html/NMSettingSerial.html new file mode 100644 index 00000000..5f45e7f9 --- /dev/null +++ b/docs/libnm-util/html/NMSettingSerial.html @@ -0,0 +1,405 @@ + + + + +NMSettingSerial + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingSerial

+

NMSettingSerial

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingSerial
+
+
+
+

Properties

+
+  "baud"                     guint                 : Read / Write / Construct
+  "bits"                     guint                 : Read / Write / Construct
+  "parity"                   gchar                 : Read / Write / Construct
+  "send-delay"               guint64               : Read / Write / Construct
+  "stopbits"                 guint                 : Read / Write / Construct
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_SERIAL_SETTING_NAME

+
#define NM_SETTING_SERIAL_SETTING_NAME "serial"
+
+

+

+
+
+
+

enum NMSettingSerialError

+
typedef enum
+{
+	NM_SETTING_SERIAL_ERROR_UNKNOWN = 0,
+	NM_SETTING_SERIAL_ERROR_INVALID_PROPERTY,
+	NM_SETTING_SERIAL_ERROR_MISSING_PROPERTY,
+	NM_SETTING_SERIAL_ERROR_MISSING_PPP_SETTING
+} NMSettingSerialError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_SERIAL_ERROR

+
#define NM_TYPE_SETTING_SERIAL_ERROR (nm_setting_serial_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_SERIAL_ERROR

+
#define NM_SETTING_SERIAL_ERROR nm_setting_serial_error_quark ()
+
+

+

+
+
+
+

nm_setting_serial_error_quark ()

+
GQuark              nm_setting_serial_error_quark       (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_SERIAL_BAUD

+
#define NM_SETTING_SERIAL_BAUD "baud"
+
+

+

+
+
+
+

NM_SETTING_SERIAL_BITS

+
#define NM_SETTING_SERIAL_BITS "bits"
+
+

+

+
+
+
+

NM_SETTING_SERIAL_PARITY

+
#define NM_SETTING_SERIAL_PARITY "parity"
+
+

+

+
+
+
+

NM_SETTING_SERIAL_STOPBITS

+
#define NM_SETTING_SERIAL_STOPBITS "stopbits"
+
+

+

+
+
+
+

NM_SETTING_SERIAL_SEND_DELAY

+
#define NM_SETTING_SERIAL_SEND_DELAY "send-delay"
+
+

+

+
+
+
+

NMSettingSerial

+
typedef struct _NMSettingSerial NMSettingSerial;
+

+

+
+
+
+

NMSettingSerialClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingSerialClass;
+
+

+

+
+
+
+

nm_setting_serial_get_type ()

+
GType               nm_setting_serial_get_type          (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_serial_new ()

+
NMSetting *         nm_setting_serial_new               (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_serial_get_baud ()

+
guint               nm_setting_serial_get_baud          (NMSettingSerial *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_serial_get_bits ()

+
guint               nm_setting_serial_get_bits          (NMSettingSerial *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_serial_get_parity ()

+
char                nm_setting_serial_get_parity        (NMSettingSerial *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_serial_get_stopbits ()

+
guint               nm_setting_serial_get_stopbits      (NMSettingSerial *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_serial_get_send_delay ()

+
guint64             nm_setting_serial_get_send_delay    (NMSettingSerial *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "baud" property

+
  "baud"                     guint                 : Read / Write / Construct
+

+Speed to use for communication over the serial port. Note that this value +usually has no effect for mobile broadband modems as they generally +ignore speed settings and use the highest available speed. +

+

Default value: 57600

+
+
+
+

The "bits" property

+
  "bits"                     guint                 : Read / Write / Construct
+

+Byte-width of the serial communication. +

+

Allowed values: [5,8]

+

Default value: 8

+
+
+
+

The "parity" property

+
  "parity"                   gchar                 : Read / Write / Construct
+

+Parity setting of the serial port. Either 'E' for even parity, 'o' for +odd parity, or 'n' for no parity. +

+

Allowed values: [69,111]

+

Default value: 110

+
+
+
+

The "send-delay" property

+
  "send-delay"               guint64               : Read / Write / Construct
+

+Time to delay between each byte sent to the modem, in microseconds. +

+

Default value: 0

+
+
+
+

The "stopbits" property

+
  "stopbits"                 guint                 : Read / Write / Construct
+

+Number of stop bits for communication on the serial port. Either 1 or 2. +The 1 in '8n1' for example. +

+

Allowed values: [1,2]

+

Default value: 1

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingVPN.html b/docs/libnm-util/html/NMSettingVPN.html new file mode 100644 index 00000000..15bd338b --- /dev/null +++ b/docs/libnm-util/html/NMSettingVPN.html @@ -0,0 +1,579 @@ + + + + +NMSettingVPN + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingVPN

+

NMSettingVPN

+
+
+

Synopsis

+
#define             NM_SETTING_VPN_SETTING_NAME
+enum                NMSettingVpnError;
+#define             NM_TYPE_SETTING_VPN_ERROR
+#define             NM_SETTING_VPN_ERROR
+GQuark              nm_setting_vpn_error_quark          (void);
+#define             NM_SETTING_VPN_SERVICE_TYPE
+#define             NM_SETTING_VPN_USER_NAME
+#define             NM_SETTING_VPN_DATA
+#define             NM_SETTING_VPN_SECRETS
+                    NMSettingVPN;
+                    NMSettingVPNClass;
+void                (*VPNIterFunc)                      (const char *key,
+                                                         const char *value,
+                                                         gpointer user_data);
+GType               nm_setting_vpn_get_type             (void);
+NMSetting *         nm_setting_vpn_new                  (void);
+const char *        nm_setting_vpn_get_service_type     (NMSettingVPN *setting);
+const char *        nm_setting_vpn_get_user_name        (NMSettingVPN *setting);
+void                nm_setting_vpn_add_data_item        (NMSettingVPN *setting,
+                                                         const char *key,
+                                                         const char *item);
+const char *        nm_setting_vpn_get_data_item        (NMSettingVPN *setting,
+                                                         const char *key);
+void                nm_setting_vpn_remove_data_item     (NMSettingVPN *setting,
+                                                         const char *key);
+void                nm_setting_vpn_foreach_data_item    (NMSettingVPN *setting,
+                                                         VPNIterFunc func,
+                                                         gpointer user_data);
+void                nm_setting_vpn_add_secret           (NMSettingVPN *setting,
+                                                         const char *key,
+                                                         const char *secret);
+const char *        nm_setting_vpn_get_secret           (NMSettingVPN *setting,
+                                                         const char *key);
+void                nm_setting_vpn_remove_secret        (NMSettingVPN *setting,
+                                                         const char *key);
+void                nm_setting_vpn_foreach_secret       (NMSettingVPN *setting,
+                                                         VPNIterFunc func,
+                                                         gpointer user_data);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingVPN
+
+
+
+

Properties

+
+  "data"                     GHashTable_gchararray+gchararray_*  : Read / Write
+  "secrets"                  GHashTable_gchararray+gchararray_*  : Read / Write
+  "service-type"             gchar*                : Read / Write
+  "user-name"                gchar*                : Read / Write
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_VPN_SETTING_NAME

+
#define NM_SETTING_VPN_SETTING_NAME "vpn"
+
+

+

+
+
+
+

enum NMSettingVpnError

+
typedef enum
+{
+	NM_SETTING_VPN_ERROR_UNKNOWN = 0,
+	NM_SETTING_VPN_ERROR_INVALID_PROPERTY,
+	NM_SETTING_VPN_ERROR_MISSING_PROPERTY,
+} NMSettingVpnError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_VPN_ERROR

+
#define NM_TYPE_SETTING_VPN_ERROR (nm_setting_vpn_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_VPN_ERROR

+
#define NM_SETTING_VPN_ERROR nm_setting_vpn_error_quark ()
+
+

+

+
+
+
+

nm_setting_vpn_error_quark ()

+
GQuark              nm_setting_vpn_error_quark          (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_VPN_SERVICE_TYPE

+
#define NM_SETTING_VPN_SERVICE_TYPE "service-type"
+
+

+

+
+
+
+

NM_SETTING_VPN_USER_NAME

+
#define NM_SETTING_VPN_USER_NAME    "user-name"
+
+

+

+
+
+
+

NM_SETTING_VPN_DATA

+
#define NM_SETTING_VPN_DATA         "data"
+
+

+

+
+
+
+

NM_SETTING_VPN_SECRETS

+
#define NM_SETTING_VPN_SECRETS      "secrets"
+
+

+

+
+
+
+

NMSettingVPN

+
typedef struct _NMSettingVPN NMSettingVPN;
+

+

+
+
+
+

NMSettingVPNClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingVPNClass;
+
+

+

+
+
+
+

VPNIterFunc ()

+
void                (*VPNIterFunc)                      (const char *key,
+                                                         const char *value,
+                                                         gpointer user_data);
+

+

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

key :

+

value :

+

user_data :

+
+
+
+
+

nm_setting_vpn_get_type ()

+
GType               nm_setting_vpn_get_type             (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_vpn_new ()

+
NMSetting *         nm_setting_vpn_new                  (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_vpn_get_service_type ()

+
const char *        nm_setting_vpn_get_service_type     (NMSettingVPN *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_vpn_get_user_name ()

+
const char *        nm_setting_vpn_get_user_name        (NMSettingVPN *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_vpn_add_data_item ()

+
void                nm_setting_vpn_add_data_item        (NMSettingVPN *setting,
+                                                         const char *key,
+                                                         const char *item);
+

+

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

setting :

+

key :

+

item :

+
+
+
+
+

nm_setting_vpn_get_data_item ()

+
const char *        nm_setting_vpn_get_data_item        (NMSettingVPN *setting,
+                                                         const char *key);
+

+

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

setting :

+

key :

+

Returns :

+
+
+
+
+

nm_setting_vpn_remove_data_item ()

+
void                nm_setting_vpn_remove_data_item     (NMSettingVPN *setting,
+                                                         const char *key);
+

+

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

setting :

+

key :

+
+
+
+
+

nm_setting_vpn_foreach_data_item ()

+
void                nm_setting_vpn_foreach_data_item    (NMSettingVPN *setting,
+                                                         VPNIterFunc func,
+                                                         gpointer user_data);
+

+

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

setting :

+

func :

+

user_data :

+
+
+
+
+

nm_setting_vpn_add_secret ()

+
void                nm_setting_vpn_add_secret           (NMSettingVPN *setting,
+                                                         const char *key,
+                                                         const char *secret);
+

+

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

setting :

+

key :

+

secret :

+
+
+
+
+

nm_setting_vpn_get_secret ()

+
const char *        nm_setting_vpn_get_secret           (NMSettingVPN *setting,
+                                                         const char *key);
+

+

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

setting :

+

key :

+

Returns :

+
+
+
+
+

nm_setting_vpn_remove_secret ()

+
void                nm_setting_vpn_remove_secret        (NMSettingVPN *setting,
+                                                         const char *key);
+

+

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

setting :

+

key :

+
+
+
+
+

nm_setting_vpn_foreach_secret ()

+
void                nm_setting_vpn_foreach_secret       (NMSettingVPN *setting,
+                                                         VPNIterFunc func,
+                                                         gpointer user_data);
+

+

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

setting :

+

func :

+

user_data :

+
+
+
+
+

Property Details

+
+

The "data" property

+
  "data"                     GHashTable_gchararray+gchararray_*  : Read / Write
+

+Dictionary of key/value pairs of VPN plugin specific data. Both keys +and values must be strings. +

+
+
+
+

The "secrets" property

+
  "secrets"                  GHashTable_gchararray+gchararray_*  : Read / Write
+

+Dictionary of key/value pairs of VPN plugin specific secrets like +passwords or private keys. Both keys and values must be strings. +

+
+
+
+

The "service-type" property

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

+D-Bus service name of the VPN plugin that this setting uses to connect +to its network. i.e. org.freedesktop.NetworkManager.vpnc for the vpnc +plugin. +

+

Default value: NULL

+
+
+
+

The "user-name" property

+
  "user-name"                gchar*                : Read / Write
+

User name of the currently logged in user for connections provided by the user settings service. This name is provided to the VPN plugin to use in lieu of a custom username provided by that VPN plugins specific configuration. The VPN plugin itself decides which user name to use.

+

Default value: NULL

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingWired.html b/docs/libnm-util/html/NMSettingWired.html new file mode 100644 index 00000000..8fc96619 --- /dev/null +++ b/docs/libnm-util/html/NMSettingWired.html @@ -0,0 +1,444 @@ + + + + +NMSettingWired + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingWired

+

NMSettingWired

+
+ +
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingWired
+
+
+
+

Properties

+
+  "auto-negotiate"           gboolean              : Read / Write / Construct
+  "duplex"                   gchar*                : Read / Write
+  "mac-address"              GArray_guchar_*       : Read / Write
+  "mtu"                      guint                 : Read / Write / Construct
+  "port"                     gchar*                : Read / Write
+  "speed"                    guint                 : Read / Write / Construct
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_WIRED_SETTING_NAME

+
#define NM_SETTING_WIRED_SETTING_NAME "802-3-ethernet"
+
+

+

+
+
+
+

enum NMSettingWiredError

+
typedef enum
+{
+	NM_SETTING_WIRED_ERROR_UNKNOWN = 0,
+	NM_SETTING_WIRED_ERROR_INVALID_PROPERTY,
+	NM_SETTING_WIRED_ERROR_MISSING_PROPERTY
+} NMSettingWiredError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_WIRED_ERROR

+
#define NM_TYPE_SETTING_WIRED_ERROR (nm_setting_wired_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_WIRED_ERROR

+
#define NM_SETTING_WIRED_ERROR nm_setting_wired_error_quark ()
+
+

+

+
+
+
+

nm_setting_wired_error_quark ()

+
GQuark              nm_setting_wired_error_quark        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_WIRED_PORT

+
#define NM_SETTING_WIRED_PORT "port"
+
+

+

+
+
+
+

NM_SETTING_WIRED_SPEED

+
#define NM_SETTING_WIRED_SPEED "speed"
+
+

+

+
+
+
+

NM_SETTING_WIRED_DUPLEX

+
#define NM_SETTING_WIRED_DUPLEX "duplex"
+
+

+

+
+
+
+

NM_SETTING_WIRED_AUTO_NEGOTIATE

+
#define NM_SETTING_WIRED_AUTO_NEGOTIATE "auto-negotiate"
+
+

+

+
+
+
+

NM_SETTING_WIRED_MAC_ADDRESS

+
#define NM_SETTING_WIRED_MAC_ADDRESS "mac-address"
+
+

+

+
+
+
+

NM_SETTING_WIRED_MTU

+
#define NM_SETTING_WIRED_MTU "mtu"
+
+

+

+
+
+
+

NMSettingWired

+
typedef struct _NMSettingWired NMSettingWired;
+

+

+
+
+
+

NMSettingWiredClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingWiredClass;
+
+

+

+
+
+
+

nm_setting_wired_get_type ()

+
GType               nm_setting_wired_get_type           (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_wired_new ()

+
NMSetting *         nm_setting_wired_new                (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_wired_get_port ()

+
const char *        nm_setting_wired_get_port           (NMSettingWired *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wired_get_speed ()

+
guint32             nm_setting_wired_get_speed          (NMSettingWired *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wired_get_duplex ()

+
const char *        nm_setting_wired_get_duplex         (NMSettingWired *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wired_get_auto_negotiate ()

+
gboolean            nm_setting_wired_get_auto_negotiate (NMSettingWired *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wired_get_mac_address ()

+
const GByteArray *  nm_setting_wired_get_mac_address    (NMSettingWired *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wired_get_mtu ()

+
guint32             nm_setting_wired_get_mtu            (NMSettingWired *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "auto-negotiate" property

+
  "auto-negotiate"           gboolean              : Read / Write / Construct
+

If TRUE, allow auto-negotiation of port speed and duplex mode. If FALSE, do not allow auto-negotiation,in which case the 'speed' and 'duplex' properties should be set.

+

Default value: TRUE

+
+
+
+

The "duplex" property

+
  "duplex"                   gchar*                : Read / Write
+

+If specified, request that the device only use the specified duplex mode. +Either 'half' or 'full'. +

+

Default value: NULL

+
+
+
+

The "mac-address" property

+
  "mac-address"              GArray_guchar_*       : Read / Write
+

+If specified, this connection will only apply to the ethernet device +whose MAC address matches. This property does not change the MAC address +of the device (known as MAC spoofing). +

+
+
+
+

The "mtu" property

+
  "mtu"                      guint                 : Read / Write / Construct
+

+If non-zero, only transmit packets of the specified size or smaller, +breaking larger packets up into multiple Ethernet frames. +

+

Default value: 0

+
+
+
+

The "port" property

+
  "port"                     gchar*                : Read / Write
+

+Specific port type to use if multiple the device supports multiple +attachment methods. One of 'tp' (Twisted Pair), 'aui' (Attachment Unit +Interface), 'bnc' (Thin Ethernet) or 'mii' (Media Independent Interface. +If the device supports only one port type, this setting is ignored. +

+

Default value: NULL

+
+
+
+

The "speed" property

+
  "speed"                    guint                 : Read / Write / Construct
+

+If non-zero, request that the device use only the specified speed. +In Mbit/s, ie 100 == 100Mbit/s. +

+

Default value: 0

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingWireless.html b/docs/libnm-util/html/NMSettingWireless.html new file mode 100644 index 00000000..d03c4b72 --- /dev/null +++ b/docs/libnm-util/html/NMSettingWireless.html @@ -0,0 +1,797 @@ + + + + +NMSettingWireless + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingWireless

+

NMSettingWireless

+
+
+

Synopsis

+
#define             NM_SETTING_WIRELESS_SETTING_NAME
+enum                NMSettingWirelessError;
+#define             NM_TYPE_SETTING_WIRELESS_ERROR
+#define             NM_SETTING_WIRELESS_ERROR
+GQuark              nm_setting_wireless_error_quark     (void);
+#define             NM_SETTING_WIRELESS_SSID
+#define             NM_SETTING_WIRELESS_MODE
+#define             NM_SETTING_WIRELESS_BAND
+#define             NM_SETTING_WIRELESS_CHANNEL
+#define             NM_SETTING_WIRELESS_BSSID
+#define             NM_SETTING_WIRELESS_RATE
+#define             NM_SETTING_WIRELESS_TX_POWER
+#define             NM_SETTING_WIRELESS_MAC_ADDRESS
+#define             NM_SETTING_WIRELESS_MTU
+#define             NM_SETTING_WIRELESS_SEEN_BSSIDS
+#define             NM_SETTING_WIRELESS_SEC
+                    NMSettingWireless;
+                    NMSettingWirelessClass;
+GType               nm_setting_wireless_get_type        (void);
+NMSetting *         nm_setting_wireless_new             (void);
+const GByteArray *  nm_setting_wireless_get_ssid        (NMSettingWireless *setting);
+const char *        nm_setting_wireless_get_mode        (NMSettingWireless *setting);
+const char *        nm_setting_wireless_get_band        (NMSettingWireless *setting);
+guint32             nm_setting_wireless_get_channel     (NMSettingWireless *setting);
+const GByteArray *  nm_setting_wireless_get_bssid       (NMSettingWireless *setting);
+guint32             nm_setting_wireless_get_rate        (NMSettingWireless *setting);
+guint32             nm_setting_wireless_get_tx_power    (NMSettingWireless *setting);
+const GByteArray *  nm_setting_wireless_get_mac_address (NMSettingWireless *setting);
+guint32             nm_setting_wireless_get_mtu         (NMSettingWireless *setting);
+const char *        nm_setting_wireless_get_security    (NMSettingWireless *setting);
+gboolean            nm_setting_wireless_add_seen_bssid  (NMSettingWireless *setting,
+                                                         const char *bssid);
+guint32             nm_setting_wireless_get_num_seen_bssids
+                                                        (NMSettingWireless *setting);
+const char *        nm_setting_wireless_get_seen_bssid  (NMSettingWireless *setting,
+                                                         guint32 i);
+gboolean            nm_setting_wireless_ap_security_compatible
+                                                        (NMSettingWireless *s_wireless,
+                                                         NMSettingWirelessSecurity *s_wireless_sec,
+                                                         guint32 ap_flags,
+                                                         guint32 ap_wpa,
+                                                         guint32 ap_rsn,
+                                                         guint32 ap_mode);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingWireless
+
+
+
+

Properties

+
+  "band"                     gchar*                : Read / Write
+  "bssid"                    GArray_guchar_*       : Read / Write
+  "channel"                  guint                 : Read / Write / Construct
+  "mac-address"              GArray_guchar_*       : Read / Write
+  "mode"                     gchar*                : Read / Write
+  "mtu"                      guint                 : Read / Write / Construct
+  "rate"                     guint                 : Read / Write / Construct
+  "security"                 gchar*                : Read / Write
+  "seen-bssids"              GSList_gchararray_*   : Read / Write
+  "ssid"                     GArray_guchar_*       : Read / Write
+  "tx-power"                 guint                 : Read / Write / Construct
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_WIRELESS_SETTING_NAME

+
#define NM_SETTING_WIRELESS_SETTING_NAME "802-11-wireless"
+
+

+

+
+
+
+

enum NMSettingWirelessError

+
typedef enum
+{
+	NM_SETTING_WIRELESS_ERROR_UNKNOWN = 0,
+	NM_SETTING_WIRELESS_ERROR_INVALID_PROPERTY,
+	NM_SETTING_WIRELESS_ERROR_MISSING_PROPERTY,
+	NM_SETTING_WIRELESS_ERROR_MISSING_SECURITY_SETTING,
+	NM_SETTING_WIRELESS_ERROR_CHANNEL_REQUIRES_BAND
+} NMSettingWirelessError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_WIRELESS_ERROR

+
#define NM_TYPE_SETTING_WIRELESS_ERROR (nm_setting_wireless_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_ERROR

+
#define NM_SETTING_WIRELESS_ERROR nm_setting_wireless_error_quark ()
+
+

+

+
+
+
+

nm_setting_wireless_error_quark ()

+
GQuark              nm_setting_wireless_error_quark     (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

NM_SETTING_WIRELESS_SSID

+
#define NM_SETTING_WIRELESS_SSID        "ssid"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_MODE

+
#define NM_SETTING_WIRELESS_MODE        "mode"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_BAND

+
#define NM_SETTING_WIRELESS_BAND        "band"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_CHANNEL

+
#define NM_SETTING_WIRELESS_CHANNEL     "channel"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_BSSID

+
#define NM_SETTING_WIRELESS_BSSID       "bssid"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_RATE

+
#define NM_SETTING_WIRELESS_RATE        "rate"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_TX_POWER

+
#define NM_SETTING_WIRELESS_TX_POWER    "tx-power"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_MAC_ADDRESS

+
#define NM_SETTING_WIRELESS_MAC_ADDRESS "mac-address"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_MTU

+
#define NM_SETTING_WIRELESS_MTU         "mtu"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SEEN_BSSIDS

+
#define NM_SETTING_WIRELESS_SEEN_BSSIDS "seen-bssids"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SEC

+
#define NM_SETTING_WIRELESS_SEC         "security"
+
+

+

+
+
+
+

NMSettingWireless

+
typedef struct _NMSettingWireless NMSettingWireless;
+

+

+
+
+
+

NMSettingWirelessClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingWirelessClass;
+
+

+

+
+
+
+

nm_setting_wireless_get_type ()

+
GType               nm_setting_wireless_get_type        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_wireless_new ()

+
NMSetting *         nm_setting_wireless_new             (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_wireless_get_ssid ()

+
const GByteArray *  nm_setting_wireless_get_ssid        (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_mode ()

+
const char *        nm_setting_wireless_get_mode        (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_band ()

+
const char *        nm_setting_wireless_get_band        (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_channel ()

+
guint32             nm_setting_wireless_get_channel     (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_bssid ()

+
const GByteArray *  nm_setting_wireless_get_bssid       (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_rate ()

+
guint32             nm_setting_wireless_get_rate        (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_tx_power ()

+
guint32             nm_setting_wireless_get_tx_power    (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_mac_address ()

+
const GByteArray *  nm_setting_wireless_get_mac_address (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_mtu ()

+
guint32             nm_setting_wireless_get_mtu         (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_security ()

+
const char *        nm_setting_wireless_get_security    (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_add_seen_bssid ()

+
gboolean            nm_setting_wireless_add_seen_bssid  (NMSettingWireless *setting,
+                                                         const char *bssid);
+

+

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

setting :

+

bssid :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_num_seen_bssids ()

+
guint32             nm_setting_wireless_get_num_seen_bssids
+                                                        (NMSettingWireless *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_get_seen_bssid ()

+
const char *        nm_setting_wireless_get_seen_bssid  (NMSettingWireless *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_wireless_ap_security_compatible ()

+
gboolean            nm_setting_wireless_ap_security_compatible
+                                                        (NMSettingWireless *s_wireless,
+                                                         NMSettingWirelessSecurity *s_wireless_sec,
+                                                         guint32 ap_flags,
+                                                         guint32 ap_wpa,
+                                                         guint32 ap_rsn,
+                                                         guint32 ap_mode);
+

+

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

s_wireless :

+

s_wireless_sec :

+

ap_flags :

+

ap_wpa :

+

ap_rsn :

+

ap_mode :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "band" property

+
  "band"                     gchar*                : Read / Write
+

+802.11 frequency band of the network. One of 'a' for 5GHz 802.11a or +'bg' for 2.4GHz 802.11. This will lock associations to the WiFi network +to the specific band, i.e. if 'a' is specified, the device will not +associate with the same network in the 2.4GHz band even if the network's +settings are compatible. This setting depends on specific driver +capability and may not work with all drivers. +

+

Default value: NULL

+
+
+
+

The "bssid" property

+
  "bssid"                    GArray_guchar_*       : Read / Write
+

+If specified, directs the device to only associate with the given access +point. This capability is highly driver dependent and not supported by +all devices. Note: this property does not control the BSSID used when +creating an Ad-Hoc network and is unlikely to in the future. +

+
+
+
+

The "channel" property

+
  "channel"                  guint                 : Read / Write / Construct
+

+Wireless channel to use for the WiFi connection. The device will only +join (or create for Ad-Hoc networks) a WiFi network on the specified +channel. Because channel numbers overlap between bands, this property +also requires the 'band' property to be set. +

+

Default value: 0

+
+
+
+

The "mac-address" property

+
  "mac-address"              GArray_guchar_*       : Read / Write
+

+If specified, this connection will only apply to the WiFi device +whose MAC address matches. This property does not change the MAC address +of the device (known as MAC spoofing). +

+
+
+
+

The "mode" property

+
  "mode"                     gchar*                : Read / Write
+

+WiFi network mode; one of 'infrastructure' or 'adhoc'. If blank, +infrastructure is assumed. +

+

Default value: NULL

+
+
+
+

The "mtu" property

+
  "mtu"                      guint                 : Read / Write / Construct
+

+If non-zero, only transmit packets of the specified size or smaller, +breaking larger packets up into multiple Ethernet frames. +

+

Default value: 0

+
+
+
+

The "rate" property

+
  "rate"                     guint                 : Read / Write / Construct
+

+If non-zero, directs the device to only use the specified bitrate for +communication with the access point. Units are in Kb/s, ie 5500 = 5.5 +Mbit/s. This property is highly driver dependent and not all devices +support setting a static bitrate. +

+

Default value: 0

+
+
+
+

The "security" property

+
  "security"                 gchar*                : Read / Write
+

+If the wireless connection has any security restrictions, like 802.1x, +WEP, or WPA, set this property to '802-11-wireless-security' and ensure +the connection contains a valid 802-11-wireless-security setting. +

+

Default value: NULL

+
+
+
+

The "seen-bssids" property

+
  "seen-bssids"              GSList_gchararray_*   : Read / Write
+

+A list of BSSIDs (each BSSID formatted as a MAC address like +'00:11:22:33:44:55') that have been detected as part of the WiFI network. +The settings service will usually populate this property by periodically +asking NetworkManager what the device's current AP is while connected +to the network (or monitoring the device's 'active-ap' property) and +adding the current AP'sBSSID to this list. This list helps NetworkManager +find hidden APs by matching up scan results with the BSSIDs in this list. +

+
+
+
+

The "ssid" property

+
  "ssid"                     GArray_guchar_*       : Read / Write
+

+SSID of the WiFi network. +

+
+
+
+

The "tx-power" property

+
  "tx-power"                 guint                 : Read / Write / Construct
+

+If non-zero, directs the device to use the specified transmit power. +Units are dBm. This property is highly driver dependent and not all +devices support setting a static transmit power. +

+

Default value: 0

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/NMSettingWirelessSecurity.html b/docs/libnm-util/html/NMSettingWirelessSecurity.html new file mode 100644 index 00000000..6c65b5fc --- /dev/null +++ b/docs/libnm-util/html/NMSettingWirelessSecurity.html @@ -0,0 +1,1151 @@ + + + + +NMSettingWirelessSecurity + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

NMSettingWirelessSecurity

+

NMSettingWirelessSecurity

+
+
+

Synopsis

+
#define             NM_SETTING_WIRELESS_SECURITY_SETTING_NAME
+enum                NMSettingWirelessSecurityError;
+#define             NM_TYPE_SETTING_WIRELESS_SECURITY_ERROR
+#define             NM_SETTING_WIRELESS_SECURITY_ERROR
+GQuark              nm_setting_wireless_security_error_quark
+                                                        (void);
+enum                NMWepKeyType;
+#define             NM_SETTING_WIRELESS_SECURITY_KEY_MGMT
+#define             NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX
+#define             NM_SETTING_WIRELESS_SECURITY_AUTH_ALG
+#define             NM_SETTING_WIRELESS_SECURITY_PROTO
+#define             NM_SETTING_WIRELESS_SECURITY_PAIRWISE
+#define             NM_SETTING_WIRELESS_SECURITY_GROUP
+#define             NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME
+#define             NM_SETTING_WIRELESS_SECURITY_WEP_KEY0
+#define             NM_SETTING_WIRELESS_SECURITY_WEP_KEY1
+#define             NM_SETTING_WIRELESS_SECURITY_WEP_KEY2
+#define             NM_SETTING_WIRELESS_SECURITY_WEP_KEY3
+#define             NM_SETTING_WIRELESS_SECURITY_PSK
+#define             NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD
+#define             NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE
+                    NMSettingWirelessSecurity;
+                    NMSettingWirelessSecurityClass;
+GType               nm_setting_wireless_security_get_type
+                                                        (void);
+NMSetting *         nm_setting_wireless_security_new    (void);
+const char *        nm_setting_wireless_security_get_key_mgmt
+                                                        (NMSettingWirelessSecurity *setting);
+guint32             nm_setting_wireless_security_get_num_protos
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_proto
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+gboolean            nm_setting_wireless_security_add_proto
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         const char *proto);
+void                nm_setting_wireless_security_remove_proto
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+void                nm_setting_wireless_security_clear_protos
+                                                        (NMSettingWirelessSecurity *setting);
+guint32             nm_setting_wireless_security_get_num_pairwise
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_pairwise
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+gboolean            nm_setting_wireless_security_add_pairwise
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         const char *pairwise);
+void                nm_setting_wireless_security_remove_pairwise
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+void                nm_setting_wireless_security_clear_pairwise
+                                                        (NMSettingWirelessSecurity *setting);
+guint32             nm_setting_wireless_security_get_num_groups
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_group
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+gboolean            nm_setting_wireless_security_add_group
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         const char *group);
+void                nm_setting_wireless_security_remove_group
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+void                nm_setting_wireless_security_clear_groups
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_psk
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_leap_username
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_leap_password
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_wep_key
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 idx);
+void                nm_setting_wireless_security_set_wep_key
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 idx,
+                                                         const char *key);
+guint32             nm_setting_wireless_security_get_wep_tx_keyidx
+                                                        (NMSettingWirelessSecurity *setting);
+const char *        nm_setting_wireless_security_get_auth_alg
+                                                        (NMSettingWirelessSecurity *setting);
+NMWepKeyType        nm_setting_wireless_security_get_wep_key_type
+                                                        (NMSettingWirelessSecurity *setting);
+
+
+
+

Object Hierarchy

+
+  GObject
+   +----NMSetting
+         +----NMSettingWirelessSecurity
+
+
+
+

Properties

+
+  "auth-alg"                 gchar*                : Read / Write
+  "group"                    GSList_gchararray_*   : Read / Write
+  "key-mgmt"                 gchar*                : Read / Write
+  "leap-password"            gchar*                : Read / Write
+  "leap-username"            gchar*                : Read / Write
+  "pairwise"                 GSList_gchararray_*   : Read / Write
+  "proto"                    GSList_gchararray_*   : Read / Write
+  "psk"                      gchar*                : Read / Write
+  "wep-key-type"             guint                 : Read / Write / Construct
+  "wep-key0"                 gchar*                : Read / Write
+  "wep-key1"                 gchar*                : Read / Write
+  "wep-key2"                 gchar*                : Read / Write
+  "wep-key3"                 gchar*                : Read / Write
+  "wep-tx-keyidx"            guint                 : Read / Write / Construct
+
+
+
+

Description

+

+

+
+
+

Details

+
+

NM_SETTING_WIRELESS_SECURITY_SETTING_NAME

+
#define NM_SETTING_WIRELESS_SECURITY_SETTING_NAME "802-11-wireless-security"
+
+

+

+
+
+
+

enum NMSettingWirelessSecurityError

+
typedef enum
+{
+	NM_SETTING_WIRELESS_SECURITY_ERROR_UNKNOWN = 0,
+	NM_SETTING_WIRELESS_SECURITY_ERROR_INVALID_PROPERTY,
+	NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_PROPERTY,
+	NM_SETTING_WIRELESS_SECURITY_ERROR_MISSING_802_1X_SETTING,
+	NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_802_1X,
+	NM_SETTING_WIRELESS_SECURITY_ERROR_LEAP_REQUIRES_USERNAME,
+	NM_SETTING_WIRELESS_SECURITY_ERROR_SHARED_KEY_REQUIRES_WEP
+} NMSettingWirelessSecurityError;
+
+

+

+
+
+
+

NM_TYPE_SETTING_WIRELESS_SECURITY_ERROR

+
#define NM_TYPE_SETTING_WIRELESS_SECURITY_ERROR (nm_setting_wireless_security_error_get_type ()) 
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_ERROR

+
#define NM_SETTING_WIRELESS_SECURITY_ERROR nm_setting_wireless_security_error_quark ()
+
+

+

+
+
+
+

nm_setting_wireless_security_error_quark ()

+
GQuark              nm_setting_wireless_security_error_quark
+                                                        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

enum NMWepKeyType

+
typedef enum {
+	NM_WEP_KEY_TYPE_UNKNOWN = 0,
+	NM_WEP_KEY_TYPE_KEY = 1,          /* Hex or ASCII */
+	NM_WEP_KEY_TYPE_PASSPHRASE = 2,   /* 104/128-bit Passphrase */
+
+	NM_WEP_KEY_TYPE_LAST = NM_WEP_KEY_TYPE_PASSPHRASE
+} NMWepKeyType;
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_KEY_MGMT

+
#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT "key-mgmt"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX

+
#define NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX "wep-tx-keyidx"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_AUTH_ALG

+
#define NM_SETTING_WIRELESS_SECURITY_AUTH_ALG "auth-alg"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_PROTO

+
#define NM_SETTING_WIRELESS_SECURITY_PROTO "proto"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_PAIRWISE

+
#define NM_SETTING_WIRELESS_SECURITY_PAIRWISE "pairwise"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_GROUP

+
#define NM_SETTING_WIRELESS_SECURITY_GROUP "group"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME

+
#define NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME "leap-username"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_WEP_KEY0

+
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY0 "wep-key0"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_WEP_KEY1

+
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY1 "wep-key1"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_WEP_KEY2

+
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY2 "wep-key2"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_WEP_KEY3

+
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY3 "wep-key3"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_PSK

+
#define NM_SETTING_WIRELESS_SECURITY_PSK "psk"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD

+
#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD "leap-password"
+
+

+

+
+
+
+

NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE

+
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE "wep-key-type"
+
+

+

+
+
+
+

NMSettingWirelessSecurity

+
typedef struct _NMSettingWirelessSecurity NMSettingWirelessSecurity;
+

+

+
+
+
+

NMSettingWirelessSecurityClass

+
typedef struct {
+	NMSettingClass parent;
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+} NMSettingWirelessSecurityClass;
+
+

+

+
+
+
+

nm_setting_wireless_security_get_type ()

+
GType               nm_setting_wireless_security_get_type
+                                                        (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_wireless_security_new ()

+
NMSetting *         nm_setting_wireless_security_new    (void);
+

+

+
++ + + + +

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_key_mgmt ()

+
const char *        nm_setting_wireless_security_get_key_mgmt
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_num_protos ()

+
guint32             nm_setting_wireless_security_get_num_protos
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_proto ()

+
const char *        nm_setting_wireless_security_get_proto
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_add_proto ()

+
gboolean            nm_setting_wireless_security_add_proto
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         const char *proto);
+

+

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

setting :

+

proto :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_remove_proto ()

+
void                nm_setting_wireless_security_remove_proto
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_wireless_security_clear_protos ()

+
void                nm_setting_wireless_security_clear_protos
+                                                        (NMSettingWirelessSecurity *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_wireless_security_get_num_pairwise ()

+
guint32             nm_setting_wireless_security_get_num_pairwise
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_pairwise ()

+
const char *        nm_setting_wireless_security_get_pairwise
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_add_pairwise ()

+
gboolean            nm_setting_wireless_security_add_pairwise
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         const char *pairwise);
+

+

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

setting :

+

pairwise :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_remove_pairwise ()

+
void                nm_setting_wireless_security_remove_pairwise
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_wireless_security_clear_pairwise ()

+
void                nm_setting_wireless_security_clear_pairwise
+                                                        (NMSettingWirelessSecurity *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_wireless_security_get_num_groups ()

+
guint32             nm_setting_wireless_security_get_num_groups
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_group ()

+
const char *        nm_setting_wireless_security_get_group
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_add_group ()

+
gboolean            nm_setting_wireless_security_add_group
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         const char *group);
+

+

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

setting :

+

group :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_remove_group ()

+
void                nm_setting_wireless_security_remove_group
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 i);
+

+

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

setting :

+

i :

+
+
+
+
+

nm_setting_wireless_security_clear_groups ()

+
void                nm_setting_wireless_security_clear_groups
+                                                        (NMSettingWirelessSecurity *setting);
+

+

+
++ + + + +

setting :

+
+
+
+
+

nm_setting_wireless_security_get_psk ()

+
const char *        nm_setting_wireless_security_get_psk
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_leap_username ()

+
const char *        nm_setting_wireless_security_get_leap_username
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_leap_password ()

+
const char *        nm_setting_wireless_security_get_leap_password
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_wep_key ()

+
const char *        nm_setting_wireless_security_get_wep_key
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 idx);
+

+

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

setting :

+

idx :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_set_wep_key ()

+
void                nm_setting_wireless_security_set_wep_key
+                                                        (NMSettingWirelessSecurity *setting,
+                                                         guint32 idx,
+                                                         const char *key);
+

+

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

setting :

+

idx :

+

key :

+
+
+
+
+

nm_setting_wireless_security_get_wep_tx_keyidx ()

+
guint32             nm_setting_wireless_security_get_wep_tx_keyidx
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_auth_alg ()

+
const char *        nm_setting_wireless_security_get_auth_alg
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

nm_setting_wireless_security_get_wep_key_type ()

+
NMWepKeyType        nm_setting_wireless_security_get_wep_key_type
+                                                        (NMSettingWirelessSecurity *setting);
+

+

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

setting :

+

Returns :

+
+
+
+
+

Property Details

+
+

The "auth-alg" property

+
  "auth-alg"                 gchar*                : Read / Write
+

+When WEP is used (ie, key-mgmt = 'none' or 'ieee8021x') indicate the +802.11 authentication algorithm required by the AP here. One of 'open' +for Open System, 'shared' for Shared Key, or 'leap' for Cisco LEAP. +When using Cisco LEAP (ie, key-mgmt = 'ieee8021x' and auth-alg = 'leap') +the 'leap-username' and 'leap-password' properties must be specified. +

+

Default value: NULL

+
+
+
+

The "group" property

+
  "group"                    GSList_gchararray_*   : Read / Write
+

+If specified, will only connect to WPA networks that provide the +specified group/multicast encryption capabilities. Each element may be +one of 'wep40', 'wep104', 'tkip', or 'ccmp'. +

+
+
+
+

The "key-mgmt" property

+
  "key-mgmt"                 gchar*                : Read / Write
+

+Key management used for the connection. One of 'none' (WEP), 'ieee8021x' +(Dynamic WEP), 'wpa-none' (Ad-Hoc WPA-PSK), 'wpa-psk' (infrastructure +WPA-PSK), or 'wpa-eap' (WPA-Enterprise). This property must be set for +any WiFi connection that uses security. +

+

Default value: NULL

+
+
+
+

The "leap-password" property

+
  "leap-password"            gchar*                : Read / Write
+

+The login password for legacy LEAP connections (ie, key-mgmt = +'ieee8021x' and auth-alg = 'leap'). +

+

Default value: NULL

+
+
+
+

The "leap-username" property

+
  "leap-username"            gchar*                : Read / Write
+

+The login username for legacy LEAP connections (ie, key-mgmt = +'ieee8021x' and auth-alg = 'leap'). +

+

Default value: NULL

+
+
+
+

The "pairwise" property

+
  "pairwise"                 GSList_gchararray_*   : Read / Write
+

+If specified, will only connect to WPA networks that provide the +specified pairwise encryption capabilities. Each element may be one of +'wep40', 'wep104', 'tkip', or 'ccmp'. +

+
+
+
+

The "proto" property

+
  "proto"                    GSList_gchararray_*   : Read / Write
+

+List of strings specifying the allowed WPA protocol versions to use. +Each element may be one 'wpa' (allow WPA) or 'rsn' (allow WPA2/RSN). If +not specified, both WPA and RSN connections are allowed. +

+
+
+
+

The "psk" property

+
  "psk"                      gchar*                : Read / Write
+

+Pre-Shared-Key for WPA networks. If the key is 64-characters long, it +must contain only hexadecimal characters and is interpreted as a +hexadecimal WPA key. Otherwise, the key must be between 8 and 63 ASCII +characters (as specified in the 802.11i standard) and is interpreted as +a WPA passphrase, and is hashed to derive the actual WPA-PSK used when +connecting to the WiFi network. +

+

Default value: NULL

+
+
+
+

The "wep-key-type" property

+
  "wep-key-type"             guint                 : Read / Write / Construct
+

+Controls the interpretation of WEP keys. Allowed values are 1 (interpret +WEP keys as hexadecimal or ASCII keys) or 2 (interpret WEP keys as WEP +Passphrases). If set to 1 and the keys are hexadecimal, they must be +either 10 or 26 characters in length. If set to 1 and the keys are +ASCII keys, they must be either 5 or 13 characters in length. If set to +2, the passphrase is hashed using the de-facto MD5 method to derive the +actual WEP key. +

+

Allowed values: <= 2

+

Default value: 0

+
+
+
+

The "wep-key0" property

+
  "wep-key0"                 gchar*                : Read / Write
+

+Index 0 WEP key. This is the WEP key used in most networks. See the +'wep-key-type' property for a description of how this key is interpreted. +

+

Default value: NULL

+
+
+
+

The "wep-key1" property

+
  "wep-key1"                 gchar*                : Read / Write
+

+Index 1 WEP key. This WEP index is not used by most networks. See the +'wep-key-type' property for a description of how this key is interpreted. +

+

Default value: NULL

+
+
+
+

The "wep-key2" property

+
  "wep-key2"                 gchar*                : Read / Write
+

+Index 2 WEP key. This WEP index is not used by most networks. See the +'wep-key-type' property for a description of how this key is interpreted. +

+

Default value: NULL

+
+
+
+

The "wep-key3" property

+
  "wep-key3"                 gchar*                : Read / Write
+

+Index 3 WEP key. This WEP index is not used by most networks. See the +'wep-key-type' property for a description of how this key is interpreted. +

+

Default value: NULL

+
+
+
+

The "wep-tx-keyidx" property

+
  "wep-tx-keyidx"            guint                 : Read / Write / Construct
+

+When static WEP is used (ie, key-mgmt = 'none') and a non-default WEP key +index is used by the AP, put that WEP key index here. Valid values are 0 +(default key) through 3. Note that some consumer access points (like the +Linksys WRT54G) number the keys 1 - 4. +

+

Allowed values: <= 3

+

Default value: 0

+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/api-index-full.html b/docs/libnm-util/html/api-index-full.html new file mode 100644 index 00000000..c825a146 --- /dev/null +++ b/docs/libnm-util/html/api-index-full.html @@ -0,0 +1,3197 @@ + + + + +API Index + + + + + + + + + + + + + + + + + + +
+

+API Index

+

C

+
+NMConnection, struct in NMConnection +
+
+
+NMConnection::secrets-updated, object signal in NMConnection +
+
+
+NMConnection:path, object property in NMConnection +
+
+
+NMConnection:scope, object property in NMConnection +
+
+
+NMConnectionClass, struct in NMConnection +
+
+
+NMConnectionError, enum in NMConnection +
+
+
+NMConnectionScope, enum in NMConnection +
+
+
+nm_connection_add_setting, function in NMConnection +
+
+
+nm_connection_clear_secrets, function in NMConnection +
+
+
+nm_connection_compare, function in NMConnection +
+
+
+nm_connection_create_setting, function in NMConnection +
+
+
+nm_connection_dump, function in NMConnection +
+
+
+nm_connection_duplicate, function in NMConnection +
+
+
+NM_CONNECTION_ERROR, macro in NMConnection +
+
+
+nm_connection_error_quark, function in NMConnection +
+
+
+nm_connection_for_each_setting_value, function in NMConnection +
+
+
+nm_connection_get_path, function in NMConnection +
+
+
+nm_connection_get_scope, function in NMConnection +
+
+
+nm_connection_get_setting, function in NMConnection +
+
+
+nm_connection_get_setting_by_name, function in NMConnection +
+
+
+nm_connection_get_type, function in NMConnection +
+
+
+nm_connection_lookup_setting_type, function in NMConnection +
+
+
+nm_connection_lookup_setting_type_by_quark, function in NMConnection +
+
+
+nm_connection_need_secrets, function in NMConnection +
+
+
+nm_connection_new, function in NMConnection +
+
+
+nm_connection_new_from_hash, function in NMConnection +
+
+
+NM_CONNECTION_PATH, macro in NMConnection +
+
+
+nm_connection_remove_setting, function in NMConnection +
+
+
+nm_connection_replace_settings, function in NMConnection +
+
+
+NM_CONNECTION_SCOPE, macro in NMConnection +
+
+
+nm_connection_set_path, function in NMConnection +
+
+
+nm_connection_set_scope, function in NMConnection +
+
+
+nm_connection_to_hash, function in NMConnection +
+
+
+nm_connection_update_secrets, function in NMConnection +
+
+
+nm_connection_verify, function in NMConnection +
+
+

D

+
+nm_debug, macro in nm-utils +
+
+
+nm_debug_str, macro in nm-utils +
+
+

E

+
+nm_error, macro in nm-utils +
+
+
+nm_error_str, macro in nm-utils +
+
+

G

+
+nm_get_timestamp, macro in nm-utils +
+
+
+NM_GSM_NETWORK_ANY, macro in NMSettingGsm +
+
+
+NM_GSM_NETWORK_GPRS_EDGE, macro in NMSettingGsm +
+
+
+NM_GSM_NETWORK_PREFER_GPRS_EDGE, macro in NMSettingGsm +
+
+
+NM_GSM_NETWORK_PREFER_UMTS_HSPA, macro in NMSettingGsm +
+
+
+NM_GSM_NETWORK_UMTS_HSPA, macro in NMSettingGsm +
+
+

I

+
+nm_info, macro in nm-utils +
+
+
+nm_info_str, macro in nm-utils +
+
+
+NMIP4Address, typedef in NMSettingIP4Config +
+
+
+NMIP4Route, typedef in NMSettingIP4Config +
+
+
+nm_ip4_address_compare, function in NMSettingIP4Config +
+
+
+nm_ip4_address_dup, function in NMSettingIP4Config +
+
+
+nm_ip4_address_get_address, function in NMSettingIP4Config +
+
+
+nm_ip4_address_get_gateway, function in NMSettingIP4Config +
+
+
+nm_ip4_address_get_prefix, function in NMSettingIP4Config +
+
+
+nm_ip4_address_new, function in NMSettingIP4Config +
+
+
+nm_ip4_address_ref, function in NMSettingIP4Config +
+
+
+nm_ip4_address_set_address, function in NMSettingIP4Config +
+
+
+nm_ip4_address_set_gateway, function in NMSettingIP4Config +
+
+
+nm_ip4_address_set_prefix, function in NMSettingIP4Config +
+
+
+nm_ip4_address_unref, function in NMSettingIP4Config +
+
+
+nm_ip4_route_compare, function in NMSettingIP4Config +
+
+
+nm_ip4_route_dup, function in NMSettingIP4Config +
+
+
+nm_ip4_route_get_dest, function in NMSettingIP4Config +
+
+
+nm_ip4_route_get_metric, function in NMSettingIP4Config +
+
+
+nm_ip4_route_get_next_hop, function in NMSettingIP4Config +
+
+
+nm_ip4_route_get_prefix, function in NMSettingIP4Config +
+
+
+nm_ip4_route_new, function in NMSettingIP4Config +
+
+
+nm_ip4_route_ref, function in NMSettingIP4Config +
+
+
+nm_ip4_route_set_dest, function in NMSettingIP4Config +
+
+
+nm_ip4_route_set_metric, function in NMSettingIP4Config +
+
+
+nm_ip4_route_set_next_hop, function in NMSettingIP4Config +
+
+
+nm_ip4_route_set_prefix, function in NMSettingIP4Config +
+
+
+nm_ip4_route_unref, function in NMSettingIP4Config +
+
+
+NMIP6Address, typedef in NMSettingIP6Config +
+
+
+NMIP6Route, typedef in NMSettingIP6Config +
+
+
+nm_ip6_address_compare, function in NMSettingIP6Config +
+
+
+nm_ip6_address_dup, function in NMSettingIP6Config +
+
+
+nm_ip6_address_get_address, function in NMSettingIP6Config +
+
+
+nm_ip6_address_get_gateway, function in NMSettingIP6Config +
+
+
+nm_ip6_address_get_prefix, function in NMSettingIP6Config +
+
+
+nm_ip6_address_new, function in NMSettingIP6Config +
+
+
+nm_ip6_address_ref, function in NMSettingIP6Config +
+
+
+nm_ip6_address_set_address, function in NMSettingIP6Config +
+
+
+nm_ip6_address_set_gateway, function in NMSettingIP6Config +
+
+
+nm_ip6_address_set_prefix, function in NMSettingIP6Config +
+
+
+nm_ip6_address_unref, function in NMSettingIP6Config +
+
+
+nm_ip6_route_compare, function in NMSettingIP6Config +
+
+
+nm_ip6_route_dup, function in NMSettingIP6Config +
+
+
+nm_ip6_route_get_dest, function in NMSettingIP6Config +
+
+
+nm_ip6_route_get_metric, function in NMSettingIP6Config +
+
+
+nm_ip6_route_get_next_hop, function in NMSettingIP6Config +
+
+
+nm_ip6_route_get_prefix, function in NMSettingIP6Config +
+
+
+nm_ip6_route_new, function in NMSettingIP6Config +
+
+
+nm_ip6_route_ref, function in NMSettingIP6Config +
+
+
+nm_ip6_route_set_dest, function in NMSettingIP6Config +
+
+
+nm_ip6_route_set_metric, function in NMSettingIP6Config +
+
+
+nm_ip6_route_set_next_hop, function in NMSettingIP6Config +
+
+
+nm_ip6_route_set_prefix, function in NMSettingIP6Config +
+
+
+nm_ip6_route_unref, function in NMSettingIP6Config +
+
+

P

+
+nm_print_backtrace, macro in nm-utils +
+
+

S

+
+NMSetting, struct in NMSetting +
+
+
+NMSetting8021x, struct in NMSetting8021x +
+
+
+NMSetting8021x:anonymous-identity, object property in NMSetting8021x +
+
+
+NMSetting8021x:ca-cert, object property in NMSetting8021x +
+
+
+NMSetting8021x:ca-path, object property in NMSetting8021x +
+
+
+NMSetting8021x:client-cert, object property in NMSetting8021x +
+
+
+NMSetting8021x:eap, object property in NMSetting8021x +
+
+
+NMSetting8021x:identity, object property in NMSetting8021x +
+
+
+NMSetting8021x:password, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase1-fast-provisioning, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase1-peaplabel, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase1-peapver, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-auth, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-autheap, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-ca-cert, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-ca-path, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-client-cert, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-private-key, object property in NMSetting8021x +
+
+
+NMSetting8021x:phase2-private-key-password, object property in NMSetting8021x +
+
+
+NMSetting8021x:private-key, object property in NMSetting8021x +
+
+
+NMSetting8021x:private-key-password, object property in NMSetting8021x +
+
+
+NMSetting8021x:system-ca-certs, object property in NMSetting8021x +
+
+
+NMSetting8021xCKFormat, enum in NMSetting8021x +
+
+
+NMSetting8021xCKScheme, enum in NMSetting8021x +
+
+
+NMSetting8021xCKType, enum in NMSetting8021x +
+
+
+NMSetting8021xClass, struct in NMSetting8021x +
+
+
+NMSetting8021xError, enum in NMSetting8021x +
+
+
+NMSetting:name, object property in NMSetting +
+
+
+NMSettingBluetooth, struct in NMSettingBluetooth +
+
+
+NMSettingBluetooth:bdaddr, object property in NMSettingBluetooth +
+
+
+NMSettingBluetooth:type, object property in NMSettingBluetooth +
+
+
+NMSettingBluetoothClass, struct in NMSettingBluetooth +
+
+
+NMSettingBluetoothError, enum in NMSettingBluetooth +
+
+
+NMSettingCdma, struct in NMSettingCdma +
+
+
+NMSettingCdma:number, object property in NMSettingCdma +
+
+
+NMSettingCdma:password, object property in NMSettingCdma +
+
+
+NMSettingCdma:username, object property in NMSettingCdma +
+
+
+NMSettingCdmaClass, struct in NMSettingCdma +
+
+
+NMSettingCdmaError, enum in NMSettingCdma +
+
+
+NMSettingClass, struct in NMSetting +
+
+
+NMSettingCompareFlags, enum in NMSetting +
+
+
+NMSettingConnection, struct in NMSettingConnection +
+
+
+NMSettingConnection:autoconnect, object property in NMSettingConnection +
+
+
+NMSettingConnection:id, object property in NMSettingConnection +
+
+
+NMSettingConnection:read-only, object property in NMSettingConnection +
+
+
+NMSettingConnection:timestamp, object property in NMSettingConnection +
+
+
+NMSettingConnection:type, object property in NMSettingConnection +
+
+
+NMSettingConnection:uuid, object property in NMSettingConnection +
+
+
+NMSettingConnectionClass, struct in NMSettingConnection +
+
+
+NMSettingConnectionError, enum in NMSettingConnection +
+
+
+NMSettingError, enum in NMSetting +
+
+
+NMSettingGsm, struct in NMSettingGsm +
+
+
+NMSettingGsm:allowed-bands, object property in NMSettingGsm +
+
+
+NMSettingGsm:apn, object property in NMSettingGsm +
+
+
+NMSettingGsm:band, object property in NMSettingGsm +
+
+
+NMSettingGsm:home-only, object property in NMSettingGsm +
+
+
+NMSettingGsm:network-id, object property in NMSettingGsm +
+
+
+NMSettingGsm:network-type, object property in NMSettingGsm +
+
+
+NMSettingGsm:number, object property in NMSettingGsm +
+
+
+NMSettingGsm:password, object property in NMSettingGsm +
+
+
+NMSettingGsm:pin, object property in NMSettingGsm +
+
+
+NMSettingGsm:puk, object property in NMSettingGsm +
+
+
+NMSettingGsm:username, object property in NMSettingGsm +
+
+
+NMSettingGsmClass, struct in NMSettingGsm +
+
+
+NMSettingGsmError, enum in NMSettingGsm +
+
+
+NMSettingGsmNetworkBand, enum in NMSettingGsm +
+
+
+NMSettingGsmNetworkType, enum in NMSettingGsm +
+
+
+NMSettingIP4Config, struct in NMSettingIP4Config +
+
+
+NMSettingIP4Config:addresses, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:dhcp-client-id, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:dhcp-hostname, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:dhcp-send-hostname, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:dns, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:dns-search, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:ignore-auto-dns, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:ignore-auto-routes, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:may-fail, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:method, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:never-default, object property in NMSettingIP4Config +
+
+
+NMSettingIP4Config:routes, object property in NMSettingIP4Config +
+
+
+NMSettingIP4ConfigClass, struct in NMSettingIP4Config +
+
+
+NMSettingIP4ConfigError, enum in NMSettingIP4Config +
+
+
+NMSettingIP6Config, struct in NMSettingIP6Config +
+
+
+NMSettingIP6Config:addresses, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:dns, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:dns-search, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:ignore-auto-dns, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:ignore-auto-routes, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:may-fail, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:method, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:never-default, object property in NMSettingIP6Config +
+
+
+NMSettingIP6Config:routes, object property in NMSettingIP6Config +
+
+
+NMSettingIP6ConfigClass, struct in NMSettingIP6Config +
+
+
+NMSettingIP6ConfigError, enum in NMSettingIP6Config +
+
+
+NMSettingOlpcMesh, struct in NMSettingOlpcMesh +
+
+
+NMSettingOlpcMesh:channel, object property in NMSettingOlpcMesh +
+
+
+NMSettingOlpcMesh:dhcp-anycast-address, object property in NMSettingOlpcMesh +
+
+
+NMSettingOlpcMesh:ssid, object property in NMSettingOlpcMesh +
+
+
+NMSettingOlpcMeshClass, struct in NMSettingOlpcMesh +
+
+
+NMSettingOlpcMeshError, enum in NMSettingOlpcMesh +
+
+
+NMSettingPPP, struct in NMSettingPPP +
+
+
+NMSettingPPP:baud, object property in NMSettingPPP +
+
+
+NMSettingPPP:crtscts, object property in NMSettingPPP +
+
+
+NMSettingPPP:lcp-echo-failure, object property in NMSettingPPP +
+
+
+NMSettingPPP:lcp-echo-interval, object property in NMSettingPPP +
+
+
+NMSettingPPP:mppe-stateful, object property in NMSettingPPP +
+
+
+NMSettingPPP:mru, object property in NMSettingPPP +
+
+
+NMSettingPPP:mtu, object property in NMSettingPPP +
+
+
+NMSettingPPP:no-vj-comp, object property in NMSettingPPP +
+
+
+NMSettingPPP:noauth, object property in NMSettingPPP +
+
+
+NMSettingPPP:nobsdcomp, object property in NMSettingPPP +
+
+
+NMSettingPPP:nodeflate, object property in NMSettingPPP +
+
+
+NMSettingPPP:refuse-chap, object property in NMSettingPPP +
+
+
+NMSettingPPP:refuse-eap, object property in NMSettingPPP +
+
+
+NMSettingPPP:refuse-mschap, object property in NMSettingPPP +
+
+
+NMSettingPPP:refuse-mschapv2, object property in NMSettingPPP +
+
+
+NMSettingPPP:refuse-pap, object property in NMSettingPPP +
+
+
+NMSettingPPP:require-mppe, object property in NMSettingPPP +
+
+
+NMSettingPPP:require-mppe-128, object property in NMSettingPPP +
+
+
+NMSettingPPPClass, struct in NMSettingPPP +
+
+
+NMSettingPPPError, enum in NMSettingPPP +
+
+
+NMSettingPPPOE, struct in NMSettingPPPOE +
+
+
+NMSettingPPPOE:password, object property in NMSettingPPPOE +
+
+
+NMSettingPPPOE:service, object property in NMSettingPPPOE +
+
+
+NMSettingPPPOE:username, object property in NMSettingPPPOE +
+
+
+NMSettingPPPOEClass, struct in NMSettingPPPOE +
+
+
+NMSettingPPPOEError, enum in NMSettingPPPOE +
+
+
+NMSettingSerial, struct in NMSettingSerial +
+
+
+NMSettingSerial:baud, object property in NMSettingSerial +
+
+
+NMSettingSerial:bits, object property in NMSettingSerial +
+
+
+NMSettingSerial:parity, object property in NMSettingSerial +
+
+
+NMSettingSerial:send-delay, object property in NMSettingSerial +
+
+
+NMSettingSerial:stopbits, object property in NMSettingSerial +
+
+
+NMSettingSerialClass, struct in NMSettingSerial +
+
+
+NMSettingSerialError, enum in NMSettingSerial +
+
+
+NMSettingValueIterFn, user_function in NMSetting +
+
+
+NMSettingVPN, struct in NMSettingVPN +
+
+
+NMSettingVPN:data, object property in NMSettingVPN +
+
+
+NMSettingVPN:secrets, object property in NMSettingVPN +
+
+
+NMSettingVPN:service-type, object property in NMSettingVPN +
+
+
+NMSettingVPN:user-name, object property in NMSettingVPN +
+
+
+NMSettingVPNClass, struct in NMSettingVPN +
+
+
+NMSettingVpnError, enum in NMSettingVPN +
+
+
+NMSettingWired, struct in NMSettingWired +
+
+
+NMSettingWired:auto-negotiate, object property in NMSettingWired +
+
+
+NMSettingWired:duplex, object property in NMSettingWired +
+
+
+NMSettingWired:mac-address, object property in NMSettingWired +
+
+
+NMSettingWired:mtu, object property in NMSettingWired +
+
+
+NMSettingWired:port, object property in NMSettingWired +
+
+
+NMSettingWired:speed, object property in NMSettingWired +
+
+
+NMSettingWiredClass, struct in NMSettingWired +
+
+
+NMSettingWiredError, enum in NMSettingWired +
+
+
+NMSettingWireless, struct in NMSettingWireless +
+
+
+NMSettingWireless:band, object property in NMSettingWireless +
+
+
+NMSettingWireless:bssid, object property in NMSettingWireless +
+
+
+NMSettingWireless:channel, object property in NMSettingWireless +
+
+
+NMSettingWireless:mac-address, object property in NMSettingWireless +
+
+
+NMSettingWireless:mode, object property in NMSettingWireless +
+
+
+NMSettingWireless:mtu, object property in NMSettingWireless +
+
+
+NMSettingWireless:rate, object property in NMSettingWireless +
+
+
+NMSettingWireless:security, object property in NMSettingWireless +
+
+
+NMSettingWireless:seen-bssids, object property in NMSettingWireless +
+
+
+NMSettingWireless:ssid, object property in NMSettingWireless +
+
+
+NMSettingWireless:tx-power, object property in NMSettingWireless +
+
+
+NMSettingWirelessClass, struct in NMSettingWireless +
+
+
+NMSettingWirelessError, enum in NMSettingWireless +
+
+
+NMSettingWirelessSecurity, struct in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:auth-alg, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:group, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:key-mgmt, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:leap-password, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:leap-username, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:pairwise, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:proto, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:psk, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:wep-key-type, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:wep-key0, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:wep-key1, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:wep-key2, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:wep-key3, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurity:wep-tx-keyidx, object property in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurityClass, struct in NMSettingWirelessSecurity +
+
+
+NMSettingWirelessSecurityError, enum in NMSettingWirelessSecurity +
+
+
+nm_setting_802_1x_add_eap_method, function in NMSetting8021x +
+
+
+NM_SETTING_802_1X_ANONYMOUS_IDENTITY, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_CA_CERT, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_CA_PATH, macro in NMSetting8021x +
+
+
+nm_setting_802_1x_clear_eap_methods, function in NMSetting8021x +
+
+
+NM_SETTING_802_1X_CLIENT_CERT, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_EAP, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_ERROR, macro in NMSetting8021x +
+
+
+nm_setting_802_1x_error_quark, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_anonymous_identity, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_ca_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_ca_cert_blob, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_ca_cert_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_ca_cert_scheme, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_ca_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_client_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_client_cert_blob, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_client_cert_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_client_cert_scheme, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_eap_method, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_identity, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_num_eap_methods, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_password, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase1_fast_provisioning, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase1_peaplabel, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase1_peapver, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_auth, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_autheap, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_ca_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_ca_cert_blob, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_ca_cert_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_ca_cert_scheme, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_ca_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_client_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_client_cert_blob, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_client_cert_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_client_cert_scheme, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key_blob, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key_format, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key_password, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key_scheme, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_phase2_private_key_type, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_pin, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key_blob, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key_format, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key_password, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key_path, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key_scheme, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_private_key_type, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_psk, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_system_ca_certs, function in NMSetting8021x +
+
+
+nm_setting_802_1x_get_type, function in NMSetting8021x +
+
+
+NM_SETTING_802_1X_IDENTITY, macro in NMSetting8021x +
+
+
+nm_setting_802_1x_new, function in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PASSWORD, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE1_FAST_PROVISIONING, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE1_PEAPLABEL, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE1_PEAPVER, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_AUTH, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_AUTHEAP, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_CA_CERT, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_CA_PATH, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_CLIENT_CERT, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_PRIVATE_KEY, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PHASE2_PRIVATE_KEY_PASSWORD, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PIN, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PRIVATE_KEY, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PRIVATE_KEY_PASSWORD, macro in NMSetting8021x +
+
+
+NM_SETTING_802_1X_PSK, macro in NMSetting8021x +
+
+
+nm_setting_802_1x_remove_eap_method, function in NMSetting8021x +
+
+
+NM_SETTING_802_1X_SETTING_NAME, macro in NMSetting8021x +
+
+
+nm_setting_802_1x_set_ca_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_ca_cert_from_file, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_client_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_client_cert_from_file, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_phase2_ca_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_phase2_ca_cert_from_file, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_phase2_client_cert, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_phase2_client_cert_from_file, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_phase2_private_key, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_phase2_private_key_from_file, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_private_key, function in NMSetting8021x +
+
+
+nm_setting_802_1x_set_private_key_from_file, function in NMSetting8021x +
+
+
+NM_SETTING_802_1X_SYSTEM_CA_CERTS, macro in NMSetting8021x +
+
+
+NM_SETTING_BLUETOOTH_BDADDR, macro in NMSettingBluetooth +
+
+
+NM_SETTING_BLUETOOTH_ERROR, macro in NMSettingBluetooth +
+
+
+nm_setting_bluetooth_error_quark, function in NMSettingBluetooth +
+
+
+nm_setting_bluetooth_get_bdaddr, function in NMSettingBluetooth +
+
+
+nm_setting_bluetooth_get_connection_type, function in NMSettingBluetooth +
+
+
+nm_setting_bluetooth_get_type, function in NMSettingBluetooth +
+
+
+nm_setting_bluetooth_new, function in NMSettingBluetooth +
+
+
+NM_SETTING_BLUETOOTH_SETTING_NAME, macro in NMSettingBluetooth +
+
+
+NM_SETTING_BLUETOOTH_TYPE, macro in NMSettingBluetooth +
+
+
+NM_SETTING_BLUETOOTH_TYPE_DUN, macro in NMSettingBluetooth +
+
+
+NM_SETTING_BLUETOOTH_TYPE_PANU, macro in NMSettingBluetooth +
+
+
+NM_SETTING_CDMA_ERROR, macro in NMSettingCdma +
+
+
+nm_setting_cdma_error_quark, function in NMSettingCdma +
+
+
+nm_setting_cdma_get_number, function in NMSettingCdma +
+
+
+nm_setting_cdma_get_password, function in NMSettingCdma +
+
+
+nm_setting_cdma_get_type, function in NMSettingCdma +
+
+
+nm_setting_cdma_get_username, function in NMSettingCdma +
+
+
+nm_setting_cdma_new, function in NMSettingCdma +
+
+
+NM_SETTING_CDMA_NUMBER, macro in NMSettingCdma +
+
+
+NM_SETTING_CDMA_PASSWORD, macro in NMSettingCdma +
+
+
+NM_SETTING_CDMA_SETTING_NAME, macro in NMSettingCdma +
+
+
+NM_SETTING_CDMA_USERNAME, macro in NMSettingCdma +
+
+
+nm_setting_clear_secrets, function in NMSetting +
+
+
+nm_setting_compare, function in NMSetting +
+
+
+NM_SETTING_CONNECTION_AUTOCONNECT, macro in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_ERROR, macro in NMSettingConnection +
+
+
+nm_setting_connection_error_quark, function in NMSettingConnection +
+
+
+nm_setting_connection_get_autoconnect, function in NMSettingConnection +
+
+
+nm_setting_connection_get_connection_type, function in NMSettingConnection +
+
+
+nm_setting_connection_get_id, function in NMSettingConnection +
+
+
+nm_setting_connection_get_read_only, function in NMSettingConnection +
+
+
+nm_setting_connection_get_timestamp, function in NMSettingConnection +
+
+
+nm_setting_connection_get_type, function in NMSettingConnection +
+
+
+nm_setting_connection_get_uuid, function in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_ID, macro in NMSettingConnection +
+
+
+nm_setting_connection_new, function in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_READ_ONLY, macro in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_SETTING_NAME, macro in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_TIMESTAMP, macro in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_TYPE, macro in NMSettingConnection +
+
+
+NM_SETTING_CONNECTION_UUID, macro in NMSettingConnection +
+
+
+nm_setting_duplicate, function in NMSetting +
+
+
+nm_setting_enumerate_values, function in NMSetting +
+
+
+NM_SETTING_ERROR, macro in NMSetting +
+
+
+nm_setting_error_quark, function in NMSetting +
+
+
+nm_setting_get_name, function in NMSetting +
+
+
+nm_setting_get_type, function in NMSetting +
+
+
+NM_SETTING_GSM_ALLOWED_BANDS, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_APN, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_BAND, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_ERROR, macro in NMSettingGsm +
+
+
+nm_setting_gsm_error_quark, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_allowed_bands, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_apn, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_band, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_home_only, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_network_id, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_network_type, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_number, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_password, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_pin, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_puk, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_type, function in NMSettingGsm +
+
+
+nm_setting_gsm_get_username, function in NMSettingGsm +
+
+
+NM_SETTING_GSM_HOME_ONLY, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_NETWORK_ID, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_NETWORK_TYPE, macro in NMSettingGsm +
+
+
+nm_setting_gsm_new, function in NMSettingGsm +
+
+
+NM_SETTING_GSM_NUMBER, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_PASSWORD, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_PIN, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_PUK, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_SETTING_NAME, macro in NMSettingGsm +
+
+
+NM_SETTING_GSM_USERNAME, macro in NMSettingGsm +
+
+
+NM_SETTING_IP4_CONFIG_ADDRESSES, macro in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_add_address, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_add_dns, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_add_dns_search, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_add_route, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_clear_addresses, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_clear_dns, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_clear_dns_searches, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_clear_routes, function in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_DHCP_CLIENT_ID, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_DHCP_HOSTNAME, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_DHCP_SEND_HOSTNAME, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_DNS, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_DNS_SEARCH, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_ERROR, macro in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_error_quark, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_address, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_dhcp_client_id, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_dhcp_hostname, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_dhcp_send_hostname, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_dns, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_dns_search, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_ignore_auto_dns, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_ignore_auto_routes, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_may_fail, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_method, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_never_default, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_num_addresses, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_num_dns, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_num_dns_searches, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_num_routes, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_route, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_get_type, function in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_MAY_FAIL, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_METHOD, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_METHOD_AUTO, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_METHOD_DISABLED, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_METHOD_MANUAL, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_METHOD_SHARED, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_NEVER_DEFAULT, macro in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_new, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_remove_address, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_remove_dns, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_remove_dns_search, function in NMSettingIP4Config +
+
+
+nm_setting_ip4_config_remove_route, function in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_ROUTES, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP4_CONFIG_SETTING_NAME, macro in NMSettingIP4Config +
+
+
+NM_SETTING_IP6_CONFIG_ADDRESSES, macro in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_add_address, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_add_dns, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_add_dns_search, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_add_route, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_clear_addresses, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_clear_dns, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_clear_dns_searches, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_clear_routes, function in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_DNS, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_DNS_SEARCH, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_ERROR, macro in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_error_quark, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_address, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_dns, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_dns_search, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_ignore_auto_dns, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_ignore_auto_routes, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_may_fail, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_method, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_never_default, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_num_addresses, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_num_dns, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_num_dns_searches, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_num_routes, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_route, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_get_type, function in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_IGNORE_AUTO_DNS, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_IGNORE_AUTO_ROUTES, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_MAY_FAIL, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_METHOD, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_METHOD_AUTO, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_METHOD_IGNORE, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_METHOD_MANUAL, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_METHOD_SHARED, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_NEVER_DEFAULT, macro in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_new, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_remove_address, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_remove_dns, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_remove_dns_search, function in NMSettingIP6Config +
+
+
+nm_setting_ip6_config_remove_route, function in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_ROUTES, macro in NMSettingIP6Config +
+
+
+NM_SETTING_IP6_CONFIG_SETTING_NAME, macro in NMSettingIP6Config +
+
+
+NM_SETTING_NAME, macro in NMSetting +
+
+
+nm_setting_need_secrets, function in NMSetting +
+
+
+nm_setting_new_from_hash, function in NMSetting +
+
+
+NM_SETTING_OLPC_MESH_CHANNEL, macro in NMSettingOlpcMesh +
+
+
+NM_SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS, macro in NMSettingOlpcMesh +
+
+
+NM_SETTING_OLPC_MESH_ERROR, macro in NMSettingOlpcMesh +
+
+
+nm_setting_olpc_mesh_error_quark, function in NMSettingOlpcMesh +
+
+
+nm_setting_olpc_mesh_get_channel, function in NMSettingOlpcMesh +
+
+
+nm_setting_olpc_mesh_get_dhcp_anycast_address, function in NMSettingOlpcMesh +
+
+
+nm_setting_olpc_mesh_get_ssid, function in NMSettingOlpcMesh +
+
+
+nm_setting_olpc_mesh_get_type, function in NMSettingOlpcMesh +
+
+
+nm_setting_olpc_mesh_new, function in NMSettingOlpcMesh +
+
+
+NM_SETTING_OLPC_MESH_SETTING_NAME, macro in NMSettingOlpcMesh +
+
+
+NM_SETTING_OLPC_MESH_SSID, macro in NMSettingOlpcMesh +
+
+
+NM_SETTING_PARAM_FUZZY_IGNORE, macro in NMSetting +
+
+
+NM_SETTING_PARAM_REQUIRED, macro in NMSetting +
+
+
+NM_SETTING_PARAM_SECRET, macro in NMSetting +
+
+
+NM_SETTING_PARAM_SERIALIZE, macro in NMSetting +
+
+
+NM_SETTING_PPPOE_ERROR, macro in NMSettingPPPOE +
+
+
+nm_setting_pppoe_error_quark, function in NMSettingPPPOE +
+
+
+nm_setting_pppoe_get_password, function in NMSettingPPPOE +
+
+
+nm_setting_pppoe_get_service, function in NMSettingPPPOE +
+
+
+nm_setting_pppoe_get_type, function in NMSettingPPPOE +
+
+
+nm_setting_pppoe_get_username, function in NMSettingPPPOE +
+
+
+nm_setting_pppoe_new, function in NMSettingPPPOE +
+
+
+NM_SETTING_PPPOE_PASSWORD, macro in NMSettingPPPOE +
+
+
+NM_SETTING_PPPOE_SERVICE, macro in NMSettingPPPOE +
+
+
+NM_SETTING_PPPOE_SETTING_NAME, macro in NMSettingPPPOE +
+
+
+NM_SETTING_PPPOE_USERNAME, macro in NMSettingPPPOE +
+
+
+NM_SETTING_PPP_BAUD, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_CRTSCTS, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_ERROR, macro in NMSettingPPP +
+
+
+nm_setting_ppp_error_quark, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_baud, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_crtscts, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_lcp_echo_failure, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_lcp_echo_interval, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_mppe_stateful, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_mru, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_mtu, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_noauth, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_nobsdcomp, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_nodeflate, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_no_vj_comp, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_refuse_chap, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_refuse_eap, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_refuse_mschap, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_refuse_mschapv2, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_refuse_pap, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_require_mppe, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_require_mppe_128, function in NMSettingPPP +
+
+
+nm_setting_ppp_get_type, function in NMSettingPPP +
+
+
+NM_SETTING_PPP_LCP_ECHO_FAILURE, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_LCP_ECHO_INTERVAL, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_MPPE_STATEFUL, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_MRU, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_MTU, macro in NMSettingPPP +
+
+
+nm_setting_ppp_new, function in NMSettingPPP +
+
+
+NM_SETTING_PPP_NOAUTH, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_NOBSDCOMP, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_NODEFLATE, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_NO_VJ_COMP, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REFUSE_CHAP, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REFUSE_EAP, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REFUSE_MSCHAP, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REFUSE_MSCHAPV2, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REFUSE_PAP, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REQUIRE_MPPE, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_REQUIRE_MPPE_128, macro in NMSettingPPP +
+
+
+NM_SETTING_PPP_SETTING_NAME, macro in NMSettingPPP +
+
+
+NM_SETTING_SERIAL_BAUD, macro in NMSettingSerial +
+
+
+NM_SETTING_SERIAL_BITS, macro in NMSettingSerial +
+
+
+NM_SETTING_SERIAL_ERROR, macro in NMSettingSerial +
+
+
+nm_setting_serial_error_quark, function in NMSettingSerial +
+
+
+nm_setting_serial_get_baud, function in NMSettingSerial +
+
+
+nm_setting_serial_get_bits, function in NMSettingSerial +
+
+
+nm_setting_serial_get_parity, function in NMSettingSerial +
+
+
+nm_setting_serial_get_send_delay, function in NMSettingSerial +
+
+
+nm_setting_serial_get_stopbits, function in NMSettingSerial +
+
+
+nm_setting_serial_get_type, function in NMSettingSerial +
+
+
+nm_setting_serial_new, function in NMSettingSerial +
+
+
+NM_SETTING_SERIAL_PARITY, macro in NMSettingSerial +
+
+
+NM_SETTING_SERIAL_SEND_DELAY, macro in NMSettingSerial +
+
+
+NM_SETTING_SERIAL_SETTING_NAME, macro in NMSettingSerial +
+
+
+NM_SETTING_SERIAL_STOPBITS, macro in NMSettingSerial +
+
+
+nm_setting_to_hash, function in NMSetting +
+
+
+nm_setting_to_string, function in NMSetting +
+
+
+nm_setting_update_secrets, function in NMSetting +
+
+
+nm_setting_verify, function in NMSetting +
+
+
+nm_setting_vpn_add_data_item, function in NMSettingVPN +
+
+
+nm_setting_vpn_add_secret, function in NMSettingVPN +
+
+
+NM_SETTING_VPN_DATA, macro in NMSettingVPN +
+
+
+NM_SETTING_VPN_ERROR, macro in NMSettingVPN +
+
+
+nm_setting_vpn_error_quark, function in NMSettingVPN +
+
+
+nm_setting_vpn_foreach_data_item, function in NMSettingVPN +
+
+
+nm_setting_vpn_foreach_secret, function in NMSettingVPN +
+
+
+nm_setting_vpn_get_data_item, function in NMSettingVPN +
+
+
+nm_setting_vpn_get_secret, function in NMSettingVPN +
+
+
+nm_setting_vpn_get_service_type, function in NMSettingVPN +
+
+
+nm_setting_vpn_get_type, function in NMSettingVPN +
+
+
+nm_setting_vpn_get_user_name, function in NMSettingVPN +
+
+
+nm_setting_vpn_new, function in NMSettingVPN +
+
+
+nm_setting_vpn_remove_data_item, function in NMSettingVPN +
+
+
+nm_setting_vpn_remove_secret, function in NMSettingVPN +
+
+
+NM_SETTING_VPN_SECRETS, macro in NMSettingVPN +
+
+
+NM_SETTING_VPN_SERVICE_TYPE, macro in NMSettingVPN +
+
+
+NM_SETTING_VPN_SETTING_NAME, macro in NMSettingVPN +
+
+
+NM_SETTING_VPN_USER_NAME, macro in NMSettingVPN +
+
+
+NM_SETTING_WIRED_AUTO_NEGOTIATE, macro in NMSettingWired +
+
+
+NM_SETTING_WIRED_DUPLEX, macro in NMSettingWired +
+
+
+NM_SETTING_WIRED_ERROR, macro in NMSettingWired +
+
+
+nm_setting_wired_error_quark, function in NMSettingWired +
+
+
+nm_setting_wired_get_auto_negotiate, function in NMSettingWired +
+
+
+nm_setting_wired_get_duplex, function in NMSettingWired +
+
+
+nm_setting_wired_get_mac_address, function in NMSettingWired +
+
+
+nm_setting_wired_get_mtu, function in NMSettingWired +
+
+
+nm_setting_wired_get_port, function in NMSettingWired +
+
+
+nm_setting_wired_get_speed, function in NMSettingWired +
+
+
+nm_setting_wired_get_type, function in NMSettingWired +
+
+
+NM_SETTING_WIRED_MAC_ADDRESS, macro in NMSettingWired +
+
+
+NM_SETTING_WIRED_MTU, macro in NMSettingWired +
+
+
+nm_setting_wired_new, function in NMSettingWired +
+
+
+NM_SETTING_WIRED_PORT, macro in NMSettingWired +
+
+
+NM_SETTING_WIRED_SETTING_NAME, macro in NMSettingWired +
+
+
+NM_SETTING_WIRED_SPEED, macro in NMSettingWired +
+
+
+nm_setting_wireless_add_seen_bssid, function in NMSettingWireless +
+
+
+nm_setting_wireless_ap_security_compatible, function in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_BAND, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_BSSID, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_CHANNEL, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_ERROR, macro in NMSettingWireless +
+
+
+nm_setting_wireless_error_quark, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_band, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_bssid, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_channel, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_mac_address, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_mode, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_mtu, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_num_seen_bssids, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_rate, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_security, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_seen_bssid, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_ssid, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_tx_power, function in NMSettingWireless +
+
+
+nm_setting_wireless_get_type, function in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_MAC_ADDRESS, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_MODE, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_MTU, macro in NMSettingWireless +
+
+
+nm_setting_wireless_new, function in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_RATE, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_SEC, macro in NMSettingWireless +
+
+
+nm_setting_wireless_security_add_group, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_add_pairwise, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_add_proto, function in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, macro in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_clear_groups, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_clear_pairwise, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_clear_protos, function in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_ERROR, macro in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_error_quark, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_auth_alg, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_group, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_key_mgmt, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_leap_password, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_leap_username, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_num_groups, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_num_pairwise, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_num_protos, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_pairwise, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_proto, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_psk, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_type, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_wep_key, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_wep_key_type, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_get_wep_tx_keyidx, function in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_GROUP, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME, macro in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_new, function in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_PAIRWISE, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_PROTO, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_PSK, macro in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_remove_group, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_remove_pairwise, function in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_remove_proto, function in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_SETTING_NAME, macro in NMSettingWirelessSecurity +
+
+
+nm_setting_wireless_security_set_wep_key, function in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_WEP_KEY0, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_WEP_KEY1, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_WEP_KEY2, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_WEP_KEY3, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX, macro in NMSettingWirelessSecurity +
+
+
+NM_SETTING_WIRELESS_SEEN_BSSIDS, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_SETTING_NAME, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_SSID, macro in NMSettingWireless +
+
+
+NM_SETTING_WIRELESS_TX_POWER, macro in NMSettingWireless +
+
+

T

+
+NM_TYPE_CONNECTION_ERROR, macro in NMConnection +
+
+
+NM_TYPE_SETTING_802_1X_ERROR, macro in NMSetting8021x +
+
+
+NM_TYPE_SETTING_BLUETOOTH_ERROR, macro in NMSettingBluetooth +
+
+
+NM_TYPE_SETTING_CDMA_ERROR, macro in NMSettingCdma +
+
+
+NM_TYPE_SETTING_CONNECTION_ERROR, macro in NMSettingConnection +
+
+
+NM_TYPE_SETTING_ERROR, macro in NMSetting +
+
+
+NM_TYPE_SETTING_GSM_ERROR, macro in NMSettingGsm +
+
+
+NM_TYPE_SETTING_IP4_CONFIG_ERROR, macro in NMSettingIP4Config +
+
+
+NM_TYPE_SETTING_IP6_CONFIG_ERROR, macro in NMSettingIP6Config +
+
+
+NM_TYPE_SETTING_OLPC_MESH_ERROR, macro in NMSettingOlpcMesh +
+
+
+NM_TYPE_SETTING_PPPOE_ERROR, macro in NMSettingPPPOE +
+
+
+NM_TYPE_SETTING_PPP_ERROR, macro in NMSettingPPP +
+
+
+NM_TYPE_SETTING_SERIAL_ERROR, macro in NMSettingSerial +
+
+
+NM_TYPE_SETTING_VPN_ERROR, macro in NMSettingVPN +
+
+
+NM_TYPE_SETTING_WIRED_ERROR, macro in NMSettingWired +
+
+
+NM_TYPE_SETTING_WIRELESS_ERROR, macro in NMSettingWireless +
+
+
+NM_TYPE_SETTING_WIRELESS_SECURITY_ERROR, macro in NMSettingWirelessSecurity +
+
+

U

+
+NMUtilsSecurityType, enum in nm-utils +
+
+
+nm_utils_deinit, function in nm-utils +
+
+
+nm_utils_escape_ssid, function in nm-utils +
+
+
+nm_utils_gvalue_hash_dup, function in nm-utils +
+
+
+nm_utils_init, function in nm-utils +
+
+
+nm_utils_ip4_addresses_from_gvalue, function in nm-utils +
+
+
+nm_utils_ip4_addresses_to_gvalue, function in nm-utils +
+
+
+nm_utils_ip4_get_default_prefix, function in nm-utils +
+
+
+nm_utils_ip4_netmask_to_prefix, function in nm-utils +
+
+
+nm_utils_ip4_prefix_to_netmask, function in nm-utils +
+
+
+nm_utils_ip4_routes_from_gvalue, function in nm-utils +
+
+
+nm_utils_ip4_routes_to_gvalue, function in nm-utils +
+
+
+nm_utils_ip6_addresses_from_gvalue, function in nm-utils +
+
+
+nm_utils_ip6_addresses_to_gvalue, function in nm-utils +
+
+
+nm_utils_ip6_dns_from_gvalue, function in nm-utils +
+
+
+nm_utils_ip6_dns_to_gvalue, function in nm-utils +
+
+
+nm_utils_ip6_routes_from_gvalue, function in nm-utils +
+
+
+nm_utils_ip6_routes_to_gvalue, function in nm-utils +
+
+
+nm_utils_is_empty_ssid, function in nm-utils +
+
+
+nm_utils_rsa_key_encrypt, function in nm-utils +
+
+
+nm_utils_same_ssid, function in nm-utils +
+
+
+nm_utils_security_valid, function in nm-utils +
+
+
+nm_utils_slist_free, function in nm-utils +
+
+
+nm_utils_ssid_to_utf8, function in nm-utils +
+
+
+nm_utils_uuid_generate, function in nm-utils +
+
+
+nm_utils_uuid_generate_from_string, function in nm-utils +
+
+

V

+
+VPNIterFunc, user_function in NMSettingVPN +
+
+

W

+
+nm_warning, macro in nm-utils +
+
+
+nm_warning_str, macro in nm-utils +
+
+
+NMWepKeyType, enum in NMSettingWirelessSecurity +
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/ch01.html b/docs/libnm-util/html/ch01.html new file mode 100644 index 00000000..29422652 --- /dev/null +++ b/docs/libnm-util/html/ch01.html @@ -0,0 +1,86 @@ + + + + +libnm-util API Reference + + + + + + + + + + + + + + + + +
+

+libnm-util API Reference

+
+
+NMConnection — Describes a connection to specific network or provider +
+
+NMSetting — Describes related configuration information +
+
+NMSettingConnection — Describes general connection properties +
+
+NMSettingWired +
+
+NMSettingWireless +
+
+NMSettingWirelessSecurity +
+
+NMSettingBluetooth +
+
+NMSettingSerial +
+
+NMSettingCdma — Describes CDMA-based mobile broadband properties +
+
+NMSettingGsm +
+
+NMSettingOlpcMesh +
+
+NMSetting8021x — Describes 802.1x-authenticated connection properties +
+
+NMSettingIP4Config +
+
+NMSettingIP6Config +
+
+NMSettingPPP +
+
+NMSettingPPPOE +
+
+NMSettingVPN +
+
+nm-utils — Utility functions +
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/home.png b/docs/libnm-util/html/home.png new file mode 100644 index 00000000..17003611 Binary files /dev/null and b/docs/libnm-util/html/home.png differ diff --git a/docs/libnm-util/html/index.html b/docs/libnm-util/html/index.html new file mode 100644 index 00000000..ea9e74c9 --- /dev/null +++ b/docs/libnm-util/html/index.html @@ -0,0 +1,91 @@ + + + + +libnm-util Reference Manual + + + + + + + +
+
+
+
+

+ for libnm-util 0.8 + The latest version of this documentation can be found on-line at + http://projects.gnome.org/NetworkManager/developers/libnm-util/08/. +

+
+
+
+
+
libnm-util API Reference
+
+
+NMConnection — Describes a connection to specific network or provider +
+
+NMSetting — Describes related configuration information +
+
+NMSettingConnection — Describes general connection properties +
+
+NMSettingWired +
+
+NMSettingWireless +
+
+NMSettingWirelessSecurity +
+
+NMSettingBluetooth +
+
+NMSettingSerial +
+
+NMSettingCdma — Describes CDMA-based mobile broadband properties +
+
+NMSettingGsm +
+
+NMSettingOlpcMesh +
+
+NMSetting8021x — Describes 802.1x-authenticated connection properties +
+
+NMSettingIP4Config +
+
+NMSettingIP6Config +
+
+NMSettingPPP +
+
+NMSettingPPPOE +
+
+NMSettingVPN +
+
+nm-utils — Utility functions +
+
+
Object Hierarchy
+
API Index
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/index.sgml b/docs/libnm-util/html/index.sgml new file mode 100644 index 00000000..fef25ace --- /dev/null +++ b/docs/libnm-util/html/index.sgml @@ -0,0 +1,925 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-util/html/left.png b/docs/libnm-util/html/left.png new file mode 100644 index 00000000..2d05b3d5 Binary files /dev/null and b/docs/libnm-util/html/left.png differ diff --git a/docs/libnm-util/html/libnm-util-nm-utils.html b/docs/libnm-util/html/libnm-util-nm-utils.html new file mode 100644 index 00000000..9e0a9182 --- /dev/null +++ b/docs/libnm-util/html/libnm-util-nm-utils.html @@ -0,0 +1,1074 @@ + + + + +nm-utils + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

nm-utils

+

nm-utils — Utility functions

+
+
+

Synopsis

+
+#include <nm-utils.h>
+
+#define             nm_print_backtrace
+#define             nm_get_timestamp                    (timestamp)
+#define             nm_info                             (fmt,
+                                                         args...)
+#define             nm_info_str                         (fmt_str,
+                                                         args...)
+#define             nm_debug                            (fmt,
+                                                         args...)
+#define             nm_debug_str                        (fmt_str,
+                                                         args...)
+#define             nm_warning                          (fmt,
+                                                         args...)
+#define             nm_warning_str                      (fmt_str,
+                                                         args...)
+#define             nm_error                            (fmt,
+                                                         args...)
+#define             nm_error_str                        (fmt_str,
+                                                         args...)
+gboolean            nm_utils_init                       (GError **error);
+void                nm_utils_deinit                     (void);
+gboolean            nm_utils_is_empty_ssid              (const guint8 *ssid,
+                                                         int len);
+const char *        nm_utils_escape_ssid                (const guint8 *ssid,
+                                                         guint32 len);
+gboolean            nm_utils_same_ssid                  (const GByteArray *ssid1,
+                                                         const GByteArray *ssid2,
+                                                         gboolean ignore_trailing_null);
+char *              nm_utils_ssid_to_utf8               (const char *ssid,
+                                                         guint32 len);
+GHashTable *        nm_utils_gvalue_hash_dup            (GHashTable *hash);
+void                nm_utils_slist_free                 (GSList *list,
+                                                         GDestroyNotify elem_destroy_fn);
+enum                NMUtilsSecurityType;
+gboolean            nm_utils_security_valid             (NMUtilsSecurityType type,
+                                                         guint32 wifi_caps,
+                                                         gboolean have_ap,
+                                                         gboolean adhoc,
+                                                         guint32 ap_flags,
+                                                         guint32 ap_wpa,
+                                                         guint32 ap_rsn);
+GSList *            nm_utils_ip4_addresses_from_gvalue  (const GValue *value);
+void                nm_utils_ip4_addresses_to_gvalue    (GSList *list,
+                                                         GValue *value);
+GSList *            nm_utils_ip4_routes_from_gvalue     (const GValue *value);
+void                nm_utils_ip4_routes_to_gvalue       (GSList *list,
+                                                         GValue *value);
+guint32             nm_utils_ip4_netmask_to_prefix      (guint32 netmask);
+guint32             nm_utils_ip4_prefix_to_netmask      (guint32 prefix);
+guint32             nm_utils_ip4_get_default_prefix     (guint32 ip);
+GSList *            nm_utils_ip6_addresses_from_gvalue  (const GValue *value);
+void                nm_utils_ip6_addresses_to_gvalue    (GSList *list,
+                                                         GValue *value);
+GSList *            nm_utils_ip6_routes_from_gvalue     (const GValue *value);
+void                nm_utils_ip6_routes_to_gvalue       (GSList *list,
+                                                         GValue *value);
+GSList *            nm_utils_ip6_dns_from_gvalue        (const GValue *value);
+void                nm_utils_ip6_dns_to_gvalue          (GSList *list,
+                                                         GValue *value);
+char *              nm_utils_uuid_generate              (void);
+char *              nm_utils_uuid_generate_from_string  (const char *s);
+GByteArray *        nm_utils_rsa_key_encrypt            (const GByteArray *data,
+                                                         const char *in_password,
+                                                         char **out_password,
+                                                         GError **error);
+
+
+
+

Description

+

+A collection of utility functions for working SSIDs, IP addresses, WiFi +access points and devices, among other things. +

+
+
+

Details

+
+

nm_print_backtrace

+
#define             nm_print_backtrace()
+

+Prints a backtrace of the calling process to the logging location. +

+
+
+
+

nm_get_timestamp()

+
#define             nm_get_timestamp(timestamp)
+

+For debugging only. +

+
++ + + + +

timestamp :

location in which to place the current timestamp +
+
+
+
+

nm_info()

+
#define             nm_info(fmt, args...)
+

+

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

fmt :

+

args... :

+
+
+
+
+

nm_info_str()

+
#define             nm_info_str(fmt_str, args...)
+

+

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

fmt_str :

+

args... :

+
+
+
+
+

nm_debug()

+
#define             nm_debug(fmt, args...)
+

+

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

fmt :

+

args... :

+
+
+
+
+

nm_debug_str()

+
#define             nm_debug_str(fmt_str, args...)
+

+

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

fmt_str :

+

args... :

+
+
+
+
+

nm_warning()

+
#define             nm_warning(fmt, args...)
+

+

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

fmt :

+

args... :

+
+
+
+
+

nm_warning_str()

+
#define             nm_warning_str(fmt_str, args...)
+

+

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

fmt_str :

+

args... :

+
+
+
+
+

nm_error()

+
#define             nm_error(fmt, args...)
+

+

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

fmt :

+

args... :

+
+
+
+
+

nm_error_str()

+
#define             nm_error_str(fmt_str, args...)
+

+

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

fmt_str :

+

args... :

+
+
+
+
+

nm_utils_init ()

+
gboolean            nm_utils_init                       (GError **error);
+

+Initializes libnm-util; should be called when starting and program that +uses libnm-util. Sets up an atexit() handler to ensure de-initialization +is performed, but calling nm_utils_deinit() to explicitly deinitialize +libnm-util can also be done. This function can be called more than once. +

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

error :

location to store error, or NULL +

Returns :

TRUE if the initialization was successful, FALSE on failure. +
+
+
+
+

nm_utils_deinit ()

+
void                nm_utils_deinit                     (void);
+

+Frees all resources used internally by libnm-util. This function is called +from an atexit() handler, set up by nm_utils_init(), but is safe to be called +more than once. Subsequent calls have no effect until nm_utils_init() is +called again. +

+
+
+
+

nm_utils_is_empty_ssid ()

+
gboolean            nm_utils_is_empty_ssid              (const guint8 *ssid,
+                                                         int len);
+

+Different manufacturers use different mechanisms for not broadcasting the +AP's SSID. This function attempts to detect blank/empty SSIDs using a +number of known SSID-cloaking methods. +

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

ssid :

pointer to a buffer containing the SSID data +

len :

length of the SSID data in ssid +

Returns :

TRUE if the SSID is "empty", FALSE if it is not +
+
+
+
+

nm_utils_escape_ssid ()

+
const char *        nm_utils_escape_ssid                (const guint8 *ssid,
+                                                         guint32 len);
+

+This function does a quick printable character conversion of the SSID, simply +replacing embedded NULLs and non-printable characters with the hexadecimal +representation of that character. Intended for debugging only, should not +be used for display of SSIDs. +

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

ssid :

pointer to a buffer containing the SSID data +

len :

length of the SSID data in ssid +

Returns :

pointer to the escaped SSID, which uses an internal static buffer +and will be overwritten by subsequent calls to this function +
+
+
+
+

nm_utils_same_ssid ()

+
gboolean            nm_utils_same_ssid                  (const GByteArray *ssid1,
+                                                         const GByteArray *ssid2,
+                                                         gboolean ignore_trailing_null);
+

+Earlier versions of the Linux kernel added a NULL byte to the end of the +SSID to enable easy printing of the SSID on the console or in a terminal, +but this behavior was problematic (SSIDs are simply byte arrays, not strings) +and thus was changed. This function compensates for that behavior at the +cost of some compatibility with odd SSIDs that may legitimately have trailing +NULLs, even though that is functionally pointless. +

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

ssid1 :

first SSID data to compare +

ssid2 :

second SSID data to compare +

ignore_trailing_null :

TRUE to ignore one trailing NULL byte +

Returns :

TRUE if the SSIDs are the same, FALSE if they are not +
+
+
+
+

nm_utils_ssid_to_utf8 ()

+
char *              nm_utils_ssid_to_utf8               (const char *ssid,
+                                                         guint32 len);
+

+WiFi SSIDs are byte arrays, they are _not_ strings. Thus, an SSID may +contain embedded NULLs and other unprintable characters. Often it is +useful to print the SSID out for debugging purposes, but that should be the +_only_ use of this function. Do not use this function for any persistent +storage of the SSID, since the printable SSID returned from this function +cannot be converted back into the real SSID of the access point. +

+

+This function does almost everything humanly possible to convert the input +into a printable UTF-8 string, using roughly the following procedure: +

+

+1) if the input data is already UTF-8 safe, no conversion is performed +2) attempts to get the current system language from the LANG environment + variable, and depending on the language, uses a table of alternative + encodings to try. For example, if LANG=hu_HU, the table may first try + the ISO-8859-2 encoding, and if that fails, try the Windows-1250 encoding. + If all fallback encodings fail, replaces non-UTF-8 characters with '?'. +3) If the system language was unable to be determined, falls back to the + ISO-8859-1 encoding, then to the Windows-1251 encoding. +4) If step 3 fails, replaces non-UTF-8 characters with '?'. +

+

+Again, this function should be used for debugging and display purposes +_only_. +

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

ssid :

pointer to a buffer containing the SSID data +

len :

length of the SSID data in ssid +

Returns :

an allocated string containing a UTF-8 representation of the +SSID, which must be freed by the caller using g_free(). Returns NULL +on errors. +
+
+
+
+

nm_utils_gvalue_hash_dup ()

+
GHashTable *        nm_utils_gvalue_hash_dup            (GHashTable *hash);
+

+Utility function to duplicate a hash table of GValues. +

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

hash :

a GHashTable mapping string:GValue +

Returns :

a newly allocated duplicated GHashTable, caller must free the +returned hash with g_hash_table_unref() or g_hash_table_destroy() +
+
+
+
+

nm_utils_slist_free ()

+
void                nm_utils_slist_free                 (GSList *list,
+                                                         GDestroyNotify elem_destroy_fn);
+

+Utility function to free a GSList. +

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

list :

a GSList +

elem_destroy_fn :

user function called for each element in list +
+
+
+
+

enum NMUtilsSecurityType

+
typedef enum {
+	NMU_SEC_INVALID = 0,
+	NMU_SEC_NONE,
+	NMU_SEC_STATIC_WEP,
+	NMU_SEC_LEAP,
+	NMU_SEC_DYNAMIC_WEP,
+	NMU_SEC_WPA_PSK,
+	NMU_SEC_WPA_ENTERPRISE,
+	NMU_SEC_WPA2_PSK,
+	NMU_SEC_WPA2_ENTERPRISE
+} NMUtilsSecurityType;
+
+

+

+
+
+
+

nm_utils_security_valid ()

+
gboolean            nm_utils_security_valid             (NMUtilsSecurityType type,
+                                                         guint32 wifi_caps,
+                                                         gboolean have_ap,
+                                                         gboolean adhoc,
+                                                         guint32 ap_flags,
+                                                         guint32 ap_wpa,
+                                                         guint32 ap_rsn);
+

+Given a set of device capabilities, and a desired security type to check +against, determines whether the combination of device, desired security +type, and AP capabilities intersect. +

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

type :

the security type to check AP flags and device capabilties against, +e.g. NMU_SEC_STATIC_WEP +

wifi_caps :

bitfield of the capabilities of the specific WiFi device, e.g. +NM_WIFI_DEVICE_CAP_CIPHER_WEP40 +

have_ap :

whether the ap_flags, ap_wpa, and ap_rsn arguments are valid +

adhoc :

whether the capabilities being tested are from an Ad-Hoc AP (IBSS) +

ap_flags :

bitfield of AP capabilities, e.g. NM_802_11_AP_FLAGS_PRIVACY +

ap_wpa :

bitfield of AP capabilties derived from the AP's WPA beacon, +e.g. (NM_802_11_AP_SEC_PAIR_TKIP | NM_802_11_AP_SEC_KEY_MGMT_PSK) +

ap_rsn :

bitfield of AP capabilties derived from the AP's RSN/WPA2 beacon, +e.g. (NM_802_11_AP_SEC_PAIR_CCMP | NM_802_11_AP_SEC_PAIR_TKIP) +

Returns :

TRUE if the device capabilities and AP capabilties intersect and are +compatible with the desired type, FALSE if they are not +
+
+
+
+

nm_utils_ip4_addresses_from_gvalue ()

+
GSList *            nm_utils_ip4_addresses_from_gvalue  (const GValue *value);
+

+Utility function to convert a GPtrArray of GArrays of guint32s representing +a list of NetworkManager IPv4 addresses (which is a tuple of address, gateway, +and prefix) into a GSList of NMIP4Address objects. The specific format of +this serialization is not guaranteed to be stable and the GArray may be +extended in the future. +

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

value :

gvalue containing a GPtrArray of GArrays of guint32s +

Returns :

a newly allocated GSList of NMIP4Address objects +
+
+
+
+

nm_utils_ip4_addresses_to_gvalue ()

+
void                nm_utils_ip4_addresses_to_gvalue    (GSList *list,
+                                                         GValue *value);
+

+Utility function to convert a GSList of NMIP4Address objects into a +GPtrArray of GArrays of guint32s representing a list of NetworkManager IPv4 +addresses (which is a tuple of address, gateway, and prefix). The specific +format of this serialization is not guaranteed to be stable and may be +extended in the future. +

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

list :

a list of NMIP4Address objects +

value :

a pointer to a GValue into which to place the converted addresses, +which should be unset by the caller (when no longer needed) with +g_value_unset(). +
+
+
+
+

nm_utils_ip4_routes_from_gvalue ()

+
GSList *            nm_utils_ip4_routes_from_gvalue     (const GValue *value);
+

+Utility function to convert a GPtrArray of GArrays of guint32s representing +a list of NetworkManager IPv4 routes (which is a tuple of route, next hop, +prefix, and metric) into a GSList of NMIP4Route objects. The specific +format of this serialization is not guaranteed to be stable and may be +extended in the future. +

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

value :

gvalue containing a GPtrArray of GArrays of guint32s +

Returns :

a newly allocated GSList of NMIP4Route objects +
+
+
+
+

nm_utils_ip4_routes_to_gvalue ()

+
void                nm_utils_ip4_routes_to_gvalue       (GSList *list,
+                                                         GValue *value);
+

+Utility function to convert a GSList of NMIP4Route objects into a +GPtrArray of GArrays of guint32s representing a list of NetworkManager IPv4 +routes (which is a tuple of route, next hop, prefix, and metric). The +specific format of this serialization is not guaranteed to be stable and may +be extended in the future. +

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

list :

a list of NMIP4Route objects +

value :

a pointer to a GValue into which to place the converted routes, +which should be unset by the caller (when no longer needed) with +g_value_unset(). +
+
+
+
+

nm_utils_ip4_netmask_to_prefix ()

+
guint32             nm_utils_ip4_netmask_to_prefix      (guint32 netmask);
+
++ + + + + + + + + + +

netmask :

an IPv4 netmask in network byte order +

Returns :

the CIDR prefix represented by the netmask +
+
+
+
+

nm_utils_ip4_prefix_to_netmask ()

+
guint32             nm_utils_ip4_prefix_to_netmask      (guint32 prefix);
+
++ + + + + + + + + + +

prefix :

a CIDR prefix +

Returns :

the netmask represented by the prefix +
+
+
+
+

nm_utils_ip4_get_default_prefix ()

+
guint32             nm_utils_ip4_get_default_prefix     (guint32 ip);
+

+When the Internet was originally set up, various ranges of IP addresses were +segmented into three network classes: A, B, and C. This function will return +a prefix that is associated with the IP address specified defining where it +falls in the predefined classes. +

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

ip :

an IPv4 address (in network byte order) +

Returns :

the default class prefix for the given IP +
+
+
+
+

nm_utils_ip6_addresses_from_gvalue ()

+
GSList *            nm_utils_ip6_addresses_from_gvalue  (const GValue *value);
+

+Utility function to convert a GPtrArray of GValueArrays of (GArray of guchars) and guint32 +representing a list of NetworkManager IPv6 addresses (which is a tuple of address, +prefix, and gateway), into a GSList of NMIP6Address objects. The specific format of +this serialization is not guaranteed to be stable and the GValueArray may be +extended in the future. +

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

value :

gvalue containing a GPtrArray of GValueArrays of (GArray of guchars) and guint32 +

Returns :

a newly allocated GSList of NMIP6Address objects +
+
+
+
+

nm_utils_ip6_addresses_to_gvalue ()

+
void                nm_utils_ip6_addresses_to_gvalue    (GSList *list,
+                                                         GValue *value);
+

+Utility function to convert a GSList of NMIP6Address objects into a +GPtrArray of GValueArrays representing a list of NetworkManager IPv6 addresses +(which is a tuple of address, prefix, and gateway). The specific format of +this serialization is not guaranteed to be stable and may be extended in the +future. +

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

list :

a list of NMIP6Address objects +

value :

a pointer to a GValue into which to place the converted addresses, +which should be unset by the caller (when no longer needed) with +g_value_unset(). +
+
+
+
+

nm_utils_ip6_routes_from_gvalue ()

+
GSList *            nm_utils_ip6_routes_from_gvalue     (const GValue *value);
+

+Utility function GPtrArray of GValueArrays of (GArray or guchars), guint32, +(GArray of guchars), and guint32 representing a list of NetworkManager IPv6 +routes (which is a tuple of destination, prefix, next hop, and metric) +into a GSList of NMIP6Route objects. The specific format of this serialization +is not guaranteed to be stable and may be extended in the future. +

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

value :

gvalue containing a GPtrArray of GValueArrays of (GArray or guchars), guint32, +(GArray of guchars), and guint32 +

Returns :

a newly allocated GSList of NMIP6Route objects +
+
+
+
+

nm_utils_ip6_routes_to_gvalue ()

+
void                nm_utils_ip6_routes_to_gvalue       (GSList *list,
+                                                         GValue *value);
+

+Utility function to convert a GSList of NMIP6Route objects into a GPtrArray of +GValueArrays of (GArray or guchars), guint32, (GArray of guchars), and guint32 +representing a list of NetworkManager IPv6 routes (which is a tuple of destination, +prefix, next hop, and metric). The specific format of this serialization is not +guaranteed to be stable and may be extended in the future. +

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

list :

a list of NMIP6Route objects +

value :

a pointer to a GValue into which to place the converted routes, +which should be unset by the caller (when no longer needed) with +g_value_unset(). +
+
+
+
+

nm_utils_ip6_dns_from_gvalue ()

+
GSList *            nm_utils_ip6_dns_from_gvalue        (const GValue *value);
+

+

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

value :

+

Returns :

+
+
+
+
+

nm_utils_ip6_dns_to_gvalue ()

+
void                nm_utils_ip6_dns_to_gvalue          (GSList *list,
+                                                         GValue *value);
+

+

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

list :

+

value :

+
+
+
+
+

nm_utils_uuid_generate ()

+
char *              nm_utils_uuid_generate              (void);
+
++ + + + +

Returns :

a newly allocated UUID suitable for use as the NMSettingConnection +object's "id": property. Should be freed with g_free() +
+
+
+
+

nm_utils_uuid_generate_from_string ()

+
char *              nm_utils_uuid_generate_from_string  (const char *s);
+

+For a given s, this function will always return the same UUID. +

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

s :

a string to use as the seed for the UUID +

Returns :

a newly allocated UUID suitable for use as the NMSettingConnection +object's "id": property +
+
+
+
+

nm_utils_rsa_key_encrypt ()

+
GByteArray *        nm_utils_rsa_key_encrypt            (const GByteArray *data,
+                                                         const char *in_password,
+                                                         char **out_password,
+                                                         GError **error);
+

+Encrypts the given RSA private key data with the given password (or generates +a password if no password was given) and converts the data to PEM format +suitable for writing to a file. +

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

data :

RSA private key data to be encrypted +

in_password :

existing password to use, if any +

out_password :

if in_password was NULL, a random password will be generated + and returned in this argument +

error :

detailed error information on return, if an error occurred +

Returns :

on success, PEM-formatted data suitable for writing to a PEM-formatted +certificate/private key file. +
+
+
+
+ + + \ No newline at end of file diff --git a/docs/libnm-util/html/libnm-util.devhelp b/docs/libnm-util/html/libnm-util.devhelp new file mode 100644 index 00000000..0fc6459e --- /dev/null +++ b/docs/libnm-util/html/libnm-util.devhelp @@ -0,0 +1,813 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-util/html/libnm-util.devhelp2 b/docs/libnm-util/html/libnm-util.devhelp2 new file mode 100644 index 00000000..8d58a675 --- /dev/null +++ b/docs/libnm-util/html/libnm-util.devhelp2 @@ -0,0 +1,830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/libnm-util/html/object-tree.html b/docs/libnm-util/html/object-tree.html new file mode 100644 index 00000000..d83762f7 --- /dev/null +++ b/docs/libnm-util/html/object-tree.html @@ -0,0 +1,50 @@ + + + + +Object Hierarchy + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/libnm-util/html/right.png b/docs/libnm-util/html/right.png new file mode 100644 index 00000000..92832e3a Binary files /dev/null and b/docs/libnm-util/html/right.png differ diff --git a/docs/libnm-util/html/style.css b/docs/libnm-util/html/style.css new file mode 100644 index 00000000..82115eb7 --- /dev/null +++ b/docs/libnm-util/html/style.css @@ -0,0 +1,257 @@ +.synopsis, .classsynopsis +{ + /* tango:aluminium 1/2 */ + background: #eeeeec; + border: solid 1px #d3d7cf; + padding: 0.5em; +} +.programlisting +{ + /* tango:sky blue 0/1 */ + background: #e6f3ff; + border: solid 1px #729fcf; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} + +@media screen { + sup a.footnote + { + position: relative; + top: 0em ! important; + + } + /* this is needed so that the local anchors are displayed below the naviagtion */ + div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] + { + position: relative; + padding-top:4.5em; + } + /* this seems to be a bug in the xsl style sheets when generating indexes */ + div.index div.index + { + top: 0em; + } + /* make space for the fixed navigation bar and add space at the bottom so that + * link targets appear somewhat close to top + */ + body + { + padding-top: 3.2em; + padding-bottom: 20em; + } + /* style and size the navigation bar */ + table.navigation#top + { + position: fixed; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + z-index: 10; + } + .navigation a, .navigation a:visited + { + /* tango:scarlet red 3 */ + color: #a40000; + } + .navigation a:hover + { + /* tango:scarlet red 1 */ + color: #ef2929; + } + td.shortcuts + { + /* tango:scarlet red 1 */ + color: #ef2929; + font-size: 80%; + white-space: nowrap; + } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + } +} + +.navigation .title +{ + font-size: 200%; +} + +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} + +a, a:visited +{ + text-decoration: none; + /* tango:sky blue 2 */ + color: #3465a4; +} +a:hover +{ + text-decoration: underline; + /* tango:sky blue 1 */ + color: #729fcf; +} + +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + /* tango:aluminium 3 */ + border: solid 1px #babdb6; +} + +div.table table td, div.table table th +{ + /* tango:aluminium 3 */ + border: solid 1px #babdb6; + padding: 3px; + vertical-align: top; +} + +div.table table th +{ + /* tango:aluminium 2 */ + background-color: #d3d7cf; +} + +hr +{ + /* tango:aluminium 3 */ + color: #babdb6; + background: #babdb6; + border: none 0px; + height: 1px; + clear: both; +} + +.footer +{ + padding-top: 3.5em; + /* tango:aluminium 3 */ + color: #babdb6; + text-align: center; + font-size: 80%; +} + +.warning +{ + /* tango:orange 0/1 */ + background: #ffeed9; + border-color: #ffb04f; +} +.note +{ + /* tango:chameleon 0/0.5 */ + background: #d8ffb2; + border-color: #abf562; +} +.note, .warning +{ + padding: 0.5em; + border-width: 1px; + border-style: solid; +} +.note h3, .warning h3 +{ + margin-top: 0.0em +} +.note p, .warning p +{ + margin-bottom: 0.0em +} + +/* blob links */ +h2 .extralinks, h3 .extralinks +{ + float: right; + /* tango:aluminium 3 */ + color: #babdb6; + font-size: 80%; + font-weight: normal; +} + +/* code listings */ + +.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ +.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ +.listing_code .programlisting .function { color: #000000; font-weight: bold; } +.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ +.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ +.listing_code .programlisting .normal { color: #000000; } +.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ +.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ +.listing_code .programlisting .type { color: #000000; } +.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ +.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ + +.listing_frame { + /* tango:sky blue 1 */ + border: solid 1px #729fcf; + padding: 0px; +} + +.listing_lines, .listing_code { + margin-top: 0px; + margin-bottom: 0px; + padding: 0.5em; +} +.listing_lines { + /* tango:sky blue 0.5 */ + background: #a6c5e3; + /* tango:aluminium 6 */ + color: #2e3436; +} +.listing_code { + /* tango:sky blue 0 */ + background: #e6f3ff; +} +.listing_code .programlisting { + /* override from previous */ + border: none 0px; + padding: 0px; +} +.listing_lines pre, .listing_code pre { + margin: 0px; +} + diff --git a/docs/libnm-util/html/up.png b/docs/libnm-util/html/up.png new file mode 100644 index 00000000..85b3e2a2 Binary files /dev/null and b/docs/libnm-util/html/up.png differ -- cgit 1.3.0-6-gf8a5