summaryrefslogtreecommitdiffstats
path: root/test/parser/handler.c
blob: a9856b494fe2d29048901690d1e0bb75800178c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118

#include <assert.h>

#include <talloc/talloc.h>
#include <types/types.h>

#include "device-handler.h"

struct network;
struct client;

typedef void (*boot_status_fn)(void *arg, struct status *);

void discover_server_notify_device_add(struct discover_server *server,
		struct device *device)
{
	(void)server;
	(void)device;
}

void discover_server_notify_boot_option_add(struct discover_server *server,
		struct boot_option *option)
{
	(void)server;
	(void)option;
}

void discover_server_notify_device_remove(struct discover_server *server,
		struct device *device)
{
	(void)server;
	(void)device;
}

void discover_server_notify_boot_status(struct discover_server *server,
		struct status *status)
{
	(void)server;
	(void)status;
}

void system_info_set_interface_address(unsigned int hwaddr_size,
		uint8_t *hwaddr, const char *address)
{
	(void)hwaddr_size;
	(void)hwaddr;
	(void)address;
}

void discover_server_notify_config(struct discover_server *server,
		struct config *config)
{
	(void)server;
	(void)config;
}

void system_info_register_blockdev(const char *name, const char *uuid,
		const char *mountpoint)
{
	(void)name;
	(void)uuid;
	(void)mountpoint;
}

void network_register_device(struct network *network,
		struct discover_device *dev)
{
	(void)network;
	(void)dev;
}

void network_unregister_device(struct network *network,
		struct discover_device *dev)
{
	(void)network;
	(void)dev;
}

void parser_init(void)
{
}

void iterate_parsers(struct discover_context *ctx)
{
	(void)ctx;
	assert(false);
}

struct boot_task *boot(void *ctx, struct discover_boot_option *opt,
		struct boot_command *cmd, int dry_run,
		boot_status_fn status_fn, void *status_arg)
{
	(void)ctx;
	(void)opt;
	(void)cmd;
	(void)dry_run;
	(void)status_fn;
	(void)status_arg;
	assert(false);
}

void boot_cancel(struct boot_task *task)
{
	(void)task;
}

void pending_network_jobs_start(void)
{
}

void pending_network_jobs_cancel(void)
{
}

void discover_server_notify_plugins_remove(struct discover_server *server)
{
	(void)server;
}
OpenPOWER on IntegriCloud