File: deviceiter.h

package info (click to toggle)
grub2 2.02~beta3-5%2Bdeb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 56,628 kB
  • sloc: ansic: 378,677; asm: 16,270; sh: 13,174; cpp: 1,991; python: 1,458; makefile: 1,407; sed: 423; lex: 393; yacc: 267; awk: 75; lisp: 50; perl: 31
file content (14 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef GRUB_DEVICEITER_MACHINE_UTIL_HEADER
#define GRUB_DEVICEITER_MACHINE_UTIL_HEADER	1

#include <config.h>

typedef int (*grub_util_iterate_devices_hook_t) (const char *name,
						 int is_floppy, void *data);

void grub_util_iterate_devices (grub_util_iterate_devices_hook_t hook,
				void *hook_data, 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 */