summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/fetch.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/usr/fetch.h b/src/include/usr/fetch.h
index e7c035be..372f6f8c 100644
--- a/src/include/usr/fetch.h
+++ b/src/include/usr/fetch.h
@@ -4,10 +4,13 @@
/**
* @file
*
- * Fetch file as executable/loadable image
+ * Fetch file
*
*/
-extern int fetch ( struct image *image, const char *filename );
+#include <stdint.h>
+#include <gpxe/uaccess.h>
+
+extern int fetch ( const char *filename, userptr_t *data, size_t *len );
#endif /* _USR_FETCH_H */