summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/PC/ipxe/src/include/usr/imgmgmt.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/VBox/Devices/PC/ipxe/src/include/usr/imgmgmt.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/VBox/Devices/PC/ipxe/src/include/usr/imgmgmt.h b/src/VBox/Devices/PC/ipxe/src/include/usr/imgmgmt.h
new file mode 100644
index 00000000..806df0bf
--- /dev/null
+++ b/src/VBox/Devices/PC/ipxe/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_OR_UBDL );
+
+#include <ipxe/image.h>
+
+extern int imgdownload ( struct uri *uri, unsigned long timeout,
+ struct image **image );
+extern int imgdownload_string ( const char *uri_string, unsigned long timeout,
+ struct image **image );
+extern int imgacquire ( const char *name, unsigned long timeout,
+ struct image **image );
+extern void imgstat ( struct image *image );
+
+#endif /* _USR_IMGMGMT_H */