summaryrefslogtreecommitdiffstats
path: root/misc/mke2fs.h
blob: ce72cb3f597402e80d8a225f590ef026ef85f883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * mke2fs.h
 *
 * Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 * 	2003, 2004, 2005 by Theodore Ts'o.
 *
 * %Begin-Header%
 * This file may be redistributed under the terms of the GNU Public
 * License.
 * %End-Header%
 */

/* mke2fs.c */
extern const char * program_name;
extern int	quiet;
extern int	verbose;
extern int	zero_hugefile;
extern char **fs_types;

extern char *get_string_from_profile(char **types, const char *opt,
				     const char *def_val);
extern int get_int_from_profile(char **types, const char *opt, int def_val);
extern int get_bool_from_profile(char **types, const char *opt, int def_val);
extern int int_log10(unsigned long long arg);

/* mk_hugefiles.c */
extern errcode_t mk_hugefiles(ext2_filsys fs, const char *device_name);