summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-state-file.h
blob: 684f0d154edfa3cdfa98e971b470af1ef81eebae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

typedef struct Link Link;
typedef struct Manager Manager;

void link_dirty(Link *link);
void link_clean(Link *link);
int link_save_and_clean_full(Link *link, bool also_save_manager);
static inline int link_save_and_clean(Link *link) {
        return link_save_and_clean_full(link, false);
}

int manager_save(Manager *m);