diff options
author | Thomas Haller <thaller@redhat.com> | 2018-02-05 16:36:24 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-02-07 12:35:22 +0100 |
commit | c027fc5d82228d2a5704cf0006a435ccebcef75c (patch) | |
tree | aa943eacdd1fd32a67fb9e19ab2dbd8defd09caa /src/nm-active-connection.h | |
parent | c6d0fbe7b0bb4def9003b31de70a172da3e6bcdb (diff) | |
download | NetworkManager-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.h | 4 |
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, |