summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/usr/imgmgmt.h
blob: 806df0bfbcdf67e31009ad5e607fc6d450f32c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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 );

#endif /* _USR_IMGMGMT_H */