summaryrefslogtreecommitdiff
path: root/ntfsprogs/ntfsmove.h (plain)
blob: ffc1519a140b36c58ee6f845514a11277d5dd3d2
1/*
2 * ntfsmove - Part of the Linux-NTFS project.
3 *
4 * Copyright (c) 2003 Richard Russon
5 *
6 * This utility will move files 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 _NTFSMOVE_H_
25#define _NTFSMOVE_H_
26
27#include "types.h"
28 /* Move files to */
29#define NTFS_MOVE_LOC_START -1000 /* the first available space */
30#define NTFS_MOVE_LOC_BEST -1001 /* place big enough for entire file */
31#define NTFS_MOVE_LOC_END -1002 /* the last available space */
32
33struct options {
34 char *device; /* Device/File to work with */
35 char *file; /* File to display */
36 s64 location; /* Where to place the file */
37 int force; /* Override common sense */
38 int quiet; /* Less output */
39 int verbose; /* Extra output */
40 int noaction; /* Do not write to disk */
41 int nodirty; /* Do not mark volume dirty */
42};
43
44#endif /* _NTFSMOVE_H_ */
45
46
47