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

#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, enum conf_method method)
{
	(void)ctx;
	(void)method;
	assert(false);
}

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