summaryrefslogtreecommitdiff
path: root/gpt.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-09-22 01:07:31 -0400
committersrs5694 <srs5694@users.sourceforge.net>2010-09-22 01:07:31 -0400
commit327129e9331f888a8fc08d688dcb0a739a3c17be (patch)
treed47eeb130686d47a0800d45e6f2a530374f4c293 /gpt.h
parent659eaf1552778f5d62878e59bb66ba6fe404a6bf (diff)
downloadsgdisk-327129e9331f888a8fc08d688dcb0a739a3c17be.tar.gz
sgdisk can now accept GUID values with its -t option. Also some
additional checks for hybrid MBR issues.
Diffstat (limited to 'gpt.h')
-rw-r--r--gpt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpt.h b/gpt.h
index 4f0ccf7..6566a64 100644
--- a/gpt.h
+++ b/gpt.h
@@ -16,7 +16,7 @@
#ifndef __GPTSTRUCTS
#define __GPTSTRUCTS
-#define GPTFDISK_VERSION "0.6.10"
+#define GPTFDISK_VERSION "0.6.11-pre1"
// Constants used by GPTData::PartsToMBR(). MBR_EMPTY must be the lowest-
// numbered value to refer to partition numbers. (Most will be 0 or positive,
@@ -113,6 +113,7 @@ public:
void RecomputeCRCs(void);
void RebuildMainHeader(void);
void RebuildSecondHeader(void);
+ int VerifyMBR(void) {return protectiveMBR.Verify();}
int FindHybridMismatches(void);
int FindOverlaps(void);
int FindInsanePartitions(void);
@@ -162,6 +163,7 @@ public:
int SetPartitionGUID(uint32_t pn, GUIDData theGUID);
void RandomizeGUIDs(void);
int ChangePartType(uint32_t pn, uint16_t hexCode);
+ int ChangePartType(uint32_t pn, PartType theGUID);
void MakeProtectiveMBR(void) {protectiveMBR.MakeProtectiveMBR();}
void RecomputeCHS(void);
int Align(uint64_t* sector);