summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-json.h')
-rw-r--r--src/network/networkd-json.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/networkd-json.h b/src/network/networkd-json.h
index b3cdb5cae8..e8be60458f 100644
--- a/src/network/networkd-json.h
+++ b/src/network/networkd-json.h
@@ -1,10 +1,14 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
+#include <stdbool.h>
+
#include "sd-json.h"
typedef struct Link Link;
typedef struct Manager Manager;
+int addresses_append_json(Link *link, bool serializing, sd_json_variant **v);
+int routes_append_json(Manager *manager, int ifindex, sd_json_variant **v);
int link_build_json(Link *link, sd_json_variant **ret);
int manager_build_json(Manager *manager, sd_json_variant **ret);