summaryrefslogtreecommitdiff
path: root/src/nm-active-connection.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-02-05 16:36:24 +0100
committerThomas Haller <thaller@redhat.com>2018-02-07 12:35:22 +0100
commitc027fc5d82228d2a5704cf0006a435ccebcef75c (patch)
treeaa943eacdd1fd32a67fb9e19ab2dbd8defd09caa /src/nm-active-connection.h
parentc6d0fbe7b0bb4def9003b31de70a172da3e6bcdb (diff)
downloadNetworkManager-c027fc5d82228d2a5704cf0006a435ccebcef75c.tar.gz
core: add nm_active_connection_set_state_fail() helper
Diffstat (limited to 'src/nm-active-connection.h')
-rw-r--r--src/nm-active-connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nm-active-connection.h b/src/nm-active-connection.h
index 5ede2b04ff..3015b5c584 100644
--- a/src/nm-active-connection.h
+++ b/src/nm-active-connection.h
@@ -148,6 +148,10 @@ void nm_active_connection_set_state (NMActiveConnection *self,
NMActiveConnectionState state,
NMActiveConnectionStateReason reason);
+void nm_active_connection_set_state_fail (NMActiveConnection *active,
+ NMActiveConnectionStateReason reason,
+ const char *error_desc);
+
NMActivationStateFlags nm_active_connection_get_state_flags (NMActiveConnection *self);
void nm_active_connection_set_state_flags_full (NMActiveConnection *self,