From 475d6d1f7c7f169a89ea363ad819b0dd2975ae10 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jan 2007 08:02:27 +0000 Subject: fetch() now knows nothing about struct image; it simply loads a file and returns the allocated buffer. --- src/include/usr/fetch.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include/usr') diff --git a/src/include/usr/fetch.h b/src/include/usr/fetch.h index e7c035be5..372f6f8cd 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 +#include + +extern int fetch ( const char *filename, userptr_t *data, size_t *len ); #endif /* _USR_FETCH_H */ -- cgit v1.2.3-55-g7522