summaryrefslogtreecommitdiff
path: root/gpt.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-05-18 23:24:02 -0400
committersrs5694 <srs5694@users.sourceforge.net>2010-05-18 23:24:02 -0400
commit9ba5421f920e192dbb808d30aa6d34849938bab4 (patch)
tree402f37397398b10ae999d0c7531100c20d1ae66f /gpt.h
parentc54e9b406255a81cca066dacf127d587b9dd36e1 (diff)
downloadsgdisk-9ba5421f920e192dbb808d30aa6d34849938bab4.tar.gz
Added some options for randomizing GUIDs and setting GUIDs via sgdisk
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 09b51c5..f2399b4 100644
--- a/gpt.h
+++ b/gpt.h
@@ -16,7 +16,7 @@
#ifndef __GPTSTRUCTS
#define __GPTSTRUCTS
-#define GPTFDISK_VERSION "0.6.7"
+#define GPTFDISK_VERSION "0.6.8-pre2"
// Constants used by GPTData::PartsToMBR(). MBR_EMPTY must be the lowest-
// numbered value to refer to partition numbers. (Most will be 0 or positive,
@@ -160,8 +160,10 @@ public:
int SetName(uint32_t partNum, const string & theName = "");
void SetDiskGUID(GUIDData newGUID);
int SetPartitionGUID(uint32_t pn, GUIDData theGUID);
+ void RandomizeGUIDs(void);
int ChangePartType(uint32_t pn, uint16_t hexCode);
void MakeProtectiveMBR(void) {protectiveMBR.MakeProtectiveMBR();}
+ void RecomputeCHS(void);
int Align(uint64_t* sector);
// Return data about the GPT structures....