diff options
Diffstat (limited to 'include/grub/ata.h')
-rw-r--r-- | include/grub/ata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grub/ata.h b/include/grub/ata.h index efba7b7..e8a84b8 100644 --- a/include/grub/ata.h +++ b/include/grub/ata.h @@ -193,10 +193,12 @@ struct grub_ata typedef struct grub_ata *grub_ata_t; +typedef int (*grub_ata_dev_iterate_hook_t) (int id, int bus, void *data); + struct grub_ata_dev { /* Call HOOK with each device name, until HOOK returns non-zero. */ - int (*iterate) (int (*hook) (int id, int bus), + int (*iterate) (grub_ata_dev_iterate_hook_t hook, void *hook_data, grub_disk_pull_t pull); /* Open the device named NAME, and set up SCSI. */ |