blob: 3b6a881659cc6c93006e15825f15d45d5c34cafe [file] [log] [blame]
Theodore Ts'o63985322001-01-03 17:02:13 +00001/*
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
13extern int journal_size;
14extern int journal_flags;
15extern char *journal_device;
16
17#ifndef HAVE_STRCASECMP
18extern int strcasecmp (char *s1, char *s2);
19#endif
Andreas Dilger0072f8d2002-02-25 23:11:26 -070020extern char *get_progname(char *argv_zero);
Theodore Ts'o63985322001-01-03 17:02:13 +000021extern void proceed_question(void);
22extern void check_plausibility(const char *device);
23extern void parse_journal_opts(const char *opts);
24extern void check_mount(const char *device, int force, const char *type);
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -050025extern int figure_journal_size(int size, ext2_filsys fs);
Theodore Ts'o66cf2f62001-06-14 06:42:44 +000026extern void print_check_message(ext2_filsys fs);