NetworkManager/src/nmcli
Lukasz Majewski d1dad6ae27
cli: Provide optional support for libedit instead of readline
The libreadline starting from version 6 is licensed as GPLv3. For some
use cases it is not acceptable to use this license.

In the NetworkManager the libreadline is used by nmcli.
This change allows using libedit instead of libreadline.

Following adjustments were made:
1. The history_set_history_state() is not supported in the libedit.
   Instead, the where_history() with remove_history() were used to remove
   the history content if needed.

2. rl_complete_with_tilde_expansion - it is the binary flag used only
   when one wants to have the expansion support. The libedit is not
   supporting and hence exporting this flag.
2021-07-14 17:16:45 +02:00
..
agent.c cli: Provide optional support for libedit instead of readline 2021-07-14 17:16:45 +02:00
common.c cli: Provide optional support for libedit instead of readline 2021-07-14 17:16:45 +02:00
common.h cli: Fix for rl_startup_hook function signatures mismatch (-lreadline vs -ledit) 2021-07-14 17:16:45 +02:00
connections.c cli: Provide optional support for libedit instead of readline 2021-07-14 17:16:45 +02:00
connections.h cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
devices.c cli: Provide optional support for libedit instead of readline 2021-07-14 17:16:45 +02:00
devices.h cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
general.c nmcli: invoke Reload() D-Bus method asynchronously 2021-05-03 22:22:01 +02:00
generate-docs-nm-settings-nmcli.c cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
generate-docs-nm-settings-nmcli.xml.in all: add a new ipv{4,6}.required-timeout property 2021-07-05 15:15:44 +02:00
meson.build build: fix linking libnm-log-null into different test programs 2021-07-05 14:51:27 +02:00
nmcli-completion bash-completion: localize the prev variable 2021-06-08 11:38:45 +02:00
nmcli.c cli: Provide optional support for libedit instead of readline 2021-07-14 17:16:45 +02:00
nmcli.h cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
polkit-agent.c cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
polkit-agent.h cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
settings.c cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
settings.h cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
utils.c cli: move from "clients/cli/" to "src/nmcli/" 2021-03-15 17:10:54 +01:00
utils.h nmcli: include 'searches' field for nmcli device show 2021-07-09 15:21:08 -03:00