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_flags; 15 extern char *journal_device; 16 extern char *journal_location_string; 17 18 #ifndef HAVE_STRCASECMP 19 extern int strcasecmp (char *s1, char *s2); 20 #endif 21 extern char *get_progname(char *argv_zero); 22 extern void proceed_question(int delay); 23 extern void parse_journal_opts(const char *opts); 24 extern void check_mount(const char *device, int force, const char *type); 25 extern unsigned int figure_journal_size(int size, ext2_filsys fs); 26 extern void print_check_message(int, unsigned int); 27 extern void dump_mmp_msg(struct mmp_struct *mmp, const char *msg); 28