discover/sysinfo: Add network availability helper
[petitboot] / discover / sysinfo.h
index c570951db312e3c3385d5d66ce91ff7c9ff165c3..835dfbe949811f7978e9b4ed9a63bd0cdabbf924 100644 (file)
@@ -7,6 +7,7 @@ struct discover_server;
 
 const struct system_info *system_info_get(void);
 
+bool system_info_network_available(void);
 void system_info_set_interface_address(unsigned int hwaddr_size,
                uint8_t *hwaddr, const char *address);
 void system_info_register_interface(unsigned int hwaddr_size, uint8_t *hwaddr,