http://linux-ntfs.sourceforge.net/snapshots/ntfsprogs-200307311516.tar.bz2
[ntfsprogs.git] / ntfsprogs / ntfscluster.h
1 /*
2  * ntfscluster - Part of the Linux-NTFS project.
3  *
4  * Copyright (c) 2002 Richard Russon
5  *
6  * This utility will XXX
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 _NTFSCLUSTER_H_
25 #define _NTFSCLUSTER_H_
26
27 #include "types.h"
28
29 enum action {
30         act_none = 1,
31         act_info = 2,
32         act_cluster = 3,
33         act_sector = 4,
34         act_last = 5,
35         act_error = 6,
36 };
37
38 struct options {
39         char            *device;        /* Device/File to work with */
40         enum action      action;        /* What to do */
41         int              quiet;         /* Less output */
42         int              verbose;       /* Extra output */
43         int              force;         /* Override common sense */
44         u64              range_begin;   /* Look for objects in this range */
45         u64              range_end;
46 };
47
48 #endif /* _NTFSCLUSTER_H_ */
49
50