chiark / gitweb /
device: rename 'available' state to 'plugged'
[elogind.git] / src / device.h
index a5c5f745b81f712dfea4e582e7205269c0a54b8c..654499cfd7f0b528fdcdc9c1ac3c156ea72842ca 100644 (file)
@@ -30,7 +30,7 @@ typedef struct Device Device;
  * simplifies the state engine greatly */
 typedef enum DeviceState {
         DEVICE_DEAD,
  * simplifies the state engine greatly */
 typedef enum DeviceState {
         DEVICE_DEAD,
-        DEVICE_AVAILABLE,
+        DEVICE_PLUGGED,
         _DEVICE_STATE_MAX,
         _DEVICE_STATE_INVALID = -1
 } DeviceState;
         _DEVICE_STATE_MAX,
         _DEVICE_STATE_INVALID = -1
 } DeviceState;