diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
commit | 5dced3d1b3deca80e01415a2e35dc7972dcbfae7 (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /misc/util.h | |
parent | Initial commit. (diff) | |
download | e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.tar.xz e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.zip |
Adding upstream version 1.47.0.upstream/1.47.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | misc/util.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/util.h b/misc/util.h new file mode 100644 index 0000000..ccdc7fb --- /dev/null +++ b/misc/util.h @@ -0,0 +1,29 @@ +/* + * util.h --- header file defining prototypes for helper functions + * used by tune2fs and mke2fs + * + * Copyright 2000 by Theodore Ts'o. + * + * %Begin-Header% + * This file may be redistributed under the terms of the GNU Public + * License. + * %End-Header% + */ + +extern int journal_size; +extern int journal_fc_size; +extern int journal_flags; +extern char *journal_device; +extern char *journal_location_string; + +#ifndef HAVE_STRCASECMP +extern int strcasecmp (char *s1, char *s2); +#endif +extern char *get_progname(char *argv_zero); +extern void proceed_question(int delay); +extern void parse_journal_opts(const char *opts); +extern void check_mount(const char *device, int force, const char *type); +extern void figure_journal_size(struct ext2fs_journal_params *jparams, + int requested_j_size, int requested_fc_size, ext2_filsys fs); +extern void print_check_message(int, unsigned int); +extern void dump_mmp_msg(struct mmp_struct *mmp, const char *msg); |