diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-01-26 16:00:26 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-01-26 16:00:26 -0500 |
commit | 546a9c7c369df465021feecb20f6a8f81b6df6bc (patch) | |
tree | 280a7cd1fda2a5614582f8675e415d4043fe5e93 /gptpart.h | |
parent | add79a6e1b3a1af1305f02d51eb3aa148f580caa (diff) | |
download | sgdisk-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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;} |