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 
9 int unit_serialize(Unit *u, FILE *f, FDSet *fds, bool serialize_jobs);
10 int unit_deserialize(Unit *u, FILE *f, FDSet *fds);
11 int unit_deserialize_skip(FILE *f);
12 
13 void unit_dump(Unit *u, FILE *f, const char *prefix);
14