summaryrefslogtreecommitdiffstats
path: root/discover/sysinfo.h
blob: 19ed95077d247917eceff5875e4d1b751361e74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SYSINFO_H
#define SYSINFO_H

#include <types/types.h>

struct discover_server;

const struct system_info *system_info_get(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);

#endif /* SYSINFO_H */

OpenPOWER on IntegriCloud