mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 14:40:21 +01:00
libnm: add code comments to hint that NMConnection might not validate
This commit is contained in:
parent
7991298c51
commit
52bd08de05
2 changed files with 18 additions and 0 deletions
|
|
@ -1189,6 +1189,9 @@ nm_client_deactivate_connection_finish (NMClient *client,
|
|||
* Returns: (transfer none) (element-type NMRemoteConnection): an array
|
||||
* containing all connections provided by the remote settings service. The
|
||||
* returned array is owned by the #NMClient object and should not be modified.
|
||||
*
|
||||
* The connections are as received from D-Bus and might not validate according
|
||||
* to nm_connection_verify().
|
||||
**/
|
||||
const GPtrArray *
|
||||
nm_client_get_connections (NMClient *client)
|
||||
|
|
@ -1207,6 +1210,9 @@ nm_client_get_connections (NMClient *client)
|
|||
*
|
||||
* Returns: (transfer none): the remote connection object on success, or %NULL if no
|
||||
* matching object was found.
|
||||
*
|
||||
* The connection is as received from D-Bus and might not validate according
|
||||
* to nm_connection_verify().
|
||||
**/
|
||||
NMRemoteConnection *
|
||||
nm_client_get_connection_by_id (NMClient *client, const char *id)
|
||||
|
|
@ -1226,6 +1232,9 @@ nm_client_get_connection_by_id (NMClient *client, const char *id)
|
|||
*
|
||||
* Returns: (transfer none): the remote connection object on success, or %NULL if the object was
|
||||
* not known
|
||||
*
|
||||
* The connection is as received from D-Bus and might not validate according
|
||||
* to nm_connection_verify().
|
||||
**/
|
||||
NMRemoteConnection *
|
||||
nm_client_get_connection_by_path (NMClient *client, const char *path)
|
||||
|
|
@ -1245,6 +1254,9 @@ nm_client_get_connection_by_path (NMClient *client, const char *path)
|
|||
*
|
||||
* Returns: (transfer none): the remote connection object on success, or %NULL if the object was
|
||||
* not known
|
||||
*
|
||||
* The connection is as received from D-Bus and might not validate according
|
||||
* to nm_connection_verify().
|
||||
**/
|
||||
NMRemoteConnection *
|
||||
nm_client_get_connection_by_uuid (NMClient *client, const char *uuid)
|
||||
|
|
|
|||
|
|
@ -2329,6 +2329,9 @@ nm_device_reapply_finish (NMDevice *device,
|
|||
* Returns: (transfer full): a %NMConnection with the currently applied settings
|
||||
* or %NULL on error.
|
||||
*
|
||||
* The connection is as received from D-Bus and might not validate according
|
||||
* to nm_connection_verify().
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
NMConnection *
|
||||
|
|
@ -2457,6 +2460,9 @@ nm_device_get_applied_connection_async (NMDevice *device,
|
|||
* Returns: (transfer full): a currently applied %NMConnection or %NULL in case
|
||||
* of error.
|
||||
*
|
||||
* The connection is as received from D-Bus and might not validate according
|
||||
* to nm_connection_verify().
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
NMConnection *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue