Top | ![]() |
![]() |
![]() |
![]() |
GObject * | nm_active_connection_new () |
const char * | nm_active_connection_get_connection () |
const char * | nm_active_connection_get_uuid () |
const char * | nm_active_connection_get_specific_object () |
const GPtrArray * | nm_active_connection_get_devices () |
NMActiveConnectionState | nm_active_connection_get_state () |
gboolean | nm_active_connection_get_default () |
gboolean | nm_active_connection_get_default6 () |
const char * | nm_active_connection_get_master () |
#define | NM_ACTIVE_CONNECTION_CONNECTION |
#define | NM_ACTIVE_CONNECTION_UUID |
#define | NM_ACTIVE_CONNECTION_SPECIFIC_OBJECT |
#define | NM_ACTIVE_CONNECTION_DEVICES |
#define | NM_ACTIVE_CONNECTION_STATE |
#define | NM_ACTIVE_CONNECTION_DEFAULT |
#define | NM_ACTIVE_CONNECTION_DEFAULT6 |
#define | NM_ACTIVE_CONNECTION_MASTER |
NMActiveConnection | |
NMActiveConnectionClass |
GObject * nm_active_connection_new (DBusGConnection *connection
,const char *path
);
Creates a new NMActiveConnection.
const char *
nm_active_connection_get_connection (NMActiveConnection *connection
);
Gets the NMConnection's DBus object path.
the object path of the NMConnection inside of NMActiveConnection. This is the internal string used by the connection, and must not be modified.
const char *
nm_active_connection_get_uuid (NMActiveConnection *connection
);
Gets the NMConnection's UUID.
the UUID of the NMConnection that backs the NMActiveConnection. This is the internal string used by the connection, and must not be modified.
const char *
nm_active_connection_get_specific_object
(NMActiveConnection *connection
);
Gets the "specific object" used at the activation.
const GPtrArray *
nm_active_connection_get_devices (NMActiveConnection *connection
);
Gets the NMDevices used for the active connections.
NMActiveConnectionState
nm_active_connection_get_state (NMActiveConnection *connection
);
Gets the active connection's state.
gboolean
nm_active_connection_get_default (NMActiveConnection *connection
);
Whether the active connection is the default IPv4 one (that is, is used for the default IPv4 route and DNS information).
gboolean
nm_active_connection_get_default6 (NMActiveConnection *connection
);
Whether the active connection is the default IPv6 one (that is, is used for the default IPv6 route and DNS information).
const char *
nm_active_connection_get_master (NMActiveConnection *connection
);
Gets the path to the master NMDevice of the connection.
the path of the master NMDevice of the NMActiveConnection. This is the internal string used by the connection, and must not be modified.
“connection”
property“connection” gchar *
The connection's path of the active connection.
Flags: Read
Default value: NULL
“default”
property“default” gboolean
Whether the active connection is the default IPv4 one.
Flags: Read
Default value: FALSE
“default6”
property“default6” gboolean
Whether the active connection is the default IPv6 one.
Flags: Read
Default value: FALSE
“master”
property“master” gchar *
The path of the master device if one exists.
Flags: Read
Default value: NULL
“specific-object”
property“specific-object” gchar *
The specific object's path of the active connection.
Flags: Read
Default value: NULL
“state”
property“state” guint
The state of the active connection.
Flags: Read
Allowed values: <= 3
Default value: 0