mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-01 02:18:20 +02:00
docs: reference NMRemoteSettings from NMClient creators
It can be a bit confusing that one object doesn't do both control and configuration. So throw users a bone and tell them how.
This commit is contained in:
parent
c619365ee3
commit
925d5e016b
1 changed files with 8 additions and 0 deletions
|
|
@ -1115,6 +1115,10 @@ client_device_removed (NMObject *client, NMObject *device)
|
|||
* client. You can use nm_client_new_async() if you want to avoid
|
||||
* that.
|
||||
*
|
||||
* NOTE: #NMClient provides information about devices and a mechanism to
|
||||
* control them. To access and modify network configuration data, use the
|
||||
* #NMRemoteSettings object.
|
||||
*
|
||||
* Returns: a new #NMClient
|
||||
**/
|
||||
NMClient *
|
||||
|
|
@ -1166,6 +1170,10 @@ client_inited (GObject *source, GAsyncResult *result, gpointer user_data)
|
|||
* Creates a new #NMClient and begins asynchronously initializing it.
|
||||
* @callback will be called when it is done; use
|
||||
* nm_client_new_finish() to get the result.
|
||||
*
|
||||
* NOTE: #NMClient provides information about devices and a mechanism to
|
||||
* control them. To access and modify network configuration data, use the
|
||||
* #NMRemoteSettings object.
|
||||
**/
|
||||
void
|
||||
nm_client_new_async (GCancellable *cancellable, GAsyncReadyCallback callback,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue