Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / usr / imgmgmt.h
diff --git a/qemu/roms/ipxe/src/include/usr/imgmgmt.h b/qemu/roms/ipxe/src/include/usr/imgmgmt.h
new file mode 100644 (file)
index 0000000..5e25c56
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef _USR_IMGMGMT_H
+#define _USR_IMGMGMT_H
+
+/** @file
+ *
+ * Image management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#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 */