aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/sanboot.h14
-rw-r--r--src/include/usr/aoeboot.h6
-rw-r--r--src/include/usr/iscsiboot.h6
3 files changed, 14 insertions, 12 deletions
diff --git a/src/include/gpxe/sanboot.h b/src/include/gpxe/sanboot.h
new file mode 100644
index 000000000..ea26a3562
--- /dev/null
+++ b/src/include/gpxe/sanboot.h
@@ -0,0 +1,14 @@
+#ifndef _GPXE_SANBOOT_H
+#define _GPXE_SANBOOT_H
+
+#include <gpxe/tables.h>
+
+struct sanboot_protocol {
+ const char *prefix;
+ int ( * boot ) ( const char *root_path );
+};
+
+#define __sanboot_protocol \
+ __table ( struct sanboot_protocol, sanboot_protocols, 01 )
+
+#endif /* _GPXE_SANBOOT_H */
diff --git a/src/include/usr/aoeboot.h b/src/include/usr/aoeboot.h
deleted file mode 100644
index 0421ebcc0..000000000
--- a/src/include/usr/aoeboot.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _USR_AOEBOOT_H
-#define _USR_AOEBOOT_H
-
-extern int aoeboot ( const char *root_path );
-
-#endif /* _USR_AOEBOOT_H */
diff --git a/src/include/usr/iscsiboot.h b/src/include/usr/iscsiboot.h
deleted file mode 100644
index b17951d56..000000000
--- a/src/include/usr/iscsiboot.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _USR_ISCSIBOOT_H
-#define _USR_ISCSIBOOT_H
-
-extern int iscsiboot ( const char *root_path );
-
-#endif /* _USR_ISCSIBOOT_H */