diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 1e14658d28..7d57b52699 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -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, diff --git a/libnm/nm-device.h b/libnm/nm-device.h index c9d619fc6c..bf845cebff 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -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);