summaryrefslogtreecommitdiff
path: root/gpt.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-08-22 22:44:42 -0400
committersrs5694 <srs5694@users.sourceforge.net>2010-08-22 22:44:42 -0400
commit9ddc14bb9b154518e2b8384d3f4571cf657c7920 (patch)
treef921f4c8287c9e4270bbd47e5a60cb536e51b3f9 /gpt.h
parentf9312b0ca9af86f280adad36eb660f6e74720c2c (diff)
downloadsgdisk-9ddc14bb9b154518e2b8384d3f4571cf657c7920.tar.gz
Revisions for 0.6.10 release
Diffstat (limited to 'gpt.h')
-rw-r--r--gpt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gpt.h b/gpt.h
index 4ead25a..4f0ccf7 100644
--- a/gpt.h
+++ b/gpt.h
@@ -16,7 +16,7 @@
#ifndef __GPTSTRUCTS
#define __GPTSTRUCTS
-#define GPTFDISK_VERSION "0.6.10-pre1"
+#define GPTFDISK_VERSION "0.6.10"
// Constants used by GPTData::PartsToMBR(). MBR_EMPTY must be the lowest-
// numbered value to refer to partition numbers. (Most will be 0 or positive,
@@ -179,6 +179,7 @@ public:
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);
// Find information about free space
uint64_t FindFirstAvailable(uint64_t start = 0);
@@ -200,6 +201,12 @@ public:
// Endianness functions
void ReverseHeaderBytes(struct GPTHeader* header);
void ReversePartitionBytes(); // for endianness
+
+ // Attributes functions
+ int ManageAttributes(int partNum, const string & command, const string & bits);
+ void ShowAttributes(const uint32_t partNum);
+ void GetAttribute(const uint32_t partNum, const string& attributeBits);
+
}; // class GPTData
// Function prototypes....