add grub_env_set_net_property function

* grub-core/net/bootp.c: Remove set_env_limn_ro.
* grub-core/net/net.c: Add grub_env_set_net_property.
* include/grub/net.h: Likewise.
This commit is contained in:
Paulo Flabiano Smorigo 2014-02-04 18:41:38 -02:00
parent 006c78f378
commit e4dbf247b6
4 changed files with 66 additions and 47 deletions

View file

@ -480,6 +480,10 @@ grub_net_addr_to_str (const grub_net_network_level_address_t *target,
void
grub_net_hwaddr_to_str (const grub_net_link_level_address_t *addr, char *str);
grub_err_t
grub_env_set_net_property (const char *intername, const char *suffix,
const char *value, grub_size_t len);
void
grub_net_poll_cards (unsigned time, int *stop_condition);