blob: f872c38c4c11b19c6397525cb9411f7b1377cbf0 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
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
20extern char *get_progname(char *argv_zero);
21extern 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);
25extern unsigned int figure_journal_size(int size, ext2_filsys fs);
26extern void print_check_message(int, unsigned int);
27extern void dump_mmp_msg(struct mmp_struct *mmp, const char *msg);