summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/monojob.h
diff options
context:
space:
mode:
authorMichael Brown2008-06-12 22:47:19 +0200
committerMichael Brown2010-06-22 15:40:09 +0200
commita03dd97e6b4c6d1d30ac9dc7e63f87402434d9bc (patch)
treeb02a2bf151bfd212bea20ae7ac208c64157a0895 /src/include/ipxe/monojob.h
parent[interface] Expand object interface to allow for polymorphic interfaces (diff)
downloadipxe-a03dd97e6b4c6d1d30ac9dc7e63f87402434d9bc.tar.gz
ipxe-a03dd97e6b4c6d1d30ac9dc7e63f87402434d9bc.tar.xz
ipxe-a03dd97e6b4c6d1d30ac9dc7e63f87402434d9bc.zip
[interface] Convert all job-control interfaces to generic interfaces
Remove job-control as an interface type, and replace job-control interfaces with generic interfaces supporting the close() method. (Both done() and kill() are absorbed into the function of close(); kill() is merely close(-ECANCELED).) Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/monojob.h')
-rw-r--r--src/include/ipxe/monojob.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/ipxe/monojob.h b/src/include/ipxe/monojob.h
index b2f3dfde9..3d8b31c0e 100644
--- a/src/include/ipxe/monojob.h
+++ b/src/include/ipxe/monojob.h
@@ -9,9 +9,10 @@
FILE_LICENCE ( GPL2_OR_LATER );
-struct job_interface;
+struct interface;
+
+extern struct interface monojob;
-extern struct job_interface monojob;
extern int monojob_wait ( const char *string );
#endif /* _IPXE_MONOJOB_H */