summary refs log tree commit diff
path: root/src/core/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.h')
-rw-r--r--src/core/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.h b/src/core/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.h
new file mode 100644
index 00000000..c7dc2240
--- /dev/null
+++ b/src/core/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 2008 Red Hat, Inc.
+ */
+
+#ifndef __NMS_IFCFG_RH_READER_H__
+#define __NMS_IFCFG_RH_READER_H__
+
+#include "nm-connection.h"
+
+NMConnection *connection_from_file(const char *filename,
+                                   char **     out_unhandled,
+                                   GError **   error,
+                                   gboolean *  out_ignore_error);
+
+NMConnection *nmtst_connection_from_file(const char *filename,
+                                         const char *network_file,
+                                         const char *test_type,
+                                         char **     out_unhandled,
+                                         GError **   error);
+
+#endif /* __NMS_IFCFG_RH_READER_H__ */