mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
Added monojob controller in lieu of a full working shell.
This commit is contained in:
@@ -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 );
|
||||
|
||||
15
src/include/gpxe/monojob.h
Normal file
15
src/include/gpxe/monojob.h
Normal 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 */
|
||||
Reference in New Issue
Block a user