From 9a92468ac21e7c78e07abdd5855d1aa71974a975 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 9 Mar 2018 16:05:58 +0100 Subject: [PATCH] introspection: add o.fd.NM.Device.Wpan interface --- Makefile.am | 4 ++++ introspection/meson.build | 1 + ....freedesktop.NetworkManager.Device.Wpan.xml | 18 ++++++++++++++++++ libnm-core/nm-dbus-interface.h | 3 ++- 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 introspection/org.freedesktop.NetworkManager.Device.Wpan.xml diff --git a/Makefile.am b/Makefile.am index 1e4b4ed885..92c22855c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -236,6 +236,8 @@ introspection_sources = \ introspection/org.freedesktop.NetworkManager.Device.Wireless.h \ introspection/org.freedesktop.NetworkManager.Device.WiMax.c \ introspection/org.freedesktop.NetworkManager.Device.WiMax.h \ + introspection/org.freedesktop.NetworkManager.Device.Wpan.c \ + introspection/org.freedesktop.NetworkManager.Device.Wpan.h \ introspection/org.freedesktop.NetworkManager.Device.c \ introspection/org.freedesktop.NetworkManager.Device.h \ introspection/org.freedesktop.NetworkManager.DHCP4Config.c \ @@ -289,6 +291,7 @@ DBUS_INTERFACE_DOCS = \ docs/api/dbus-org.freedesktop.NetworkManager.Device.Adsl.xml \ docs/api/dbus-org.freedesktop.NetworkManager.AgentManager.xml \ docs/api/dbus-org.freedesktop.NetworkManager.Device.WiMax.xml \ + docs/api/dbus-org.freedesktop.NetworkManager.Device.Wpan.xml \ docs/api/dbus-org.freedesktop.NetworkManager.Device.IPTunnel.xml \ docs/api/dbus-org.freedesktop.NetworkManager.Device.Tun.xml \ docs/api/dbus-org.freedesktop.NetworkManager.Device.Bridge.xml \ @@ -356,6 +359,7 @@ dbusinterfaces_DATA = \ introspection/org.freedesktop.NetworkManager.Device.Vxlan.xml \ introspection/org.freedesktop.NetworkManager.Device.Wireless.xml \ introspection/org.freedesktop.NetworkManager.Device.WiMax.xml \ + introspection/org.freedesktop.NetworkManager.Device.Wpan.xml \ introspection/org.freedesktop.NetworkManager.Device.xml \ introspection/org.freedesktop.NetworkManager.DHCP4Config.xml \ introspection/org.freedesktop.NetworkManager.DHCP6Config.xml \ diff --git a/introspection/meson.build b/introspection/meson.build index b135a867da..a84bba7915 100644 --- a/introspection/meson.build +++ b/introspection/meson.build @@ -30,6 +30,7 @@ ifaces = [ 'org.freedesktop.NetworkManager.Device.Vlan', 'org.freedesktop.NetworkManager.Device.Vxlan', 'org.freedesktop.NetworkManager.Device.WiMax', + 'org.freedesktop.NetworkManager.Device.Wpan', 'org.freedesktop.NetworkManager.Device.Wired', 'org.freedesktop.NetworkManager.Device.Wireless', 'org.freedesktop.NetworkManager.Device', diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml b/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml new file mode 100644 index 0000000000..32bc6f95d4 --- /dev/null +++ b/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index ba31a37977..72ff708a0d 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -14,7 +14,7 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Copyright 2004 - 2017 Red Hat, Inc. + * Copyright 2004 - 2018 Red Hat, Inc. */ /* Definitions related to NetworkManager's D-Bus interfaces. @@ -75,6 +75,7 @@ #define NM_DBUS_INTERFACE_DEVICE_VXLAN NM_DBUS_INTERFACE_DEVICE ".Vxlan" #define NM_DBUS_INTERFACE_DEVICE_GRE NM_DBUS_INTERFACE_DEVICE ".Gre" #define NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL NM_DBUS_INTERFACE_DEVICE ".IPTunnel" +#define NM_DBUS_INTERFACE_DEVICE_WPAN NM_DBUS_INTERFACE_DEVICE ".Wpan" #define NM_DBUS_INTERFACE_DEVICE_STATISTICS NM_DBUS_INTERFACE_DEVICE ".Statistics" #define NM_DBUS_INTERFACE_CHECKPOINT NM_DBUS_INTERFACE ".Checkpoint"