~hamo/ubuntu/precise/grub2/grub2.hi_res

« back to all changes in this revision

Viewing changes to include/grub/normal.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Colin Watson, Robert Millan, Updated translations
  • Date: 2010-11-22 12:24:56 UTC
  • mfrom: (1.26.4 upstream) (17.3.36 sid)
  • mto: (17.3.43 sid)
  • mto: This revision was merged to the branch mainline in revision 89.
  • Revision ID: james.westby@ubuntu.com-20101122122456-y82z3sfb7k4zfdcc
Tags: 1.99~20101122-1
[ Colin Watson ]
* New Bazaar snapshot.  Too many changes to list in full, but some of the
  more user-visible ones are as follows:
  - GRUB script:
    + Function parameters, "break", "continue", "shift", "setparams",
      "return", and "!".
    + "export" command supports multiple variable names.
    + Multi-line quoted strings support.
    + Wildcard expansion.
  - sendkey support.
  - USB hotunplugging and USB serial support.
  - Rename CD-ROM to cd on BIOS.
  - Add new --boot-directory option to grub-install, grub-reboot, and
    grub-set-default; the old --root-directory option is still accepted
    but was often confusing.
  - Basic btrfs detection/UUID support (but no file reading yet).
  - bash-completion for utilities.
  - If a device is listed in device.map, always assume that it is
    BIOS-visible rather than using extra layers such as LVM or RAID.
  - Add grub-mknetdir script (closes: #550658).
  - Remove deprecated "root" command.
  - Handle RAID devices containing virtio components.
  - GRUB Legacy configuration file support (via grub-menulst2cfg).
  - Keyboard layout support (via grub-mklayout and grub-kbdcomp).
  - Check generated grub.cfg for syntax errors before saving.
  - Pause execution for at most ten seconds if any errors are displayed,
    so that the user has a chance to see them.
  - Support submenus.
  - Write embedding zone using Reed-Solomon, so that it's robust against
    being partially overwritten (closes: #550702, #591416, #593347).
  - GRUB_DISABLE_LINUX_RECOVERY and GRUB_DISABLE_NETBSD_RECOVERY merged
    into a single GRUB_DISABLE_RECOVERY variable.
  - Fix loader memory allocation failure (closes: #551627).
  - Don't call savedefault on recovery entries (closes: #589325).
  - Support triple-indirect blocks on ext2 (closes: #543924).
  - Recognise DDF1 fake RAID (closes: #603354).

[ Robert Millan ]
* Use dpkg architecture wildcards.

[ Updated translations ]
* Slovenian (Vanja Cvelbar).  Closes: #604003
* Dzongkha (dawa pemo via Tenzin Dendup).  Closes: #604102

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
void grub_menu_init_page (int nested, int edit,
55
55
                          struct grub_term_output *term);
56
56
void grub_normal_init_page (struct grub_term_output *term);
57
 
grub_err_t grub_normal_add_menu_entry (int argc, const char **args,
58
 
                                       const char *sourcecode);
59
57
char *grub_file_getline (grub_file_t file);
60
58
void grub_cmdline_run (int nested);
61
59
 
73
71
/* Defined in `color.c'.  */
74
72
char *grub_env_write_color_normal (struct grub_env_var *var, const char *val);
75
73
char *grub_env_write_color_highlight (struct grub_env_var *var, const char *val);
76
 
void grub_parse_color_name_pair (grub_uint8_t *ret, const char *name);
 
74
int grub_parse_color_name_pair (grub_uint8_t *ret, const char *name);
77
75
 
78
76
/* Defined in `menu_text.c'.  */
79
77
void grub_wait_after_message (void);
80
 
void grub_print_ucs4 (const grub_uint32_t * str,
81
 
                      const grub_uint32_t * last_position,
82
 
                      struct grub_term_output *term);
 
78
void
 
79
grub_print_ucs4 (const grub_uint32_t * str,
 
80
                 const grub_uint32_t * last_position,
 
81
                 int margin_left, int margin_right,
 
82
                 struct grub_term_output *term);
83
83
grub_ssize_t grub_getstringwidth (grub_uint32_t * str,
84
84
                                  const grub_uint32_t * last_position,
85
85
                                  struct grub_term_output *term);
96
96
void free_handler_list (void);
97
97
 
98
98
/* Defined in `dyncmd.c'.  */
99
 
void read_command_list (void);
 
99
void read_command_list (const char *prefix);
100
100
 
101
101
/* Defined in `autofs.c'.  */
102
 
void read_fs_list (void);
 
102
void read_fs_list (const char *prefix);
103
103
 
104
104
void grub_context_init (void);
105
105
void grub_context_fini (void);
106
106
 
107
 
void read_crypto_list (void);
 
107
void read_crypto_list (const char *prefix);
108
108
 
109
 
void read_terminal_list (void);
 
109
void read_terminal_list (const char *prefix);
110
110
 
111
111
void grub_set_more (int onoff);
112
112
 
113
 
#ifdef GRUB_UTIL
114
 
void grub_normal_init (void);
115
 
void grub_normal_fini (void);
116
 
void grub_hello_init (void);
117
 
void grub_hello_fini (void);
118
 
void grub_ls_init (void);
119
 
void grub_ls_fini (void);
120
 
void grub_cat_init (void);
121
 
void grub_cat_fini (void);
122
 
void grub_boot_init (void);
123
 
void grub_boot_fini (void);
124
 
void grub_cmp_init (void);
125
 
void grub_cmp_fini (void);
126
 
void grub_terminal_init (void);
127
 
void grub_terminal_fini (void);
128
 
void grub_loop_init (void);
129
 
void grub_loop_fini (void);
130
 
void grub_help_init (void);
131
 
void grub_help_fini (void);
132
 
void grub_halt_init (void);
133
 
void grub_halt_fini (void);
134
 
void grub_reboot_init (void);
135
 
void grub_reboot_fini (void);
136
 
void grub_configfile_init (void);
137
 
void grub_configfile_fini (void);
138
 
void grub_search_init (void);
139
 
void grub_search_fini (void);
140
 
void grub_test_init (void);
141
 
void grub_test_fini (void);
142
 
void grub_blocklist_init (void);
143
 
void grub_blocklist_fini (void);
144
 
#endif
 
113
void grub_normal_reset_more (void);
 
114
 
 
115
void grub_xputs_normal (const char *str);
 
116
 
 
117
extern int grub_extractor_level;
 
118
 
 
119
grub_err_t
 
120
grub_normal_add_menu_entry (int argc, const char **args, char **classes,
 
121
                            const char *users, const char *hotkey,
 
122
                            const char *prefix, const char *sourcecode,
 
123
                            int submenu);
 
124
 
 
125
grub_err_t
 
126
grub_normal_set_password (const char *user, const char *password);
 
127
 
 
128
void grub_normal_free_menu (grub_menu_t menu);
 
129
 
 
130
void grub_normal_auth_init (void);
 
131
void grub_normal_auth_fini (void);
145
132
 
146
133
#endif /* ! GRUB_NORMAL_HEADER */