diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-09-24 20:39:41 -0400 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-09-24 20:39:41 -0400 |
commit | 5a081757ea2e32a491349544fea92826ccf739f6 (patch) | |
tree | 08a33c9b6b6a1a9a8e6c492b21287b972306b185 /gpt.h | |
parent | 82f3f0b529ec1bb936141ae41b03f95c72ce573a (diff) | |
download | sgdisk-5a081757ea2e32a491349544fea92826ccf739f6.tar.gz |
Added -F option to sgdisk
Diffstat (limited to 'gpt.h')
-rw-r--r-- | gpt.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ #ifndef __GPTSTRUCTS #define __GPTSTRUCTS -#define GPTFDISK_VERSION "0.6.11-pre2" +#define GPTFDISK_VERSION "0.6.11-pre3" // Constants used by GPTData::PartsToMBR(). MBR_EMPTY must be the lowest- // numbered value to refer to partition numbers. (Most will be 0 or positive, @@ -177,10 +177,10 @@ public: uint64_t GetSecondPartsLBA(void) {return secondHeader.partitionEntriesLBA;} uint64_t GetFirstUsableLBA(void) {return mainHeader.firstUsableLBA;} uint64_t GetLastUsableLBA(void) {return mainHeader.lastUsableLBA;} - uint64_t GetPartFirstLBA(uint32_t i) {return partitions[i].GetFirstLBA();} - uint64_t GetPartLastLBA(uint32_t i) {return partitions[i].GetLastLBA();} uint32_t CountParts(void); bool ValidPartNum (const uint32_t partNum); + const GPTPart & operator[](uint32_t partNum) const; + const GUIDData & GetDiskGUID(void) const; // Find information about free space uint64_t FindFirstAvailable(uint64_t start = 0); |