include: mark flags as such (bgo #643011)

This commit is contained in:
Giovanni Campagna
2011-03-16 01:38:21 -05:00
committed by Dan Williams
parent ead5869825
commit 86e3d935a2

View File

@@ -138,6 +138,7 @@ typedef enum {
/* 802.11 Access Point flags */ /* 802.11 Access Point flags */
typedef enum { typedef enum {
/*< flags >*/
NM_802_11_AP_FLAGS_NONE = 0x00000000, NM_802_11_AP_FLAGS_NONE = 0x00000000,
NM_802_11_AP_FLAGS_PRIVACY = 0x00000001 NM_802_11_AP_FLAGS_PRIVACY = 0x00000001
} NM80211ApFlags; } NM80211ApFlags;
@@ -150,6 +151,7 @@ typedef enum {
* information elements. * information elements.
*/ */
typedef enum { typedef enum {
/*< flags >*/
NM_802_11_AP_SEC_NONE = 0x00000000, NM_802_11_AP_SEC_NONE = 0x00000000,
NM_802_11_AP_SEC_PAIR_WEP40 = 0x00000001, NM_802_11_AP_SEC_PAIR_WEP40 = 0x00000001,
NM_802_11_AP_SEC_PAIR_WEP104 = 0x00000002, NM_802_11_AP_SEC_PAIR_WEP104 = 0x00000002,
@@ -183,6 +185,7 @@ typedef enum {
* Bluetooth device. * Bluetooth device.
*/ */
typedef enum { typedef enum {
/*< flags >*/
NM_BT_CAPABILITY_NONE = 0x00000000, NM_BT_CAPABILITY_NONE = 0x00000000,
NM_BT_CAPABILITY_DUN = 0x00000001, NM_BT_CAPABILITY_DUN = 0x00000001,
NM_BT_CAPABILITY_NAP = 0x00000002, NM_BT_CAPABILITY_NAP = 0x00000002,
@@ -205,6 +208,7 @@ typedef enum {
* API. * API.
*/ */
typedef enum { typedef enum {
/*< flags >*/
NM_DEVICE_MODEM_CAPABILITY_NONE = 0x00000000, NM_DEVICE_MODEM_CAPABILITY_NONE = 0x00000000,
NM_DEVICE_MODEM_CAPABILITY_POTS = 0x00000001, NM_DEVICE_MODEM_CAPABILITY_POTS = 0x00000001,
NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO = 0x00000002, NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO = 0x00000002,