normal.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* normal.h - prototypes for the normal mode */
  2. /*
  3. * GRUB -- GRand Unified Bootloader
  4. * Copyright (C) 2002,2003,2005,2006,2007,2008,2009 Free Software Foundation, Inc.
  5. *
  6. * GRUB is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * GRUB is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #ifndef GRUB_NORMAL_HEADER
  20. #define GRUB_NORMAL_HEADER 1
  21. extern int grub_normal_exit_level;
  22. /* Defined in `handler.c'. */
  23. void read_handler_list (void);
  24. void free_handler_list (void);
  25. /* Defined in `dyncmd.c'. */
  26. void read_command_list (const char *prefix);
  27. /* Defined in `autofs.c'. */
  28. void read_fs_list (const char *prefix);
  29. void grub_context_init (void);
  30. void grub_context_fini (void);
  31. void read_crypto_list (const char *prefix);
  32. void read_terminal_list (const char *prefix);
  33. void grub_set_more (int onoff);
  34. int grub_normal_get_line_counter (void);
  35. void grub_install_newline_hook (void);
  36. #endif /* ! GRUB_NORMAL_HEADER */