From 34b6ecb2f1d7940a0065cbabd6f9dcd439b4c841 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 7 Mar 2011 00:37:50 +0000 Subject: [image] Simplify image management Refactor the {load,exec} image operations as {probe,exec}. This makes the probe mechanism cleaner, eliminates some forward declarations, avoids holding magic state in image->priv, eliminates the possibility of screwing up between the "load" and "exec" stages, and makes the documentation simpler since the concept of "loading" (as distinct from "executing") no longer needs to be explained. Signed-off-by: Michael Brown --- src/core/downloader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/downloader.c') diff --git a/src/core/downloader.c b/src/core/downloader.c index 6e107bee6..4dc0aa02a 100644 --- a/src/core/downloader.c +++ b/src/core/downloader.c @@ -218,8 +218,7 @@ static struct interface_descriptor downloader_job_desc = * @ret rc Return status code * * Instantiates a downloader object to download the specified URI into - * the specified image object. If the download is successful, the - * image registration routine @c register_image() will be called. + * the specified image object. */ int create_downloader ( struct interface *job, struct image *image, int type, ... ) { -- cgit v1.2.3-55-g7522