summaryrefslogtreecommitdiff
path: root/gptpart.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-01-26 16:00:26 -0500
committersrs5694 <srs5694@users.sourceforge.net>2010-01-26 16:00:26 -0500
commit546a9c7c369df465021feecb20f6a8f81b6df6bc (patch)
tree280a7cd1fda2a5614582f8675e415d4043fe5e93 /gptpart.h
parentadd79a6e1b3a1af1305f02d51eb3aa148f580caa (diff)
downloadsgdisk-546a9c7c369df465021feecb20f6a8f81b6df6bc.tar.gz
New files to support disk I/O restructuring and (currently broken)
Windows version.
Diffstat (limited to 'gptpart.h')
-rw-r--r--gptpart.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gptpart.h b/gptpart.h
index b1a580f..2ae27e3 100644
--- a/gptpart.h
+++ b/gptpart.h
@@ -16,8 +16,8 @@
#define __GPTPART_H
#include <stdint.h>
+#include <string>
#include <sys/types.h>
-#include <sys/ioctl.h>
#include "support.h"
#include "parttypes.h"
@@ -53,13 +53,13 @@ class GPTPart {
// Simple data retrieval:
struct GUIDData GetType(void) {return partitionType;}
uint16_t GetHexType(void);
- char* GetNameType(char* theName);
+ string GetNameType(void);
struct GUIDData GetUniqueGUID(void) {return uniqueGUID;}
uint64_t GetFirstLBA(void) {return firstLBA;}
uint64_t GetLastLBA(void) {return lastLBA;}
uint64_t GetLengthLBA(void);
uint64_t GetAttributes(void) {return attributes;}
- unsigned char* GetName(unsigned char* theName);
+ string GetName(void);
// Simple data assignment:
void SetType(struct GUIDData t) {partitionType = t;}