]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/generator.h
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / shared / generator.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
e48fdd84
LP
2#pragma once
3
e48fdd84
LP
4#include <stdio.h>
5
fb883e75
ZJS
6int generator_open_unit_file(
7 const char *dest,
8 const char *source,
9 const char *name,
10 FILE **file);
11
b559616f
ZJS
12int generator_add_symlink(const char *root, const char *dst, const char *dep_type, const char *src);
13
2e852276
ZJS
14int generator_write_fsck_deps(
15 FILE *f,
16 const char *dir,
17 const char *what,
18 const char *where,
19 const char *type);
20
21int generator_write_timeouts(
22 const char *dir,
23 const char *what,
24 const char *where,
25 const char *opts,
26 char **filtered);
7163e1ca 27
4195077a 28int generator_write_device_deps(
da495a03
ZJS
29 const char *dir,
30 const char *what,
31 const char *where,
32 const char *opts);
4195077a 33
7163e1ca
DD
34int generator_write_initrd_root_device_deps(
35 const char *dir,
36 const char *what);
da495a03
ZJS
37
38int generator_hook_up_mkswap(
39 const char *dir,
40 const char *what);
41int generator_hook_up_mkfs(
42 const char *dir,
43 const char *what,
44 const char *where,
45 const char *type);
7f2806d5
ZJS
46int generator_hook_up_growfs(
47 const char *dir,
48 const char *where,
49 const char *target);