From a03dd97e6b4c6d1d30ac9dc7e63f87402434d9bc Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 12 Jun 2008 21:47:19 +0100 Subject: [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 --- src/include/ipxe/dhcp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/ipxe/dhcp.h') 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 #include -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 -- cgit v1.2.3-55-g7522