Updates for version 0.4.2

New feature: Ability to edit disk images.
Several small bug fixes and feature enhancements (see CHANGELOG).
This commit is contained in:
srs5694
2009-09-14 00:29:34 -04:00
parent e4ac11ebee
commit e35eb1beb6
14 changed files with 211 additions and 98 deletions

View File

@@ -18,7 +18,7 @@
#include <linux/fs.h>
#endif
#include <string>
#include <string.h>
#ifndef __GPTSUPPORT
#define __GPTSUPPORT
@@ -62,6 +62,7 @@ int IsLittleEndian(void); // Returns 1 if CPU is little-endian, 0 if it's big-en
void ReverseBytes(void* theValue, int numBytes); // Reverses byte-order of theValue
uint64_t PowerOf2(int value);
int OpenForWrite(char* deviceFilename);
void DiskSync(int fd); // resync disk caches to use new partitions
uint64_t disksize(int fd, int* err);