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 17 #ifndef HAVE_STRCASECMP 18 extern int strcasecmp (char *s1, char *s2); 19 #endif 20 extern char *get_progname(char *argv_zero); 21 extern void proceed_question(void); 22 extern void check_plausibility(const char *device); 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(ext2_filsys fs); 27