iPXE
imgmgmt.h
Go to the documentation of this file.
1 #ifndef _USR_IMGMGMT_H
2 #define _USR_IMGMGMT_H
3 
4 /** @file
5  *
6  * Image management
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 #include <ipxe/image.h>
14 
15 extern int imgdownload ( struct uri *uri, unsigned long timeout,
16  struct image **image );
17 extern int imgdownload_string ( const char *uri_string, unsigned long timeout,
18  struct image **image );
19 extern int imgacquire ( const char *name, unsigned long timeout,
20  struct image **image );
21 extern void imgstat ( struct image *image );
22 extern int imgmem ( const char *name, const void *data, size_t len );
23 
24 #endif /* _USR_IMGMGMT_H */
const char * name
Definition: ath9k_hw.c:1986
int imgdownload(struct uri *uri, unsigned long timeout, struct image **image)
Download a new image.
Definition: imgmgmt.c:53
int imgacquire(const char *name, unsigned long timeout, struct image **image)
Acquire an image.
Definition: imgmgmt.c:143
An executable image.
Definition: image.h:24
int imgdownload_string(const char *uri_string, unsigned long timeout, struct image **image)
Download a new image.
Definition: imgmgmt.c:121
Executable images.
FILE_SECBOOT(PERMITTED)
ring len
Length.
Definition: dwmac.h:231
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int imgmem(const char *name, const void *data, size_t len)
Create image from block of memory.
Definition: imgmgmt.c:189
void imgstat(struct image *image)
Display status of an image.
Definition: imgmgmt.c:160
uint8_t data[48]
Additional event data.
Definition: ena.h:22
A Uniform Resource Identifier.
Definition: uri.h:65
void timeout(int)