xref: /aosp_15_r20/external/e2fsprogs/misc/mke2fs.h (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Worker /*
2*6a54128fSAndroid Build Coastguard Worker  * mke2fs.h
3*6a54128fSAndroid Build Coastguard Worker  *
4*6a54128fSAndroid Build Coastguard Worker  * Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5*6a54128fSAndroid Build Coastguard Worker  * 	2003, 2004, 2005 by Theodore Ts'o.
6*6a54128fSAndroid Build Coastguard Worker  *
7*6a54128fSAndroid Build Coastguard Worker  * %Begin-Header%
8*6a54128fSAndroid Build Coastguard Worker  * This file may be redistributed under the terms of the GNU Public
9*6a54128fSAndroid Build Coastguard Worker  * License.
10*6a54128fSAndroid Build Coastguard Worker  * %End-Header%
11*6a54128fSAndroid Build Coastguard Worker  */
12*6a54128fSAndroid Build Coastguard Worker 
13*6a54128fSAndroid Build Coastguard Worker /* mke2fs.c */
14*6a54128fSAndroid Build Coastguard Worker extern const char * program_name;
15*6a54128fSAndroid Build Coastguard Worker extern int	quiet;
16*6a54128fSAndroid Build Coastguard Worker extern int	verbose;
17*6a54128fSAndroid Build Coastguard Worker extern int	zero_hugefile;
18*6a54128fSAndroid Build Coastguard Worker extern char **fs_types;
19*6a54128fSAndroid Build Coastguard Worker 
20*6a54128fSAndroid Build Coastguard Worker extern char *get_string_from_profile(char **types, const char *opt,
21*6a54128fSAndroid Build Coastguard Worker 				     const char *def_val);
22*6a54128fSAndroid Build Coastguard Worker extern int get_int_from_profile(char **types, const char *opt, int def_val);
23*6a54128fSAndroid Build Coastguard Worker extern int get_bool_from_profile(char **types, const char *opt, int def_val);
24*6a54128fSAndroid Build Coastguard Worker extern int int_log10(unsigned long long arg);
25*6a54128fSAndroid Build Coastguard Worker 
26*6a54128fSAndroid Build Coastguard Worker /* mk_hugefiles.c */
27*6a54128fSAndroid Build Coastguard Worker extern errcode_t mk_hugefiles(ext2_filsys fs, const char *device_name);
28*6a54128fSAndroid Build Coastguard Worker 
29*6a54128fSAndroid Build Coastguard Worker 
30*6a54128fSAndroid Build Coastguard Worker 
31