discover/pxe-parser: Parse simple iPXE scripts
[petitboot] / discover / sysinfo.h
index 7181c99cd42080cf7edd1a6e327b048e617bae48..835dfbe949811f7978e9b4ed9a63bd0cdabbf924 100644 (file)
@@ -7,12 +7,16 @@ 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,
                const char *name, bool link);
 void system_info_register_blockdev(const char *name, const char *uuid,
                const char *mountpoint);
 
 void system_info_init(struct discover_server *server);
+void system_info_reinit(void);
 
 #endif /* SYSINFO_H */