summaryrefslogtreecommitdiff
path: root/gptpart.h
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2014-02-22 12:12:32 -0500
committerRoderick W. Smith <rodsmith@rodsbooks.com>2014-02-22 12:12:32 -0500
commita345a922606a88447d2d89e28189d5372a75ea07 (patch)
treea3a7293c901ee8b1d0f17cec8ececc5f2be045da /gptpart.h
parent820d1d04a3a76fb7699063597aac55742cc28d4a (diff)
downloadsgdisk-a345a922606a88447d2d89e28189d5372a75ea07.tar.gz
Refinements to new treatment of hybrid MBR and MBR conversions that
span the 2TiB boundary.
Diffstat (limited to 'gptpart.h')
-rw-r--r--gptpart.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gptpart.h b/gptpart.h
index f62d5b5..657b3f9 100644
--- a/gptpart.h
+++ b/gptpart.h
@@ -25,6 +25,11 @@
using namespace std;
+// Values returned by GPTPart::IsSizedForMBR()
+#define MBR_SIZED_GOOD 0 /* Whole partition under 2^32 sectors */
+#define MBR_SIZED_IFFY 1 /* Partition starts under 2^32 & is less than 2^32, but ends over 2^32 */
+#define MBR_SIZED_BAD 2 /* Partition starts over 2^32, is bigger than 2^32, or otherwise bad */
+
/****************************************
* *
* GPTPart class and related structures *