Currently, only configuration sources and providers of addresses and routes are serialized/deserialized. This should mostly not change behavior, as dynamic (except for DHCPv4) configurations will be dropped before stopping networkd, and for DHCPv4 protocol, we have already had another logic to handle DHCPv4 configurations. Preparation for later commits.
9 lines
258 B
C
9 lines
258 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
typedef struct Manager Manager;
|
|
|
|
int manager_serialize(Manager *manager);
|
|
int manager_set_serialization_fd(Manager *manager, int fd, const char *name);
|
|
int manager_deserialize(Manager *manager);
|