NetworkManager/shared
Thomas Haller 7e1e1c1f7f shared: add NMUtilsNamedEntry
It is common to have some data indexed by a name.
If you want to sort a list of such data, you would
have to re-implement your own compare function each time.

Instead, add NMUtilsNamedEntry which as first field has
the name. So, you can create your own struct:

  struct my_data {
    const char *name;
    ... other fields
  }

and compare them with with nm_utils_named_entry_cmp().

For convenience, add another struct NMUtilsNamedValue, which
has only one data field, a pointer.

(cherry picked from commit 3adce12898)
2017-11-21 14:14:25 +01:00
..
nm-utils shared: add NMUtilsNamedEntry 2017-11-21 14:14:25 +01:00
nm-common-macros.h manager: add connectivity-check-{available,enabled} properties. 2017-08-17 22:31:47 +02:00
nm-dbus-compat.h build: rename directory "include" to "shared" 2015-12-24 11:42:37 +01:00
nm-default.h build: disable type checks in G_TYPE_CHECK_INSTANCE_CAST() macros (bgo#771120) 2016-09-12 13:53:34 +02:00
nm-dispatcher-api.h build: cleanup src/Makefile.am 2016-08-11 11:54:18 +02:00
nm-meta-setting.c clients: add support for ovs-bridge setting 2017-10-30 17:40:09 +01:00
nm-meta-setting.h clients: add support for ovs-bridge setting 2017-10-30 17:40:09 +01:00
nm-test-libnm-utils.h shared: move shared files to subdirectory "shared/nm-utils/" 2016-06-16 10:45:53 +02:00
nm-test-utils-impl.c all: use nm_close() instead of close() 2017-11-14 15:17:02 +01:00
nm-version-macros.h.in release: bump version to 1.10.1 (development) 2017-11-13 13:58:18 +01:00