diff options
author | Thomas Haller <thaller@redhat.com> | 2019-10-20 08:10:03 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-10-23 15:31:51 +0200 |
commit | dab1d780fda21cc1e4bc5b686e7f6bce6f6bc8cf (patch) | |
tree | dc4f103808caf218ee026d5d5d2dab377fa6896b /introspection | |
parent | e346bdc550323167604b328d39626d0f0dd82092 (diff) | |
download | NetworkManager-dab1d780fda21cc1e4bc5b686e7f6bce6f6bc8cf.tar.gz |
libnm: retire deprecated WiMAX NMObject types
WiMAX is deprecated since NetworkManager 1.2.0. Note that also
NetworkManager on server side no longer supports this type, hence
the server's D-Bus API will never expose devices of this type.
Note that NMDeviceWimax and NMWimaxNsp are NMObject types. That means,
they are instantiated by NMClient to represent information on the D-Bus
interface. As NetworkManager no longer exposes WiMAX devices, such
devices are never created. Note that it makes no sense that a user would
directly instantiate NMObject types, because they only work together with
NMClient.
Don't drop the related symbols and definitions from libnm, so that there
is no API/ABI change (as far as building and linking is concerned). But
make the types defunctional (which of course is a behavioral API change).
Calling the API now triggers a g_return_*() warning.
Also belatedly mark the WimaxNsp API as deprecated. It should have been
done in 1.2. Note that here we deprecate the API and retire it at the
same time. Optimally, we would have deprecated it a few releases ago,
before retiring it. However, marking something for deprecation is anyway
no excuse for anything. I mean, removing or retiring API is usually
painful, regardless whether it was marked for deprecation or not. In this
case, there is no possibility that a libnm user gets hold on a NMDeviceWimax
or NMWimaxNsp instance, because NMClient simply no longer instantiates
them. Hence, this change should not affect any user in practice.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/316
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.NetworkManager.Device.WiMax.xml | 1 | ||||
-rw-r--r-- | introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Device.WiMax.xml b/introspection/org.freedesktop.NetworkManager.Device.WiMax.xml index ac2a393a0f..532b696432 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.WiMax.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.WiMax.xml @@ -4,6 +4,7 @@ org.freedesktop.NetworkManager.Device.WiMax: @short_description: WiMax Device + DEPRECATED: NetworkManager no longer supports WiMAX since version 1.2. This interface is no longer used. --> <interface name="org.freedesktop.NetworkManager.Device.WiMax"> diff --git a/introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml b/introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml index 1028afc0cf..cc074808f4 100644 --- a/introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml +++ b/introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml @@ -4,6 +4,7 @@ org.freedesktop.NetworkManager.WiMax.Nsp: @short_description: WiMax Network Service Provider + DEPRECATED: NetworkManager no longer supports WiMAX since version 1.2. This interface is no longer used. --> <interface name="org.freedesktop.NetworkManager.WiMax.Nsp"> |