sysinfo: Add interface link status to sysinfo data
[petitboot] / discover / sysinfo.h
1 #ifndef SYSINFO_H
2 #define SYSINFO_H
3
4 #include <types/types.h>
5
6 struct discover_server;
7
8 const struct system_info *system_info_get(void);
9
10 void system_info_register_interface(unsigned int hwaddr_size, uint8_t *hwaddr,
11                 const char *name, bool link);
12 void system_info_register_blockdev(const char *name, const char *uuid,
13                 const char *mountpoint);
14
15 void system_info_init(struct discover_server *server);
16
17 #endif /* SYSINFO_H */
18