Abstract uses of get_option_data() outside of ifchange.c and options.c.

The eventual goal is to eliminate uses of get_option_data() in ifchange.c and
will make it a static function in options.c.
This commit is contained in:
Nicholas J. Kain
2011-07-26 01:04:59 -04:00
parent ea5d472424
commit d00922df51
5 changed files with 65 additions and 26 deletions

View File

@ -82,4 +82,9 @@ void add_option_vendor(struct dhcpmsg *packet);
void add_option_clientid(struct dhcpmsg *packet);
void add_option_hostname(struct dhcpmsg *packet);
uint32_t get_option_router(struct dhcpmsg *packet);
uint8_t get_option_msgtype(struct dhcpmsg *packet);
uint32_t get_option_serverid(struct dhcpmsg *packet, int *found);
uint32_t get_option_leasetime(struct dhcpmsg *packet);
#endif