NetworkManager/clients/tui
Thomas Haller af07ed01c0 shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core
"libnm-core" implements common functionality for "NetworkManager" and
"libnm".

Note that clients like "nmcli" cannot access the internal API provided
by "libnm-core". So, if nmcli wants to do something that is also done by
"libnm-core", , "libnm", or "NetworkManager", the code would have to be
duplicated.

Instead, such code can be in "libnm-libnm-core-{intern|aux}.la".
Note that:

  0) "libnm-libnm-core-intern.la" is used by libnm-core itsself.
     On the other hand, "libnm-libnm-core-aux.la" is not used by
     libnm-core, but provides utilities on top of it.

  1) they both extend "libnm-core" with utlities that are not public
     API of libnm itself. Maybe part of the code should one day become
     public API of libnm. On the other hand, this is code for which
     we may not want to commit to a stable interface or which we
     don't want to provide as part of the API.

  2) "libnm-libnm-core-intern.la" is statically linked by "libnm-core"
     and thus directly available to "libnm" and "NetworkManager".
     On the other hand, "libnm-libnm-core-aux.la" may be used by "libnm"
     and "NetworkManager".
     Both libraries may be statically linked by libnm clients (like
     nmcli).

  3) it must only use glib, libnm-glib-aux.la, and the public API
     of libnm-core.
     This is important: it must not use "libnm-core/nm-core-internal.h"
     nor "libnm-core/nm-utils-private.h" so the static library is usable
     by nmcli which couldn't access these.

Note that "shared/nm-meta-setting.c" is an entirely different case,
because it behaves differently depending on whether linking against
"libnm-core" or the client programs. As such, this file must be compiled
twice.
2019-04-18 18:59:09 +02:00
..
newt libnm,core: use _nm_utils_ascii_str_to_uint64() instead of strtol() 2019-02-12 08:50:28 +01:00
meson.build clients: only ask secrets for settings that require them 2019-04-02 11:20:28 +02:00
nm-editor-bindings.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-editor-bindings.h all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-editor-utils.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-editor-utils.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-address-list.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nmt-address-list.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-connect-connection-list.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nmt-connect-connection-list.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-device-entry.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nmt-device-entry.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-edit-connection-list.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nmt-edit-connection-list.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-editor-grid.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nmt-editor-grid.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-editor-page-device.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor-page-device.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-editor-page.c tui/editor: notify the pages after the connection is saved 2017-02-27 11:17:39 +01:00
nmt-editor-page.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-editor-section.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-editor-section.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-editor.c clients: only ask secrets for settings that require them 2019-04-02 11:20:28 +02:00
nmt-editor.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-ip-entry.c shared: pass addr_family as first argument to nm_utils_parse_inaddr*() 2017-10-06 11:08:39 +02:00
nmt-ip-entry.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-mac-entry.c shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 18:59:09 +02:00
nmt-mac-entry.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-mtu-entry.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-mtu-entry.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-bond.c all: replace non-leading tabs with spaces 2018-02-07 13:32:04 +01:00
nmt-page-bond.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-bridge-port.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-bridge-port.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-bridge.c tui: add group-forward-mask property to bridge page 2017-10-13 14:17:26 +02:00
nmt-page-bridge.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-dsl.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-dsl.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-ethernet.c device: extend MAC address handling including randomization for ethernet and wifi 2016-06-30 08:29:56 +02:00
nmt-page-ethernet.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-infiniband.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-infiniband.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-ip-tunnel.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nmt-page-ip-tunnel.h tui: add support for IP tunnel connections 2016-11-09 17:45:39 +01:00
nmt-page-ip4.c tui: add ignore-auto-dns property to IPv4 and IPv6 pages 2017-09-01 17:09:57 +02:00
nmt-page-ip4.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-ip6.c tui: add ignore-auto-dns property to IPv4 and IPv6 pages 2017-09-01 17:09:57 +02:00
nmt-page-ip6.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-ppp.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-page-ppp.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-team-port.c all: replace non-leading tabs with spaces 2018-02-07 13:32:04 +01:00
nmt-page-team-port.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-team.c all: replace non-leading tabs with spaces 2018-02-07 13:32:04 +01:00
nmt-page-team.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-vlan.c nmtui: always create ethernet settings for VLAN and wireless security for wifi. 2017-05-28 23:22:55 +02:00
nmt-page-vlan.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-page-wifi.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nmt-page-wifi.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-password-dialog.c clients: some cleanup of requesting VPN secrets 2017-11-23 14:44:25 +01:00
nmt-password-dialog.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-password-fields.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-password-fields.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-route-editor.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nmt-route-editor.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-route-entry.c all: replace non-leading tabs with spaces 2018-02-07 13:32:04 +01:00
nmt-route-entry.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-route-table.c clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmt-route-table.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-slave-list.c docs: misc. typos 2018-09-15 09:08:03 +02:00
nmt-slave-list.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-utils.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nmt-utils.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmt-widget-list.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nmt-widget-list.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmtui-connect.c clients: don't tread secret agent as NMSecretAgentOld 2019-02-05 08:27:42 +01:00
nmtui-connect.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmtui-edit.c clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nmtui-edit.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmtui-hostname.c all: unify spelling of translators hint in source code 2018-04-13 10:00:09 +02:00
nmtui-hostname.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nmtui.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nmtui.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00