travis: Enable ppc64le Travis builds
[petitboot] / discover / sysinfo.h
index d8ba33db9fd12c4faddfb0ea5711ad2cb0867c48..835dfbe949811f7978e9b4ed9a63bd0cdabbf924 100644 (file)
@@ -7,12 +7,16 @@ 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);
+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 */