blob: 80d2417185aec5bf5e5308f773db14949ae532f1 [file] [log] [blame]
Denis Vlasenkoc4f623e2006-12-26 01:30:59 +00001/* vi: set sw=4 ts=4: */
2/*
3 * util.h --- header file defining prototypes for helper functions
4 * used by tune2fs and mke2fs
5 *
6 * Copyright 2000 by Theodore Ts'o.
7 *
8 * %Begin-Header%
9 * This file may be redistributed under the terms of the GNU Public
10 * License.
11 * %End-Header%
12 */
13
14extern void proceed_question(void);
15extern void check_plausibility(const char *device, int force);
16extern void parse_journal_opts(char **, int *, int *, const char *opts);
17extern void check_mount(const char *device, int force, const char *type);
18extern int figure_journal_size(int size, ext2_filsys fs);
19extern void print_check_message(ext2_filsys fs);
20extern void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int force);
21extern void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, int quiet);
22extern char *e2fs_set_sbin_path(void);