summaryrefslogtreecommitdiff
path: root/shared/nm-test-libnm-utils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-12-22 13:53:20 +0100
committerThomas Haller <thaller@redhat.com>2015-12-26 16:43:49 +0100
commit56880fbe692f52463e06298f1fe8a2e017e8d6bb (patch)
tree1dce668f6c2fe3fd6157cefbdab94dd774bc2beb /shared/nm-test-libnm-utils.h
parentbdfcf02da3b268798e45608df96697ed899760fa (diff)
downloadNetworkManager-56880fbe692f52463e06298f1fe8a2e017e8d6bb.tar.gz
libnm/tests: add nmtstc_nm_client_new()
Diffstat (limited to 'shared/nm-test-libnm-utils.h')
-rw-r--r--shared/nm-test-libnm-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/nm-test-libnm-utils.h b/shared/nm-test-libnm-utils.h
index 290feea2e4..e1aad3633b 100644
--- a/shared/nm-test-libnm-utils.h
+++ b/shared/nm-test-libnm-utils.h
@@ -64,3 +64,11 @@ NMDevice * nmtstc_service_add_wired_device (NMTstcServiceInfo *sinfo,
#endif /* NM_NETWORKMANAGER_COMPILATION_LIB */
+#if ((NETWORKMANAGER_COMPILATION) == NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY)
+
+#include "nm-client.h"
+
+NMClient *nmtstc_nm_client_new (void);
+
+#endif /* NM_NETWORKMANAGER_COMPILATION_LIB_LEGACY */
+