diff options
| author | Michael Brown | 2007-01-12 07:05:27 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-12 07:05:27 +0100 |
| commit | 9817f9309496e7620dd87610c9d0bef8d840ccee (patch) | |
| tree | 9c16ad3d045252080d8fb6df9927bf9cff975a9e /src/include/usr | |
| parent | Added IMAGE_LOADED flag and find_image() (diff) | |
| download | ipxe-9817f9309496e7620dd87610c9d0bef8d840ccee.tar.gz ipxe-9817f9309496e7620dd87610c9d0bef8d840ccee.tar.xz ipxe-9817f9309496e7620dd87610c9d0bef8d840ccee.zip | |
Add basic "fetch" and "imgstat" commands.
Diffstat (limited to 'src/include/usr')
| -rw-r--r-- | src/include/usr/fetch.h | 13 | ||||
| -rw-r--r-- | src/include/usr/imgmgmt.h | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/include/usr/fetch.h b/src/include/usr/fetch.h new file mode 100644 index 000000000..e7c035be5 --- /dev/null +++ b/src/include/usr/fetch.h @@ -0,0 +1,13 @@ +#ifndef _USR_FETCH_H +#define _USR_FETCH_H + +/** + * @file + * + * Fetch file as executable/loadable image + * + */ + +extern int fetch ( struct image *image, const char *filename ); + +#endif /* _USR_FETCH_H */ diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h new file mode 100644 index 000000000..da58ffb18 --- /dev/null +++ b/src/include/usr/imgmgmt.h @@ -0,0 +1,12 @@ +#ifndef _USR_IMGMGMT_H +#define _USR_IMGMGMT_H + +/** @file + * + * Image management + * + */ + +extern void imgstat ( struct image *image ); + +#endif /* _USR_IMGMGMT_H */ |
