diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-09-22 01:07:31 -0400 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-09-22 01:07:31 -0400 |
commit | 327129e9331f888a8fc08d688dcb0a739a3c17be (patch) | |
tree | d47eeb130686d47a0800d45e6f2a530374f4c293 /gpt.h | |
parent | 659eaf1552778f5d62878e59bb66ba6fe404a6bf (diff) | |
download | gptfdisk-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |