From 291f072b82f963b47a3a8842578c9a11244e509e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 28 Jun 2006 13:48:02 +0000 Subject: Add priority mechanism --- src/include/gpxe/dhcp.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 6d2939353..26016cf81 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -84,4 +84,13 @@ struct dhcp_option_block { size_t len; }; +extern unsigned long dhcp_num_option ( struct dhcp_option *option ); +extern struct dhcp_option * find_dhcp_option ( unsigned int tag, + struct dhcp_option_block *options ); + +static inline unsigned long +find_dhcp_num_option ( unsigned int tag, struct dhcp_option_block *options ) { + return dhcp_num_option ( find_dhcp_option ( tag, options ) ); +} + #endif /* _GPXE_DHCP_H */ -- cgit v1.2.3-55-g7522