From e627d686c34757f438964a6ea961cb0829e3ff17 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 22 Jul 2003 00:17:47 +0000 Subject: [PATCH] Added definition of flags for partition changes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4049 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/storage/DiskDeviceDefs.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/headers/private/storage/DiskDeviceDefs.h b/headers/private/storage/DiskDeviceDefs.h index 26f40af912..ad3bfdb5f5 100644 --- a/headers/private/storage/DiskDeviceDefs.h +++ b/headers/private/storage/DiskDeviceDefs.h @@ -34,6 +34,23 @@ enum { B_PARTITION_UNRECOGNIZED, }; +// partition change flags +enum { + B_PARTITION_CHANGED_OFFSET = 0x0001, + B_PARTITION_CHANGED_SIZE = 0x0002, + B_PARTITION_CHANGED_BLOCK_SIZE = 0x0004, + B_PARTITION_CHANGED_STATUS = 0x0008, + B_PARTITION_CHANGED_FLAGS = 0x0010, + B_PARTITION_CHANGED_VOLUME = 0x0020, + B_PARTITION_CHANGED_NAME = 0x0040, + B_PARTITION_CHANGED_CONTENT_NAME = 0x0080, + B_PARTITION_CHANGED_TYPE = 0x0100, + B_PARTITION_CHANGED_CONTENT_TYPE = 0x0200, + B_PARTITION_CHANGED_PARAMETERS = 0x0400, + B_PARTITION_CHANGED_CONTENT_PARAMETERS = 0x0800, + B_PARTITION_CHANGED_CHILDREN = 0x1000, +}; + // disk device flags enum { B_DISK_DEVICE_REMOVABLE = 0x01,