diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2011-10-09 12:33:48 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2011-10-09 12:33:48 +0000 |
commit | 0f2c685db3d3790ce9bdc9598df8dae7d6b67eae (patch) | |
tree | a2c2a7f8941e87368ee46163e028c553d1b6bcdf /inc/utils.h | |
download | 2011-ddhardrescue-origin/0.x.tar.gz 2011-ddhardrescue-origin/0.x.tar.bz2 2011-ddhardrescue-origin/0.x.zip |
On range tout le code actuel du trunk dans une branche nommée "0.x" et on crée une branche 1.x qui contiendra une nouvelle mouture (re-conception, méta info de packaging...).origin/0.x
git-svn-id: file:///var/svn/2011-ddhardrescue/branches/0.x@29 d3078510-dda0-49f1-841c-895ef4b7ec81
Diffstat (limited to 'inc/utils.h')
-rwxr-xr-x | inc/utils.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/utils.h b/inc/utils.h new file mode 100755 index 0000000..8492179 --- /dev/null +++ b/inc/utils.h @@ -0,0 +1,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*/ |