Add basic "fetch" and "imgstat" commands.

This commit is contained in:
Michael Brown
2007-01-12 06:05:27 +00:00
parent b9fea9cbac
commit 9817f93094
7 changed files with 387 additions and 0 deletions

13
src/include/usr/fetch.h Normal file
View File

@@ -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 */

12
src/include/usr/imgmgmt.h Normal file
View File

@@ -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 */