mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-06 15:35:22 +00:00

lots of OS-specific code to iterate over all possible devices, we use it in a number of scripts to discover devices and reimplementing those in terms of something else would be very complicated.
12 lines
379 B
C
12 lines
379 B
C
#ifndef GRUB_DEVICEITER_MACHINE_UTIL_HEADER
|
|
#define GRUB_DEVICEITER_MACHINE_UTIL_HEADER 1
|
|
|
|
#include <config.h>
|
|
|
|
void grub_util_iterate_devices (int NESTED_FUNC_ATTR (*hook) (const char *, int),
|
|
int floppy_disks);
|
|
void grub_util_emit_devicemap_entry (FILE *fp, char *name, int is_floppy,
|
|
int *num_fd, int *num_hd);
|
|
|
|
#endif /* ! GRUB_DEVICEITER_MACHINE_UTIL_HEADER */
|