mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 12:40:11 +01:00
libnm: add versioning comments and macros to nm_device_reapply*()
Fixes: 278fd4fb0f
This commit is contained in:
parent
59dc2eb29a
commit
9b94d33232
2 changed files with 9 additions and 1 deletions
|
|
@ -2176,6 +2176,8 @@ nm_device_is_software (NMDevice *device)
|
|||
* made since it was last applied.
|
||||
*
|
||||
* Returns: %TRUE on success, %FALSE on error, in which case @error will be set.
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
gboolean
|
||||
nm_device_reapply (NMDevice *device,
|
||||
|
|
@ -2232,6 +2234,8 @@ device_reapply_cb (GObject *proxy,
|
|||
*
|
||||
* Asynchronously begins an attempt to update device with changes to the
|
||||
* currently active connection made since it was last applied.
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
void
|
||||
nm_device_reapply_async (NMDevice *device,
|
||||
|
|
@ -2269,6 +2273,8 @@ nm_device_reapply_async (NMDevice *device,
|
|||
*
|
||||
* Returns: %TRUE on success, %FALSE on error, in which case @error
|
||||
* will be set.
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
gboolean
|
||||
nm_device_reapply_finish (NMDevice *device,
|
||||
|
|
|
|||
|
|
@ -137,18 +137,20 @@ NM_AVAILABLE_IN_1_2
|
|||
GPtrArray * nm_device_get_lldp_neighbors (NMDevice *device);
|
||||
char ** nm_device_disambiguate_names (NMDevice **devices,
|
||||
int num_devices);
|
||||
|
||||
NM_AVAILABLE_IN_1_2
|
||||
gboolean nm_device_reapply (NMDevice *device,
|
||||
NMConnection *connection,
|
||||
guint flags,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
NM_AVAILABLE_IN_1_2
|
||||
void nm_device_reapply_async (NMDevice *device,
|
||||
NMConnection *connection,
|
||||
guint flags,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
NM_AVAILABLE_IN_1_2
|
||||
gboolean nm_device_reapply_finish (NMDevice *device,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue