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

@@ -34,6 +34,14 @@ void job_done ( struct job_interface *job, int rc ) {
job_put ( dest );
}
void job_kill ( struct job_interface *job ) {
struct job_interface *dest = job_get_dest ( job );
dest->op->kill ( dest );
job_unplug ( job );
job_put ( dest );
}
/****************************************************************************
*
* Helper methods