NetworkManager/src/devices/wifi
Thomas Haller 284ac92eee 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.

(cherry picked from commit af07ed01c0)
2019-04-18 20:07:44 +02:00
..
tests build/meson: increase timeouts for some tests 2019-02-23 07:20:49 +01:00
meson.build wifi-p2p: rename files for consistent Wi-Fi P2P naming 2019-02-01 17:02:57 +01:00
nm-device-iwd.c shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 20:07:44 +02:00
nm-device-iwd.h wifi: skip nm_platform_wifi_get_capabilities/get_mode for IWD backend 2018-10-11 16:07:15 +02:00
nm-device-olpc-mesh.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-device-olpc-mesh.h build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
nm-device-wifi-p2p.c core,wifi-p2p: Fix Wi-Fi P2P device type 2019-03-07 22:26:20 +01:00
nm-device-wifi-p2p.h wifi-p2p: drop WiFi-P2P "group-owner" property from D-Bus API and libnm 2019-02-21 15:34:55 +01:00
nm-device-wifi.c shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 20:07:44 +02:00
nm-device-wifi.h core/devices: Automatically create P2P device for wifi devices 2019-01-27 23:45:12 +01:00
nm-iwd-manager.c shared: move most of "shared/nm-utils" to "shared/nm-glib-aux" 2019-04-18 19:57:27 +02:00
nm-iwd-manager.h wifi/iwd: access Network objects through ObjectManager 2018-09-19 08:37:52 +02:00
nm-wifi-ap.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-wifi-ap.h wifi: refactor nm_wifi_ap_set_ssid() to accept GBytes 2018-08-22 10:49:34 +02:00
nm-wifi-common.c core: fix wireless bitrate property name on D-Bus 2018-09-07 09:40:09 +02:00
nm-wifi-common.h wifi: rework tracking of wifi-aps to use CList 2018-03-27 09:58:00 +02:00
nm-wifi-factory.c wifi-p2p: rename Wi-Fi P2P 2019-02-01 17:02:57 +01:00
nm-wifi-p2p-peer.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-wifi-p2p-peer.h wifi-p2p: rename Wi-Fi P2P 2019-02-01 17:02:57 +01:00
nm-wifi-utils.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-wifi-utils.h wifi: Move get_connection_iwd_security to nm-wifi-utils.c 2018-09-05 15:24:04 +02:00