NetworkManager/clients/cli
Thomas Haller c5d45848dd cli: mark argv argument for command line parsing as const
It's bad style to pass the argv argument around and mutate it.
We shouldn't mutate it, and not assume that it stays around after
the function returns to the caller (meaning, we should clone the
array if we intend to use it later).

Add const specifier.
2020-04-10 10:27:27 +02:00
..
agent.c cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
common.c cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
common.h cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
connections.c cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
connections.h cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
devices.c cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
devices.h cli: cleanup NMCCommand and declarations of func implementations 2020-04-10 10:27:27 +02:00
general.c cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +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: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
nmcli.h cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +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 cli: hide nm_cli global variable from public headers 2020-04-04 19:28:41 +02:00
settings.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
utils.c cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00
utils.h cli: mark argv argument for command line parsing as const 2020-04-10 10:27:27 +02:00