NetworkManager/examples
Thomas Haller ca607d2eff
example: rework "vpn-import-libnm" example
- add more error handling and free/unref data.

- split code in 3 functions: vpn_connection_import(),
  connection_add() and main(). These steps are mostly
  independent, and having them in separate functions
  makes their separation clearer.

- handle error from nm_client_add_connection_async() to
  exit program with non zero exit code.
2021-04-01 21:16:01 +02:00
..
C example: rework "vpn-import-libnm" example 2021-04-01 21:16:01 +02:00
dispatcher dispatcher: avoid "dirname" and "basename" calls in "10-ifcfg-rh-routes.sh" script 2019-10-04 12:38:16 +02:00
js all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
lua/lgi all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nm-conf.d examples: drop rtl drivers from the mac address change blacklist 2019-04-08 10:10:25 +02:00
python examples: use python3 compatible exception syntax 2021-03-16 07:55:12 +01:00
ruby all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
shell all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00