chiark / gitweb /
[PATCH] clean up match_place()
[elogind.git] / udev.h
diff --git a/udev.h b/udev.h
index 2d2ef364b6084c47d26c2f967059c45b6a38f96e..17ff4031c90dde49b00031d1529156598fb450d9 100644 (file)
--- a/udev.h
+++ b/udev.h
 
 #define DEFAULT_PARTITIONS_COUNT       15
 
+enum device_type {
+       UNKNOWN,
+       CLASS,
+       BLOCK,
+       NET,
+       PHYSDEV,
+};
+
 struct udevice {
        char devpath[DEVPATH_SIZE];
        char subsystem[SUBSYSTEM_SIZE];