summaryrefslogtreecommitdiff
path: root/src/parse-nm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse-nm.h')
-rw-r--r--src/parse-nm.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/parse-nm.h b/src/parse-nm.h
new file mode 100644
index 0000000..53973f7
--- /dev/null
+++ b/src/parse-nm.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2021 Canonical, Ltd.
+ * Author: Lukas Märdian <slyon@ubuntu.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#define NETPLAN_NM_EMPTY_GROUP "_"
+
+gboolean netplan_parse_keyfile(const char* filename, GError** error);