diff options
Diffstat (limited to 'src/devices/nm-device.h')
-rw-r--r-- | src/devices/nm-device.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/devices/nm-device.h b/src/devices/nm-device.h index e33a312605..3514b2c2ed 100644 --- a/src/devices/nm-device.h +++ b/src/devices/nm-device.h @@ -101,8 +101,20 @@ typedef enum NMActStageReturn NMActStageReturn; +/*****************************************************************************/ + #define NM_DEVICE_STATE_DIR ""NMRUNDIR"/devices" +typedef struct { + bool managed:1; + const char *uuid; +} NMDevRunState; + +NMDevRunState *nm_dev_run_state_load (int ifindex, gboolean unlink_file); +void nm_dev_run_state_purge_stale_files (GHashTable *seen_ifindexes); + +/*****************************************************************************/ + /* These flags affect whether a connection is considered available on a device * (check_connection_available()). The flags should have the meaning of relaxing * a condition, so that adding a flag might make a connection available that would |