blob: 506c3eb14ecfd2e4e21deab36f0dbf4dadc8f4d0 [file] [log] [blame]
#ifndef _USR_IMGMGMT_H
#define _USR_IMGMGMT_H
/** @file
*
* Image management
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/image.h>
extern int imgdownload ( struct uri *uri, unsigned long timeout,
struct image **image );
extern int imgdownload_string ( const char *uri_string, unsigned long timeout,
struct image **image );
extern int imgacquire ( const char *name, unsigned long timeout,
struct image **image );
extern void imgstat ( struct image *image );
extern int imgmem ( const char *name, const void *data, size_t len );
#endif /* _USR_IMGMGMT_H */