summaryrefslogtreecommitdiff
path: root/src/nm-dispatcher.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-03-08 14:11:22 +0100
committerThomas Haller <thaller@redhat.com>2017-03-16 18:27:33 +0100
commitd2064be787a231b23dd8dfeef20f9d324502c00a (patch)
treeacb788f4a252af5bcac7bb0a5fad115481e73d1d /src/nm-dispatcher.h
parent2b72cc269378ebf46fc0686ea97e0a3a277a9332 (diff)
downloadNetworkManager-d2064be787a231b23dd8dfeef20f9d324502c00a.tar.gz
core/dispatcher: add and use nm_dispatcher_call_hostname()
Diffstat (limited to 'src/nm-dispatcher.h')
-rw-r--r--src/nm-dispatcher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nm-dispatcher.h b/src/nm-dispatcher.h
index 6b73244c3b..111085124e 100644
--- a/src/nm-dispatcher.h
+++ b/src/nm-dispatcher.h
@@ -41,6 +41,10 @@ typedef enum {
typedef void (*NMDispatcherFunc) (guint call_id, gpointer user_data);
+gboolean nm_dispatcher_call_hostname (NMDispatcherFunc callback,
+ gpointer user_data,
+ guint *out_call_id);
+
gboolean nm_dispatcher_call (NMDispatcherAction action,
NMSettingsConnection *settings_connection,
NMConnection *applied_connection,