Added monojob controller in lieu of a full working shell.

This commit is contained in:
Michael Brown
2007-06-28 14:53:12 +01:00
parent cf33b568dc
commit 6209d20779
4 changed files with 102 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ extern struct job_interface null_job;
extern struct job_interface_operations null_job_ops;
extern void job_done ( struct job_interface *job, int rc );
extern void job_kill ( struct job_interface *job );
extern void ignore_job_done ( struct job_interface *job, int rc );
extern void ignore_job_kill ( struct job_interface *job );

View File

@@ -0,0 +1,15 @@
#ifndef _GPXE_MONOJOB_H
#define _GPXE_MONOJOB_H
/** @file
*
* Single foreground job
*
*/
struct job_interface;
extern struct job_interface monojob;
extern int monojob_wait ( void );
#endif /* _GPXE_MONOJOB_H */