summaryrefslogtreecommitdiff
path: root/gpt.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2009-08-20 21:35:25 -0400
committersrs5694 <srs5694@users.sourceforge.net>2009-08-20 21:35:25 -0400
commitc0ca8f877e775a54008b27d92deefdb41bfaea5d (patch)
tree99efc1510662b612904f10733ba89ab4aafb0a9e /gpt.h
parent7f244babbe6c792379fa8d812701637e1541e8b7 (diff)
downloadsgdisk-c0ca8f877e775a54008b27d92deefdb41bfaea5d.tar.gz
Added hybrid MBR and destroy-GPT options
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 c56de20..4c2904e 100644
--- a/gpt.h
+++ b/gpt.h
@@ -126,11 +126,12 @@ public:
void RebuildSecondHeader(void);
void LoadSecondTableAsMain(void);
uint64_t FindFreeBlocks(int *numSegments, uint64_t *largestSegment);
-// void MakeHybrid(void);
- void MakeProtectiveMBR(void) {return protectiveMBR.MakeProtectiveMBR();}
+ void MakeHybrid(void);
+ void MakeProtectiveMBR(void);
int SaveGPTData(void);
int SaveGPTBackup(char* filename);
int LoadGPTBackup(char* filename);
+ int DestroyGPT(void); // Returns 1 if user proceeds
// Return data about the GPT structures....
uint32_t GetNumParts(void) {return mainHeader.numParts;}