diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-05-18 23:24:02 -0400 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-05-18 23:24:02 -0400 |
commit | 9ba5421f920e192dbb808d30aa6d34849938bab4 (patch) | |
tree | 402f37397398b10ae999d0c7531100c20d1ae66f /gpt.h | |
parent | c54e9b406255a81cca066dacf127d587b9dd36e1 (diff) | |
download | sgdisk-9ba5421f920e192dbb808d30aa6d34849938bab4.tar.gz |
Added some options for randomizing GUIDs and setting GUIDs via sgdisk
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.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.... |