Debian Codegraph @

src/core/execute-serialize.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "core-forward.h"
5
6 /* These functions serialize/deserialize for invocation purposes (i.e.: serialized object is passed to a
7 * child process) rather than to save state across reload/reexec. */
8
9 int exec_serialize_invocation(FILE *f,
10 FDSet *fds,
11 const ExecContext *ctx,
12 const ExecCommand *cmd,
13 const ExecParameters *p,
14 const ExecRuntime *rt,
15 const CGroupContext *cg);
16
17 int exec_deserialize_invocation(FILE *f,
18 FDSet *fds,
19 ExecContext *ctx,
20 ExecCommand *cmd,
21 ExecParameters *p,
22 ExecRuntime *rt,
23 CGroupContext *cg);