summary refs log tree commit diff
path: root/src/devices/nm-device-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device-private.h')
-rw-r--r--src/devices/nm-device-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h
index 2023feb5..a4067f9c 100644
--- a/src/devices/nm-device-private.h
+++ b/src/devices/nm-device-private.h
@@ -134,4 +134,9 @@ guint32 nm_device_get_configured_mtu_for_wired (NMDevice *self, gboolean *out_is
 		NM_DEVICE_CLASS (klass)->link_types = link_types; \
 	}
 
+gboolean _nm_device_hash_check_invalid_keys (GHashTable *hash, const char *setting_name,
+                                             GError **error, const char **argv);
+#define nm_device_hash_check_invalid_keys(hash, setting_name, error, ...) \
+	_nm_device_hash_check_invalid_keys (hash, setting_name, error, ((const char *[]) { __VA_ARGS__, NULL }))
+
 #endif	/* NM_DEVICE_PRIVATE_H */