NetworkManager/clients
Thomas Haller 4b3297271e cli: rework connection handling for multiple results
Functions like nmc_find_connection() and nmc_find_active_connection()
can easily find multiple matching results. For example, the
"connection.id" in NetworkManager is not enforced to be unique,
so if the user adds multiple connections with the same name,
they should be all selected.

The previous API had a @pos argument, that allowed to iterate over
the results. Change that, to return all matches in a GPtrArray.

Also, extend connection-show and other places, to anticipate that
a connection might be active multiple times in any moment.
2018-05-14 17:53:03 +02:00
..
cli cli: rework connection handling for multiple results 2018-05-14 17:53:03 +02:00
common clients/common: add nmc_objects_sort_by_path() helper 2018-05-14 17:53:03 +02:00
tests clients/tests: add nmcli test for activating connection 2018-05-14 17:53:03 +02:00
tui all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nm-online.c all: require glib 2.40 2018-01-18 11:45:36 +01:00