diff options
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/slices.h | 2 | ||||
-rwxr-xr-x | inc/util.h | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/inc/slices.h b/inc/slices.h index 4b60ebc..5e56269 100755 --- a/inc/slices.h +++ b/inc/slices.h @@ -31,7 +31,7 @@ int sliceSplit(slices_t *slices, slice_t *initialSlice, address_t splitAt, slice slices_t *slicesNewEmpty(); -slices_t *sliceNewSingleton(begin, end, sliceStatus_t status); +slices_t *sliceNewSingleton(address_t begin, address_t end, sliceStatus_t status); void slicesAppend(slices_t *slices, slice_t *slice); diff --git a/inc/util.h b/inc/util.h new file mode 100755 index 0000000..0724e72 --- /dev/null +++ b/inc/util.h @@ -0,0 +1,10 @@ +#ifndef UTIL_H +#define UTIL_H + +#include "slices.h" + +int parseArgs(int argc, char **argv, char *src, char *dst, char *ddOpts, address_t *beginSector, address_t *endSector); + +void usage(); + +#endif /*UTIL_H*/ |