Whamcloud - gitweb
mke2fs: fix a importing a directory with an ACL and inline data
[tools/e2fsprogs.git] / misc / util.h
1 /*
2  * util.h --- header file defining prototypes for helper functions
3  * used by tune2fs and mke2fs
4  *
5  * Copyright 2000 by Theodore Ts'o.
6  *
7  * %Begin-Header%
8  * This file may be redistributed under the terms of the GNU Public
9  * License.
10  * %End-Header%
11  */
12
13 extern int       journal_size;
14 extern int       journal_fc_size;
15 extern int       journal_flags;
16 extern char     *journal_device;
17 extern char     *journal_location_string;
18
19 #ifndef HAVE_STRCASECMP
20 extern int strcasecmp (char *s1, char *s2);
21 #endif
22 extern char *get_progname(char *argv_zero);
23 extern void proceed_question(int delay);
24 extern void parse_journal_opts(const char *opts);
25 extern void check_mount(const char *device, int force, const char *type);
26 extern void figure_journal_size(struct ext2fs_journal_params *jparams,
27                 int requested_j_size, int requested_fc_size, ext2_filsys fs);
28 extern void print_check_message(int, unsigned int);
29 extern void dump_mmp_msg(struct mmp_struct *mmp, const char *msg);