util.h 868 B

12345678910111213141516171819202122
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * util.h --- header file defining prototypes for helper functions
  4. * used by tune2fs and mke2fs
  5. *
  6. * Copyright 2000 by Theodore Ts'o.
  7. *
  8. * %Begin-Header%
  9. * This file may be redistributed under the terms of the GNU Public
  10. * License.
  11. * %End-Header%
  12. */
  13. extern void proceed_question(void);
  14. extern void check_plausibility(const char *device, int force);
  15. extern void parse_journal_opts(char **, int *, int *, const char *opts);
  16. extern void check_mount(const char *device, int force, const char *type);
  17. extern int figure_journal_size(int size, ext2_filsys fs);
  18. extern void print_check_message(ext2_filsys fs);
  19. extern void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int force);
  20. extern void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, int quiet);
  21. extern char *e2fs_set_sbin_path(void);