]> git.ozlabs.org Git - petitboot/blobdiff - discover/sysinfo.h
Add system info messages
[petitboot] / discover / sysinfo.h
diff --git a/discover/sysinfo.h b/discover/sysinfo.h
new file mode 100644 (file)
index 0000000..2764784
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef SYSINFO_H
+#define SYSINFO_H
+
+#include <types/types.h>
+
+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_init(struct discover_server *server);
+
+#endif /* SYSINFO_H */
+