util.h 843 B

123456789101112131415161718192021
  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. extern void proceed_question(void);
  13. extern void check_plausibility(const char *device, int force);
  14. extern void parse_journal_opts(char **, int *, int *, const char *opts);
  15. extern void check_mount(const char *device, int force, const char *type);
  16. extern int figure_journal_size(int size, ext2_filsys fs);
  17. extern void print_check_message(ext2_filsys fs);
  18. extern void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int force);
  19. extern void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, int quiet);
  20. extern char *e2fs_set_sbin_path(void);