NetworkManager/src/nmtui
Thomas Haller 08eff4c46e
glib-aux: rename IP address related helpers from "nm-inet-utils.h"
- name things related to `in_addr_t`, `struct in6_addr`, `NMIPAddr` as
  `nm_ip4_addr_*()`, `nm_ip6_addr_*()`, `nm_ip_addr_*()`, respectively.

- we have a wrapper `nm_inet_ntop()` for `inet_ntop()`. This name
  of our wrapper is chosen to be familiar with the libc underlying
  function. With this, also name functions that are about string
  representations of addresses `nm_inet_*()`, `nm_inet4_*()`,
  `nm_inet6_*()`. For example, `nm_inet_parse_str()`,
  `nm_inet_is_normalized()`.

<<<<

  R() {
     git grep -l "$1" | xargs sed -i "s/\<$1\>/$2/g"
  }

  R NM_CMP_DIRECT_IN4ADDR_SAME_PREFIX          NM_CMP_DIRECT_IP4_ADDR_SAME_PREFIX
  R NM_CMP_DIRECT_IN6ADDR_SAME_PREFIX          NM_CMP_DIRECT_IP6_ADDR_SAME_PREFIX
  R NM_UTILS_INET_ADDRSTRLEN                   NM_INET_ADDRSTRLEN
  R _nm_utils_inet4_ntop                       nm_inet4_ntop
  R _nm_utils_inet6_ntop                       nm_inet6_ntop
  R _nm_utils_ip4_get_default_prefix           nm_ip4_addr_get_default_prefix
  R _nm_utils_ip4_get_default_prefix0          nm_ip4_addr_get_default_prefix0
  R _nm_utils_ip4_netmask_to_prefix            nm_ip4_addr_netmask_to_prefix
  R _nm_utils_ip4_prefix_to_netmask            nm_ip4_addr_netmask_from_prefix
  R nm_utils_inet4_ntop_dup                    nm_inet4_ntop_dup
  R nm_utils_inet6_ntop_dup                    nm_inet6_ntop_dup
  R nm_utils_inet_ntop                         nm_inet_ntop
  R nm_utils_inet_ntop_dup                     nm_inet_ntop_dup
  R nm_utils_ip4_address_clear_host_address    nm_ip4_addr_clear_host_address
  R nm_utils_ip4_address_is_link_local         nm_ip4_addr_is_link_local
  R nm_utils_ip4_address_is_loopback           nm_ip4_addr_is_loopback
  R nm_utils_ip4_address_is_zeronet            nm_ip4_addr_is_zeronet
  R nm_utils_ip4_address_same_prefix           nm_ip4_addr_same_prefix
  R nm_utils_ip4_address_same_prefix_cmp       nm_ip4_addr_same_prefix_cmp
  R nm_utils_ip6_address_clear_host_address    nm_ip6_addr_clear_host_address
  R nm_utils_ip6_address_same_prefix           nm_ip6_addr_same_prefix
  R nm_utils_ip6_address_same_prefix_cmp       nm_ip6_addr_same_prefix_cmp
  R nm_utils_ip6_is_ula                        nm_ip6_addr_is_ula
  R nm_utils_ip_address_same_prefix            nm_ip_addr_same_prefix
  R nm_utils_ip_address_same_prefix_cmp        nm_ip_addr_same_prefix_cmp
  R nm_utils_ip_is_site_local                  nm_ip_addr_is_site_local
  R nm_utils_ipaddr_is_normalized              nm_inet_is_normalized
  R nm_utils_ipaddr_is_valid                   nm_inet_is_valid
  R nm_utils_ipx_address_clear_host_address    nm_ip_addr_clear_host_address
  R nm_utils_parse_inaddr                      nm_inet_parse_str
  R nm_utils_parse_inaddr_bin                  nm_inet_parse_bin
  R nm_utils_parse_inaddr_bin_full             nm_inet_parse_bin_full
  R nm_utils_parse_inaddr_prefix               nm_inet_parse_with_prefix_str
  R nm_utils_parse_inaddr_prefix_bin           nm_inet_parse_with_prefix_bin
  R test_nm_utils_ip6_address_same_prefix      test_nm_ip_addr_same_prefix

  ./contrib/scripts/nm-code-format.sh -F
