aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/mbrs.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-26 00:31:43 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-26 00:31:43 -0700
commita4af14c5e65f78d77e3b8b2b6673fc1b62e39f4e (patch)
tree72a241d6811573022c6ee7119d206690aaa7b9d4 /com32/gplinclude/disk/mbrs.h
parent039f904f20fa6d3cbdef637c9704188e0c6b08a5 (diff)
downloadsyslinux-a4af14c5e65f78d77e3b8b2b6673fc1b62e39f4e.tar.gz
syslinux-a4af14c5e65f78d77e3b8b2b6673fc1b62e39f4e.tar.xz
syslinux-a4af14c5e65f78d77e3b8b2b6673fc1b62e39f4e.zip
gpllib: rename bootloader detection to MBR detection
bootloaders.c really inspects the MBR, not the bootloader itself. Let's not confuse the two of them. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/disk/mbrs.h')
-rw-r--r--com32/gplinclude/disk/mbrs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/com32/gplinclude/disk/mbrs.h b/com32/gplinclude/disk/mbrs.h
new file mode 100644
index 00000000..bb604267
--- /dev/null
+++ b/com32/gplinclude/disk/mbrs.h
@@ -0,0 +1,18 @@
+/* ----------------------------------------------------------------------- *
+ *
+ * Copyright 2009 Pierre-Alexandre Meyer
+ *
+ * This file is part of Syslinux, and is made available under
+ * the terms of the GNU General Public License version 2.
+ *
+ * ----------------------------------------------------------------------- */
+
+#ifndef __BOOTLOADERS_H_
+#define __BOOTLOADERS_H_
+
+#include <stdint.h>
+#include <disk/geom.h>
+
+void get_mbr_string(const uint32_t, void *, const int);
+uint32_t get_mbr_id(const struct driveinfo *);
+#endif /* _BOOTLOADERS_H_ */