From d4947c05b27449b4320179d57028a0542fd1394f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 2 Aug 2007 20:18:32 +0100 Subject: Allow images to hold references to the originating URI. Some shuffling around of the image management code; this needs tidying up. --- src/include/usr/imgmgmt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/usr') diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h index b3cbffbc4..438af0039 100644 --- a/src/include/usr/imgmgmt.h +++ b/src/include/usr/imgmgmt.h @@ -9,7 +9,8 @@ struct image; -extern int imgfetch ( struct image *image, const char *filename, int load ); +extern int imgfetch ( struct image *image, const char *uri_string, + int ( * image_register ) ( struct image *image ) ); extern int imgload ( struct image *image ); extern int imgexec ( struct image *image ); extern struct image * imgautoselect ( void ); -- cgit v1.2.3-55-g7522