blob: 8492179974e27974dd6bbc8f3e2f0b770958d1ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef UTILS_H
#define UTILS_H
#include <panel.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);
int cursesInit(WINDOW *wins[], PANEL *panels[], int count);
void cursesUnInit(WINDOW *wins[], PANEL *panels[], int count);
#endif /*UTILS_H*/
|