summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-07-11 10:08:49 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-07-11 11:32:39 +0200
commit8a8bdf6554a761f217a0f0c57a784d68b23991c2 (patch)
tree3ded28393de78796d440bceb6db8446f9111b646
parent397762c2c7211dc804d8ba7e2f1c7be8247aa0d0 (diff)
downloadNetworkManager-8a8bdf6554a761f217a0f0c57a784d68b23991c2.tar.gz
include: add NM_DEVICE_CAP_IS_SOFTWARE capability
-rw-r--r--include/NetworkManager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/NetworkManager.h b/include/NetworkManager.h
index 3fee1af00d..c74f56c6c7 100644
--- a/include/NetworkManager.h
+++ b/include/NetworkManager.h
@@ -17,7 +17,7 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
- * (C) Copyright 2004 - 2013 Red Hat, Inc.
+ * (C) Copyright 2004 - 2014 Red Hat, Inc.
*/
#ifndef NETWORK_MANAGER_H
@@ -170,13 +170,15 @@ 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.
**/
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;