nm-setting: add internal gendata API to clear value(s)

System Internals / NetworkManager - Antonio Cardace [redhat.com] - 20 May 2020 08:55 EDT

The filter function in nm_setting_gendata_clear_all() is useful for when you want to only clear values according to a predicate, if no such function is supplied all values will be cleared.

https://bugzilla.redhat.com/show_bug.cgi?id=1614700

e08c3a6e1 nm-setting: add internal gendata API to clear value(s)
libnm-core/nm-core-internal.h | 8 ++++++++
libnm-core/nm-setting.c | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)

Upstream: cgit.freedesktop.org


  • Share