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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/networkd-json.h b/src/network/networkd-json.h
new file mode 100644
index 0000000..25018fa
--- /dev/null
+++ b/src/network/networkd-json.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include "json.h"
+
+typedef struct Link Link;
+typedef struct Manager Manager;
+
+int link_build_json(Link *link, JsonVariant **ret);
+int manager_build_json(Manager *manager, JsonVariant **ret);