summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-private.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-03-03 12:03:26 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2017-03-06 10:29:16 +0100
commit8922f9aabe5fa31f9da4e13ac87f63887d79887f (patch)
tree91e48ad85d774d867e4fdff25828f092fda2bb71 /src/devices/nm-device-private.h
parent8eb49639fcd5ec29c129d87900f63125933e1263 (diff)
downloadNetworkManager-8922f9aabe5fa31f9da4e13ac87f63887d79887f.tar.gz
device: internally export nm_device_hash_check_invalid_keys()
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 2023feb577..a4067f9c26 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 */