| Top |
| NMConnection * | nm_simple_connection_new () |
| NMConnection * | nm_simple_connection_new_from_dbus () |
| NMConnection * | nm_simple_connection_new_clone () |
NMConnection *
nm_simple_connection_new (void);
Creates a new NMSimpleConnection object with no NMSetting objects. An NMSimpleConnection does not directly represent a D-Bus-exported connection, but might be used in the process of creating a new one.
NMConnection * nm_simple_connection_new_from_dbus (GVariant *dict,GError **error);
Creates a new NMSimpleConnection from a hash table describing the
connection. See nm_connection_to_dbus() for a description of the expected
hash table.
dict |
a GVariant of type |
|
error |
on unsuccessful return, an error |
the new NMSimpleConnection object, populated with
settings created from the values in the hash table, or NULL if the
connection failed to validate.
[transfer full]
NMConnection *
nm_simple_connection_new_clone (NMConnection *connection);
Clones an NMConnection as an NMSimpleConnection.