summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-06-28 15:53:12 +0200
committerMichael Brown2007-06-28 15:53:12 +0200
commit6209d20779b48e19213715fecf3bc7014de8c401 (patch)
treedee50c5d38016026e311e6cec50cdac2207e642e /src/include
parentForgot to set initial session state. Now works! (diff)
downloadipxe-6209d20779b48e19213715fecf3bc7014de8c401.tar.gz
ipxe-6209d20779b48e19213715fecf3bc7014de8c401.tar.xz
ipxe-6209d20779b48e19213715fecf3bc7014de8c401.zip
Added monojob controller in lieu of a full working shell.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/job.h1
-rw-r--r--src/include/gpxe/monojob.h15
2 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gpxe/job.h b/src/include/gpxe/job.h
index 3190fa212..8e11aa337 100644
--- a/src/include/gpxe/job.h
+++ b/src/include/gpxe/job.h
@@ -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 );
diff --git a/src/include/gpxe/monojob.h b/src/include/gpxe/monojob.h
new file mode 100644
index 000000000..f6cebb6b8
--- /dev/null
+++ b/src/include/gpxe/monojob.h
@@ -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 */