summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-remote-settings.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-10-31 15:18:33 -0400
committerDan Winship <danw@gnome.org>2013-11-15 13:38:48 -0500
commita52ebc74b53b545e734eacb1e1e940dd62a3df7b (patch)
tree4006e9d6ac1b9281bdc7be31d513da12e9e3af6f /libnm-glib/nm-remote-settings.h
parent51c6269d46b8b7eee9d7eae322fb6bfe6db913dd (diff)
downloadNetworkManager-a52ebc74b53b545e734eacb1e1e940dd62a3df7b.tar.gz
libnm-glib: add nm_remote_settings_load_connections()
https://bugzilla.gnome.org/show_bug.cgi?id=709830
Diffstat (limited to 'libnm-glib/nm-remote-settings.h')
-rw-r--r--libnm-glib/nm-remote-settings.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libnm-glib/nm-remote-settings.h b/libnm-glib/nm-remote-settings.h
index 1bef4a7edb..e361dc04be 100644
--- a/libnm-glib/nm-remote-settings.h
+++ b/libnm-glib/nm-remote-settings.h
@@ -79,6 +79,11 @@ typedef void (*NMRemoteSettingsAddConnectionFunc) (NMRemoteSettings *settings,
GError *error,
gpointer user_data);
+typedef void (*NMRemoteSettingsLoadConnectionsFunc) (NMRemoteSettings *settings,
+ char **failures,
+ GError *error,
+ gpointer user_data);
+
typedef void (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
GError *error,
gpointer user_data);
@@ -135,6 +140,11 @@ gboolean nm_remote_settings_add_connection_unsaved (NMRemoteSettings *settings,
NMRemoteSettingsAddConnectionFunc callback,
gpointer user_data);
+gboolean nm_remote_settings_load_connections (NMRemoteSettings *settings,
+ char **filenames,
+ char ***failures,
+ GError **error);
+
gboolean nm_remote_settings_reload_connections (NMRemoteSettings *settings,
GError **error);