2022-08-25 19:05:51 +02:00
..
meson.build bond: add support of queue_id of bond port 2021-08-26 23:04:31 +02:00
nm-editor-bindings.c glib-aux: rename IP address related helpers from "nm-inet-utils.h" 2022-08-25 19:05:51 +02:00
nm-editor-bindings.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-editor-utils.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-editor-utils.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-address-list.c clients: bulk removal of g_assert*() statements 2022-03-28 13:51:44 +02:00
nmt-address-list.h
nmt-connect-connection-list.c all: reformat with clang-format (clang-tools-extra-14.0.0-1.fc36) and update gitlab-ci to f36 2022-07-06 11:06:53 +02:00
nmt-connect-connection-list.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-device-entry.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-device-entry.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-edit-connection-list.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-edit-connection-list.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-editor-grid.c clients: bulk removal of g_assert*() statements 2022-03-28 13:51:44 +02:00
nmt-editor-grid.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-editor-page-device.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-editor-page-device.h
nmt-editor-page.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-editor-page.h
nmt-editor-section.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-editor-section.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-editor.c newt-form: remove escape-exits property 2022-08-25 14:12:07 +02:00
nmt-editor.h bond: add support of queue_id of bond port 2021-08-26 23:04:31 +02:00
nmt-ip-entry.c glib-aux: rename IP address related helpers from "nm-inet-utils.h" 2022-08-25 19:05:51 +02:00
nmt-ip-entry.h
nmt-mac-entry.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-mac-entry.h all: drop /*<skip>*/ annotations for enums 2022-02-08 11:14:01 +01:00
nmt-mtu-entry.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-mtu-entry.h
nmt-page-bond-port.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-bond-port.h bond: add support of queue_id of bond port 2021-08-26 23:04:31 +02:00
nmt-page-bond.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-bond.h
nmt-page-bridge-port.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-bridge-port.h
nmt-page-bridge.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-bridge.h
nmt-page-dsl.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-dsl.h
nmt-page-ethernet.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-ethernet.h
nmt-page-infiniband.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-infiniband.h
nmt-page-ip-tunnel.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-ip-tunnel.h
nmt-page-ip4.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-ip4.h
nmt-page-ip6.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-ip6.h
nmt-page-ppp.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-ppp.h
nmt-page-team-port.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-team-port.h
nmt-page-team.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-team.h
nmt-page-vlan.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-vlan.h
nmt-page-wifi.c tui/wifi: remove WEP options 2022-08-25 14:50:02 +02:00
nmt-page-wifi.h
nmt-page-wireguard.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-page-wireguard.h tui: add WireGuard support to nmtui 2021-08-17 14:10:12 +02:00
nmt-password-dialog.c newt-form: remove escape-exits property 2022-08-25 14:12:07 +02:00
nmt-password-dialog.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-password-fields.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-password-fields.h
nmt-route-editor.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-route-editor.h
nmt-route-entry.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-route-entry.h
nmt-route-table.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-route-table.h
nmt-slave-list.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-slave-list.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-utils.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-utils.h
nmt-widget-list.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-widget-list.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-wireguard-peer-editor.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-wireguard-peer-editor.h tui: add WireGuard support to nmtui 2021-08-17 14:10:12 +02:00
nmt-wireguard-peer-list.c format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmt-wireguard-peer-list.h tui: add WireGuard support to nmtui 2021-08-17 14:10:12 +02:00
nmtui-connect.c newt-form: remove escape-exits property 2022-08-25 14:12:07 +02:00
nmtui-connect.h
nmtui-edit.c newt-form: remove escape-exits property 2022-08-25 14:12:07 +02:00
nmtui-edit.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nmtui-hostname.c newt-form: remove escape-exits property 2022-08-25 14:12:07 +02:00
nmtui-hostname.h
nmtui.c newt-form: remove escape-exits property 2022-08-25 14:12:07 +02:00
nmtui.h
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

nmtui

The curses-based text user interface of NetworkManager. It uses the D-Bus API of NetworkManager (via libnm).

This is a NetworkManager client applications that can edit connection profiles and activate them, by providing a text UI.

It uses libnewt.

See: