about summary refs log tree commit diff
path: root/src/core/devices/nm-device-utils.h
diff options
context:
space:
mode:
authorJeremy Bicha <jeremy.bicha@canonical.com>2022-02-22 16:46:07 -0500
committerJeremy Bicha <jeremy.bicha@canonical.com>2022-02-22 16:46:07 -0500
commit297ac7f51b68aaa0e281336e6c6154bb2c913580 (patch)
treeff98cec3cc8eeb03b58cfeae184f2da4bfa6c93f /src/core/devices/nm-device-utils.h
parentc713c9f47084b639644c0b9a8bb04faa3ccd21e3 (diff)
parent7d8baf4ac0480a542f000c1201df85427a22332c (diff)
Update to upstream version '1.35.90
Diffstat (limited to 'src/core/devices/nm-device-utils.h')
-rw-r--r--src/core/devices/nm-device-utils.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/core/devices/nm-device-utils.h b/src/core/devices/nm-device-utils.h
index 7200b0ea..7b879c90 100644
--- a/src/core/devices/nm-device-utils.h
+++ b/src/core/devices/nm-device-utils.h
@@ -73,23 +73,20 @@ const char *nm_device_sys_iface_state_to_string(NMDeviceSysIfaceState sys_iface_
 
 /*****************************************************************************/
 
-typedef enum {
+typedef enum _nm_packed {
     NM_DEVICE_IP_STATE_NONE,
-    NM_DEVICE_IP_STATE_WAIT,
-    NM_DEVICE_IP_STATE_CONF,
-    NM_DEVICE_IP_STATE_DONE,
-    NM_DEVICE_IP_STATE_FAIL,
+    NM_DEVICE_IP_STATE_PENDING,
+    NM_DEVICE_IP_STATE_READY,
+    NM_DEVICE_IP_STATE_FAILED,
 } NMDeviceIPState;
 
 const char *nm_device_ip_state_to_string(NMDeviceIPState ip_state);
 
 /*****************************************************************************/
 
-/*****************************************************************************/
-
 void nm_device_resolve_address(int                 addr_family,
                                gconstpointer       address,
-                               GCancellable *      cancellable,
+                               GCancellable       *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer            cb_data);