http://linux-ntfs.sourceforge.net/snapshots/ntfsprogs-200307311516.tar.bz2
[ntfsprogs.git] / ntfsprogs / ntfswipe.h
1 /*
2  * ntfswipe - Part of the Linux-NTFS project.
3  *
4  * Copyright (c) 2002 Richard Russon
5  *
6  * This utility will overwrite usused space on an NTFS volume.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program (in the main directory of the Linux-NTFS
20  * distribution in the file COPYING); if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23
24 #ifndef _NTFSWIPE_H_
25 #define _NTFSWIPE_H_
26
27 #include "types.h"
28
29 enum action {
30         act_info,
31         act_test,
32         act_wipe,
33 };
34
35 struct options {
36         char    *device;        /* Device/File to work with */
37         int      info;          /* Show volume info */
38         int      force;         /* Override common sense */
39         int      quiet;         /* Less output */
40         int      verbose;       /* Extra output */
41         int      noaction;      /* Do not write to disk */
42         int      count;         /* Number of iterations */
43         int     *bytes;         /* List of overwrite characters */
44         int      directory;     /* Wipe directory indexes */
45         int      logfile;       /* Wipe the logfile (journal) */
46         int      mft;           /* Wipe mft slack space */
47         int      pagefile;      /* Wipe pagefile (swap space) */
48         int      tails;         /* Wipe file tails */
49         int      unused;        /* Wipe unused clusters */
50 };
51
52 #endif /* _NTFSWIPE_H_ */
53