]>
Commit | Line | Data |
---|---|---|
2d3b784d ZJS |
1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
2 | #pragma once | |
3 | ||
4 | #include <stdio.h> | |
5 | ||
6 | #include "unit.h" | |
7 | #include "fdset.h" | |
8 | ||
5699a168 LB |
9 | /* These functions serialize state for our own usage, i.e.: across a reload/reexec, rather than for being |
10 | * passed to a child process. */ | |
11 | ||
12 | int unit_serialize_state(Unit *u, FILE *f, FDSet *fds, bool serialize_jobs); | |
13 | int unit_deserialize_state(Unit *u, FILE *f, FDSet *fds); | |
14 | int unit_deserialize_state_skip(FILE *f); | |
2d3b784d ZJS |
15 | |
16 | void unit_dump(Unit *u, FILE *f, const char *prefix); |