summaryrefslogtreecommitdiff
path: root/gpt.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-06-26 22:40:06 -0400
committersrs5694 <srs5694@users.sourceforge.net>2011-06-26 22:40:06 -0400
commit00b6d7a4604e759eb3c92b3ecea608d6fe024b81 (patch)
treec47703bea8a55b25f90e9b9cc8a54cc3c51c10e9 /gpt.h
parent6aae2a9b70e9f88926baad94c1eea40e0b534f01 (diff)
downloadsgdisk-00b6d7a4604e759eb3c92b3ecea608d6fe024b81.tar.gz
0.7.2 release, includes new Linux type code & true GUID generation in
Windows
Diffstat (limited to 'gpt.h')
-rw-r--r--gpt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpt.h b/gpt.h
index c4c5881..d8c2a43 100644
--- a/gpt.h
+++ b/gpt.h
@@ -155,9 +155,10 @@ public:
void MakeProtectiveMBR(void) {protectiveMBR.MakeProtectiveMBR();}
void RecomputeCHS(void);
int Align(uint64_t* sector);
-
- // Return data about the GPT structures....
void SetProtectiveMBR(BasicMBRData & newMBR) {protectiveMBR = newMBR;}
+
+ // Return data about the GPT structures....
+ WhichToUse GetState(void) {return whichWasUsed;}
int GetPartRange(uint32_t* low, uint32_t* high);
int FindFirstFreePart(void);
uint32_t GetNumParts(void) {return mainHeader.numParts;}