about summary refs log tree commit diff
path: root/src/contrib/nm-vpn-plugin-utils.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-10-01 23:06:08 +0200
committerMichael Biebl <biebl@debian.org>2021-10-01 23:06:08 +0200
commita3349a04ac4c38885cddefec8515c979d03f9327 (patch)
treed3bbee695aa048cb4ec252e7d63515c8376f9006 /src/contrib/nm-vpn-plugin-utils.h
parent2d5b58e374d67f60880c7689e80c7745aeef3f62 (diff)
parente74c568b07b50b97873fb4ee1d776dedefbd54d6 (diff)
Update upstream source from tag 'upstream/1.32.12'
Update to upstream version '1.32.12'
with Debian dir 6fabefa95c7dcf83371a78eb2c47013a81ff8d86
Diffstat (limited to 'src/contrib/nm-vpn-plugin-utils.h')
-rw-r--r--src/contrib/nm-vpn-plugin-utils.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/contrib/nm-vpn-plugin-utils.h b/src/contrib/nm-vpn-plugin-utils.h
new file mode 100644
index 00000000..288143ef
--- /dev/null
+++ b/src/contrib/nm-vpn-plugin-utils.h
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2016 Red Hat, Inc.
+ */
+
+#ifndef __NM_VPN_PLUGIN_UTILS_H__
+#define __NM_VPN_PLUGIN_UTILS_H__
+
+#include <NetworkManager.h>
+
+typedef NMVpnEditor *(NMVpnPluginUtilsEditorFactory) (gpointer           factory,
+                                                      NMVpnEditorPlugin *editor_plugin,
+                                                      NMConnection *     connection,
+                                                      gpointer           user_data,
+                                                      GError **          error);
+
+NMVpnEditor *nm_vpn_plugin_utils_load_editor(const char *                  module_name,
+                                             const char *                  factory_name,
+                                             NMVpnPluginUtilsEditorFactory editor_factory,
+                                             NMVpnEditorPlugin *           editor_plugin,
+                                             NMConnection *                connection,
+                                             gpointer                      user_data,
+                                             GError **                     error);
+
+#endif /* __NM_VPN_PLUGIN_UTILS_H__ */