libnm: add NMUtilsPredicateStr typedef

System Internals / NetworkManager - Thomas Haller [redhat.com] - 22 May 2020 13:58 EDT

This will be used for nm_setting_option_clear_by_name(), to filter based on a name. But it is a general purpose typedef for a predicate, not tied to NMSetting or option.

c48bfdf58 libnm: add NMUtilsPredicateStr typedef
libnm-core/nm-core-types.h | 3 +++
libnm-core/nm-utils.c | 14 ++++++++++++++
2 files changed, 17 insertions(+)

Upstream: cgit.freedesktop.org


  • Share