summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/dhcp.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/dhcp.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/dhcp.h')
-rw-r--r--src/include/ipxe/dhcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/dhcp.h b/src/include/ipxe/dhcp.h
index bbbe73d2c..d07da3782 100644
--- a/src/include/ipxe/dhcp.h
+++ b/src/include/ipxe/dhcp.h
@@ -18,7 +18,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/netdevice.h>
#include <ipxe/uaccess.h>
-struct job_interface;
+struct interface;
struct dhcp_options;
struct dhcp_packet;
@@ -622,8 +622,8 @@ extern int dhcp_create_request ( struct dhcp_packet *dhcppkt,
struct net_device *netdev,
unsigned int msgtype, struct in_addr ciaddr,
void *data, size_t max_len );
-extern int start_dhcp ( struct job_interface *job, struct net_device *netdev );
-extern int start_pxebs ( struct job_interface *job, struct net_device *netdev,
+extern int start_dhcp ( struct interface *job, struct net_device *netdev );
+extern int start_pxebs ( struct interface *job, struct net_device *netdev,
unsigned int pxe_type );
/* In environments that can provide cached DHCP packets, this function