summaryrefslogtreecommitdiffstats
path: root/test/parser/handler.c
blob: d9057eb56c60fd5bff19e937e80a4bf43abd0ab6 (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

#include <assert.h>

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

#include "device-handler.h"

typedef void (*boot_status_fn)(void *arg, struct boot_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 boot_status *status)
{
	(void)server;
	(void)status;
}

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;
}
OpenPOWER on IntegriCloud