mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
fetch() now knows nothing about struct image; it simply loads a file and
returns the allocated buffer.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user