summaryrefslogtreecommitdiff
path: root/inc/utils.h
blob: c045b83bfa744df92c25d5dd25b6b19e4edf8e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef UTILS_H
#define UTILS_H

#include "slices.h"

struct progArgs {
	char *src, *dst, *ddOpts, *dump;
	address_t beginSector, endSector, blockSize;
};

int parseArgs(int argc, char **argv, struct progArgs *args);

void usage(char *progname);

#endif /*UTILS_H*/