mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-19 20:30:40 +01:00
settings: document nm_settings_add_connection()
This commit is contained in:
parent
1fe5c197d2
commit
de45e49eb8
1 changed files with 14 additions and 0 deletions
|
|
@ -879,6 +879,20 @@ remove_default_wired_connection (NMSettings *self,
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* nm_settings_add_connection:
|
||||
* @self: the #NMSettings object
|
||||
* @connection: the source connection to create a new #NMSettingsConnection from
|
||||
* @save_to_disk: %TRUE to save the connection to disk immediately, %FALSE to
|
||||
* not save to disk
|
||||
* @error: on return, a location to store any errors that may occur
|
||||
*
|
||||
* Creates a new #NMSettingsConnection for the given source @connection.
|
||||
* The returned object is owned by @self and the caller must reference
|
||||
* the object to continue using it.
|
||||
*
|
||||
* Returns: the new #NMSettingsConnection or %NULL
|
||||
*/
|
||||
NMSettingsConnection *
|
||||
nm_settings_add_connection (NMSettings *self,
|
||||
NMConnection *connection,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue