summaryrefslogtreecommitdiff
path: root/libnm-core/nm-core-internal.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-05-29 17:10:51 +0200
committerThomas Haller <thaller@redhat.com>2019-06-13 16:10:53 +0200
commit1a398421ffc35ce0656a32e5c39801e52c92544a (patch)
treee4452610f9ad72cfb8e46e2e1e0381cb4721c896 /libnm-core/nm-core-internal.h
parent31382c9727546af6f9d0a4c05b1cf80e631207f4 (diff)
downloadNetworkManager-1a398421ffc35ce0656a32e5c39801e52c92544a.tar.gz
libnm: add nmtst_connection_assert_unchanging() helper
Diffstat (limited to 'libnm-core/nm-core-internal.h')
-rw-r--r--libnm-core/nm-core-internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h
index d369a75949..7e55b1fc3c 100644
--- a/libnm-core/nm-core-internal.h
+++ b/libnm-core/nm-core-internal.h
@@ -203,6 +203,15 @@ NMSettingVerifyResult _nm_connection_verify (NMConnection *connection, GError **
gboolean _nm_connection_remove_setting (NMConnection *connection, GType setting_type);
+#if NM_MORE_ASSERTS
+void nmtst_connection_assert_unchanging (NMConnection *connection);
+#else
+static inline void
+nmtst_connection_assert_unchanging (NMConnection *connection)
+{
+}
+#endif
+
NMConnection *_nm_simple_connection_new_from_dbus (GVariant *dict,
NMSettingParseFlags parse_flags,
GError **error);