summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/image.h2
-rw-r--r--src/include/usr/imgmgmt.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/include/ipxe/image.h b/src/include/ipxe/image.h
index 4c3877607..4fd270081 100644
--- a/src/include/ipxe/image.h
+++ b/src/include/ipxe/image.h
@@ -184,6 +184,8 @@ extern int image_replace ( struct image *replacement );
extern int image_select ( struct image *image );
extern struct image * image_find_selected ( void );
extern int image_set_trust ( int require_trusted, int permanent );
+extern struct image * image_memory ( const char *name, userptr_t data,
+ size_t len );
extern int image_pixbuf ( struct image *image, struct pixel_buffer **pixbuf );
extern int image_asn1 ( struct image *image, size_t offset,
struct asn1_cursor **cursor );
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index c59cf1a0b..14fb7cbc6 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -18,7 +18,6 @@ extern int imgdownload_string ( const char *uri_string, unsigned long timeout,
extern int imgacquire ( const char *name, unsigned long timeout,
struct image **image );
extern void imgstat ( struct image *image );
-extern int imgmem ( userptr_t data, size_t len, const char *name,
- struct image **image );
+extern int imgmem ( const char *name, userptr_t data, size_t len );
#endif /* _USR_IMGMGMT_H */