]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - io/init.h
xfs: define the on-disk refcount btree format
[thirdparty/xfsprogs-dev.git] / io / init.h
CommitLineData
e246ba5f 1/*
da23017d
NS
2 * Copyright (c) 2003-2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
dfc130f3 4 *
da23017d
NS
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
e246ba5f 7 * published by the Free Software Foundation.
dfc130f3 8 *
da23017d
NS
9 * This program is distributed in the hope that it would be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
dfc130f3 13 *
da23017d
NS
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write the Free Software Foundation,
16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
e246ba5f 17 */
dfc130f3 18
3d93ccb7
NS
19#define CMD_NOFILE_OK (1<<0) /* command doesn't need an open file */
20#define CMD_NOMAP_OK (1<<1) /* command doesn't need a mapped region */
29647c8d 21#define CMD_FOREIGN_OK CMD_FLAG_FOREIGN_OK
3d93ccb7 22
e246ba5f 23extern char *progname;
48c46ee3
NS
24extern int exitcode;
25extern int expert;
26extern size_t pagesize;
5c7bef67 27extern struct timeval stopwatch;
3d93ccb7 28
2c2f6d79 29extern void init_cvtnum(size_t *blocksize, size_t *sectsize);