Files
NetworkManager/shared/nm-utils
Thomas Haller 3adce12898 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.
2017-11-21 13:48:48 +01:00
..
2017-07-25 06:42:14 +02:00
2017-07-25 06:42:14 +02:00
2017-07-05 14:22:10 +02:00
2017-10-18 13:27:02 +02:00
2017-10-18 13:27:02 +02:00
2016-10-14 11:16:13 +02:00