NetworkManager/clients/cli
Thomas Haller 873f4795b2 cli: add and use nm_cli_global_readline global variable
We should try to avoid access to global variables. For libreadline
callbacks we still need a global variable.

Introduce a global variable nm_cli_global_readline, specially for this
use. It makes the places clear where we use it, and discourages
the use at other places, where we better avoid global variables.
2020-04-04 19:28:41 +02:00
..
agent.c clients: polkit-agent: implement polkit agent without using libpolkit 2019-12-24 10:13:51 +01:00
agent.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
common.c cli: add and use nm_cli_global_readline global variable 2020-04-04 19:28:41 +02:00
common.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
connections.c cli: add and use nm_cli_global_readline global variable 2020-04-04 19:28:41 +02:00
connections.h cli: support setting removal 2020-03-23 11:42:57 +01:00
devices.c cli: fix nmcli device wifi list --rescan=yes to wait 2020-04-03 11:26:49 +02:00
devices.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
general.c cli: use async method D-Bus for nmcli radio wifi on|off 2020-03-23 09:38:23 +01:00
general.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
meson.build license: Add license using SPDX identifiers to meson build files 2020-02-17 13:16:57 +01:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: add and use nm_cli_global_readline global variable 2020-04-04 19:28:41 +02:00
nmcli.h cli: add and use nm_cli_global_readline global variable 2020-04-04 19:28:41 +02:00
polkit-agent.c clients: polkit-agent: implement polkit agent without using libpolkit 2019-12-24 10:13:51 +01:00
polkit-agent.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
settings.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
settings.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
utils.c cli: fix out of bounds access in _print_fill() 2020-03-16 13:44:12 +01:00
utils.h cli: expose device D-Bus path 2019-12-10 17:58:56 +01:00