| Top |
| NMConnection * | nm_simple_connection_new () |
| NMConnection * | nm_simple_connection_new_from_dbus () |
| NMConnection * | nm_simple_connection_new_clone () |
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 (void);
Creates a new NMSimpleConnection object with no NMSetting objects.
NMConnection * nm_simple_connection_new_from_dbus (GVariant *dict,GError **error);
Creates a new NMSimpleConnection from a hash table describing the
connection and normalize 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 normalize.
[transfer full]