~ubuntu-branches/ubuntu/trusty/grub2/trusty

« back to all changes in this revision

Viewing changes to include/grub/device.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-01-16 15:18:04 UTC
  • mfrom: (17.6.38 experimental)
  • Revision ID: package-import@ubuntu.com-20140116151804-3foouk7fpqcq3sxx
Tags: 2.02~beta2-2
* Convert patch handling to git-dpm.
* Add bi-endian support to ELF parser (Tomohiro B Berry).
* Adjust restore_mkdevicemap.patch to mark get_kfreebsd_version as static,
  to appease "gcc -Werror=missing-prototypes".
* Cherry-pick from upstream:
  - Change grub-macbless' manual page section to 8.
* Install grub-glue-efi, grub-macbless, grub-render-label, and
  grub-syslinux2cfg.
* grub-shell: Pass -no-pad to xorriso when building floppy images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
};
34
34
typedef struct grub_device *grub_device_t;
35
35
 
 
36
typedef int (*grub_device_iterate_hook_t) (const char *name, void *data);
 
37
 
36
38
grub_device_t EXPORT_FUNC(grub_device_open) (const char *name);
37
39
grub_err_t EXPORT_FUNC(grub_device_close) (grub_device_t device);
38
 
int EXPORT_FUNC(grub_device_iterate) (int (*hook) (const char *name));
 
40
int EXPORT_FUNC(grub_device_iterate) (grub_device_iterate_hook_t hook,
 
41
                                      void *hook_data);
39
42
 
40
43
#endif /* ! GRUB_DEVICE_HEADER */