From 4c36ff7062d6fe3287f6d6df782c64875d258252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Fri, 11 Jul 2014 10:08:49 +0200 Subject: [PATCH] include: add NM_DEVICE_CAP_IS_SOFTWARE capability for marking software devices. --- libnm-util/NetworkManager.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libnm-util/NetworkManager.h b/libnm-util/NetworkManager.h index 3d0e2ed261..08b4e6cf6b 100644 --- a/libnm-util/NetworkManager.h +++ b/libnm-util/NetworkManager.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 - 2013 Red Hat, Inc. + * Copyright 2004 - 2014 Red Hat, Inc. */ /* Definitions related to NetworkManager's D-Bus interfaces. @@ -179,6 +179,7 @@ typedef enum { * @NM_DEVICE_CAP_NONE: device has no special capabilities * @NM_DEVICE_CAP_NM_SUPPORTED: NetworkManager supports this device * @NM_DEVICE_CAP_CARRIER_DETECT: this device can indicate carrier status + * @NM_DEVICE_CAP_IS_SOFTWARE: this device is a software device * * General device capability flags. * @@ -187,7 +188,8 @@ typedef enum { typedef enum { NM_DEVICE_CAP_NONE = 0x00000000, NM_DEVICE_CAP_NM_SUPPORTED = 0x00000001, - NM_DEVICE_CAP_CARRIER_DETECT = 0x00000002 + NM_DEVICE_CAP_CARRIER_DETECT = 0x00000002, + NM_DEVICE_CAP_IS_SOFTWARE = 0x00000004, } NMDeviceCapabilities;