discover: Determine connectivity with getaddrinfo()
[petitboot] / discover / sysinfo.h
index 2764784d57c0900b321625e2298a27ad4efdb266..c570951db312e3c3385d5d66ce91ff7c9ff165c3 100644 (file)
@@ -7,10 +7,15 @@ struct discover_server;
 
 const struct system_info *system_info_get(void);
 
-void system_info_register_interface(unsigned hwaddr_size, uint8_t *hwaddr,
-               const char *name);
+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 */