summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/gpxe/src/include/usr
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/gpxe/src/include/usr')
-rw-r--r--contrib/syslinux-4.02/gpxe/src/include/usr/autoboot.h25
-rw-r--r--contrib/syslinux-4.02/gpxe/src/include/usr/dhcpmgmt.h17
-rw-r--r--contrib/syslinux-4.02/gpxe/src/include/usr/ifmgmt.h19
-rw-r--r--contrib/syslinux-4.02/gpxe/src/include/usr/imgmgmt.h22
-rw-r--r--contrib/syslinux-4.02/gpxe/src/include/usr/iwmgmt.h17
-rw-r--r--contrib/syslinux-4.02/gpxe/src/include/usr/route.h14
6 files changed, 114 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/gpxe/src/include/usr/autoboot.h b/contrib/syslinux-4.02/gpxe/src/include/usr/autoboot.h
new file mode 100644
index 0000000..a918020
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/include/usr/autoboot.h
@@ -0,0 +1,25 @@
+#ifndef _USR_AUTOBOOT_H
+#define _USR_AUTOBOOT_H
+
+/** @file
+ *
+ * Automatic booting
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <gpxe/in.h>
+struct net_device;
+
+extern int shutdown_exit_flags;
+
+extern void autoboot ( void );
+extern int boot_next_server_and_filename ( struct in_addr next_server,
+ const char *filename );
+extern int boot_root_path ( const char *root_path );
+
+extern int pxe_menu_boot ( struct net_device *netdev )
+ __attribute__ (( weak ));
+
+#endif /* _USR_AUTOBOOT_H */
diff --git a/contrib/syslinux-4.02/gpxe/src/include/usr/dhcpmgmt.h b/contrib/syslinux-4.02/gpxe/src/include/usr/dhcpmgmt.h
new file mode 100644
index 0000000..2394dac
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/include/usr/dhcpmgmt.h
@@ -0,0 +1,17 @@
+#ifndef _USR_DHCPMGMT_H
+#define _USR_DHCPMGMT_H
+
+/** @file
+ *
+ * DHCP management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct net_device;
+
+extern int dhcp ( struct net_device *netdev );
+extern int pxebs ( struct net_device *netdev, unsigned int pxe_type );
+
+#endif /* _USR_DHCPMGMT_H */
diff --git a/contrib/syslinux-4.02/gpxe/src/include/usr/ifmgmt.h b/contrib/syslinux-4.02/gpxe/src/include/usr/ifmgmt.h
new file mode 100644
index 0000000..f762c7b
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/include/usr/ifmgmt.h
@@ -0,0 +1,19 @@
+#ifndef _USR_IFMGMT_H
+#define _USR_IFMGMT_H
+
+/** @file
+ *
+ * Network interface management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct net_device;
+
+extern int ifopen ( struct net_device *netdev );
+extern void ifclose ( struct net_device *netdev );
+extern void ifstat ( struct net_device *netdev );
+extern int iflinkwait ( struct net_device *netdev, unsigned int max_wait_ms );
+
+#endif /* _USR_IFMGMT_H */
diff --git a/contrib/syslinux-4.02/gpxe/src/include/usr/imgmgmt.h b/contrib/syslinux-4.02/gpxe/src/include/usr/imgmgmt.h
new file mode 100644
index 0000000..0c8c8cf
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/include/usr/imgmgmt.h
@@ -0,0 +1,22 @@
+#ifndef _USR_IMGMGMT_H
+#define _USR_IMGMGMT_H
+
+/** @file
+ *
+ * Image management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct image;
+
+extern int imgfetch ( struct image *image, const char *uri_string,
+ int ( * image_register ) ( struct image *image ) );
+extern int imgload ( struct image *image );
+extern int imgexec ( struct image *image );
+extern struct image * imgautoselect ( void );
+extern void imgstat ( struct image *image );
+extern void imgfree ( struct image *image );
+
+#endif /* _USR_IMGMGMT_H */
diff --git a/contrib/syslinux-4.02/gpxe/src/include/usr/iwmgmt.h b/contrib/syslinux-4.02/gpxe/src/include/usr/iwmgmt.h
new file mode 100644
index 0000000..c1bdc37
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/include/usr/iwmgmt.h
@@ -0,0 +1,17 @@
+#ifndef _USR_IWMGMT_H
+#define _USR_IWMGMT_H
+
+/** @file
+ *
+ * Wireless network interface management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct net80211_device;
+
+extern void iwstat ( struct net80211_device *dev );
+extern int iwlist ( struct net80211_device *dev );
+
+#endif /* _USR_IWMGMT_H */
diff --git a/contrib/syslinux-4.02/gpxe/src/include/usr/route.h b/contrib/syslinux-4.02/gpxe/src/include/usr/route.h
new file mode 100644
index 0000000..855fa7b
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/include/usr/route.h
@@ -0,0 +1,14 @@
+#ifndef _USR_ROUTE_H
+#define _USR_ROUTE_H
+
+/** @file
+ *
+ * Routing table management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+extern void route ( void );
+
+#endif /* _USR_ROUTE_H */