summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-vpn-plugin-ui-interface.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-05-18 16:43:30 -0700
committerDan Williams <dcbw@redhat.com>2010-05-18 16:44:27 -0700
commit16cda9fae1a7e706616924b6dbe15b7e81f52bab (patch)
tree0e5d025bc42010a1e4a6220254d742c7086af632 /libnm-glib/nm-vpn-plugin-ui-interface.h
parent5110fa7811cc8d68d2a61601e04e4fb4e9edc31f (diff)
downloadNetworkManager-16cda9fae1a7e706616924b6dbe15b7e81f52bab.tar.gz
libnm-glib: fix VPN plugin builds for C++
Yes, this breaks source compat. Simple rename though.
Diffstat (limited to 'libnm-glib/nm-vpn-plugin-ui-interface.h')
-rw-r--r--libnm-glib/nm-vpn-plugin-ui-interface.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libnm-glib/nm-vpn-plugin-ui-interface.h b/libnm-glib/nm-vpn-plugin-ui-interface.h
index 44348c12ef..2ab13f0017 100644
--- a/libnm-glib/nm-vpn-plugin-ui-interface.h
+++ b/libnm-glib/nm-vpn-plugin-ui-interface.h
@@ -17,7 +17,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
- * Copyright (C) 2008 Red Hat, Inc.
+ * Copyright (C) 2008 - 2010 Red Hat, Inc.
* Copyright (C) 2008 Novell, Inc.
*/
@@ -91,14 +91,19 @@ struct _NMVpnPluginUiInterface {
* additional information. Note that 'error' can be NULL, in which case no
* additional error information should be provided.
*/
- NMConnection * (*import) (NMVpnPluginUiInterface *iface, const char *path, GError **error);
+ NMConnection * (*import_from_file) (NMVpnPluginUiInterface *iface,
+ const char *path,
+ GError **error);
/* Export the given connection to the specified path. Return TRUE on success.
* On error, return FALSE and set 'error' with additional error information.
* Note that 'error' can be NULL, in which case no additional error information
* should be provided.
*/
- gboolean (*export) (NMVpnPluginUiInterface *iface, const char *path, NMConnection *connection, GError **error);
+ gboolean (*export_to_file) (NMVpnPluginUiInterface *iface,
+ const char *path,
+ NMConnection *connection,
+ GError **error);
/* For a given connection, return a suggested file name. Returned value should
* be NULL or a suggested file name allocated via g_malloc/g_new/etc to be freed