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
|
#include <assert.h>
#include <talloc/talloc.h>
#include <types/types.h>
#include "device-handler.h"
struct network;
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 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;
}
|