all: drop /*<skip>*/ annotations for enums
We don't run glib-mkenums for certain sources like "core" and "libnm-glib-aux". These annotations have no effect. Drop them. They also mess with the automated formatting.
This commit is contained in:
@@ -105,7 +105,7 @@ typedef enum NMActStageReturn NMActStageReturn;
|
|||||||
* a condition, so that adding a flag might make a connection available that would
|
* a condition, so that adding a flag might make a connection available that would
|
||||||
* not be available otherwise. Adding a flag should never make a connection
|
* not be available otherwise. Adding a flag should never make a connection
|
||||||
* not available if it would be available otherwise. */
|
* not available if it would be available otherwise. */
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
NM_DEVICE_CHECK_CON_AVAILABLE_NONE = 0,
|
NM_DEVICE_CHECK_CON_AVAILABLE_NONE = 0,
|
||||||
|
|
||||||
/* since NM_DEVICE_CHECK_CON_AVAILABLE_FOR_USER_REQUEST is a collection of flags with more fine grained
|
/* since NM_DEVICE_CHECK_CON_AVAILABLE_FOR_USER_REQUEST is a collection of flags with more fine grained
|
||||||
@@ -149,7 +149,7 @@ struct _NMDevice {
|
|||||||
|
|
||||||
/* The flags have an relaxing meaning, that means, specifying more flags, can make
|
/* The flags have an relaxing meaning, that means, specifying more flags, can make
|
||||||
* a device appear more available. It can never make a device less available. */
|
* a device appear more available. It can never make a device less available. */
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
NM_DEVICE_CHECK_DEV_AVAILABLE_NONE = 0,
|
NM_DEVICE_CHECK_DEV_AVAILABLE_NONE = 0,
|
||||||
|
|
||||||
/* the device is considered available, even if it has no carrier.
|
/* the device is considered available, even if it has no carrier.
|
||||||
@@ -158,8 +158,7 @@ typedef enum { /*< skip >*/
|
|||||||
* on the type. So, for them, this flag has no effect anyway. */
|
* on the type. So, for them, this flag has no effect anyway. */
|
||||||
_NM_DEVICE_CHECK_DEV_AVAILABLE_IGNORE_CARRIER = (1L << 0),
|
_NM_DEVICE_CHECK_DEV_AVAILABLE_IGNORE_CARRIER = (1L << 0),
|
||||||
|
|
||||||
NM_DEVICE_CHECK_DEV_AVAILABLE_FOR_USER_REQUEST =
|
NM_DEVICE_CHECK_DEV_AVAILABLE_FOR_USER_REQUEST = _NM_DEVICE_CHECK_DEV_AVAILABLE_IGNORE_CARRIER,
|
||||||
_NM_DEVICE_CHECK_DEV_AVAILABLE_IGNORE_CARRIER,
|
|
||||||
|
|
||||||
NM_DEVICE_CHECK_DEV_AVAILABLE_ALL = (1L << 1) - 1,
|
NM_DEVICE_CHECK_DEV_AVAILABLE_ALL = (1L << 1) - 1,
|
||||||
} NMDeviceCheckDevAvailableFlags;
|
} NMDeviceCheckDevAvailableFlags;
|
||||||
|
@@ -7,13 +7,13 @@
|
|||||||
#ifndef __NM_RFKILL_MANAGER_H__
|
#ifndef __NM_RFKILL_MANAGER_H__
|
||||||
#define __NM_RFKILL_MANAGER_H__
|
#define __NM_RFKILL_MANAGER_H__
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
RFKILL_UNBLOCKED = 0,
|
RFKILL_UNBLOCKED = 0,
|
||||||
RFKILL_SOFT_BLOCKED = 1,
|
RFKILL_SOFT_BLOCKED = 1,
|
||||||
RFKILL_HARD_BLOCKED = 2
|
RFKILL_HARD_BLOCKED = 2,
|
||||||
} RfKillState;
|
} RfKillState;
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
RFKILL_TYPE_WLAN = 0,
|
RFKILL_TYPE_WLAN = 0,
|
||||||
RFKILL_TYPE_WWAN = 1,
|
RFKILL_TYPE_WWAN = 1,
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ typedef enum { /*< skip >*/
|
|||||||
* used as an array size.
|
* used as an array size.
|
||||||
*/
|
*/
|
||||||
RFKILL_TYPE_UNKNOWN, /* KEEP LAST */
|
RFKILL_TYPE_UNKNOWN, /* KEEP LAST */
|
||||||
RFKILL_TYPE_MAX = RFKILL_TYPE_UNKNOWN
|
RFKILL_TYPE_MAX = RFKILL_TYPE_UNKNOWN,
|
||||||
} RfKillType;
|
} RfKillType;
|
||||||
|
|
||||||
#define NM_TYPE_RFKILL_MANAGER (nm_rfkill_manager_get_type())
|
#define NM_TYPE_RFKILL_MANAGER (nm_rfkill_manager_get_type())
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
/* Log domains */
|
/* Log domains */
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
LOGD_NONE = 0LL,
|
LOGD_NONE = 0LL,
|
||||||
LOGD_PLATFORM = (1LL << 0), /* Platform services */
|
LOGD_PLATFORM = (1LL << 0), /* Platform services */
|
||||||
LOGD_RFKILL = (1LL << 1),
|
LOGD_RFKILL = (1LL << 1),
|
||||||
@@ -64,7 +64,8 @@ typedef enum { /*< skip >*/
|
|||||||
} NMLogDomain;
|
} NMLogDomain;
|
||||||
|
|
||||||
/* Log levels */
|
/* Log levels */
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
|
|
||||||
LOGL_TRACE,
|
LOGL_TRACE,
|
||||||
LOGL_DEBUG,
|
LOGL_DEBUG,
|
||||||
LOGL_INFO,
|
LOGL_INFO,
|
||||||
|
@@ -259,7 +259,7 @@ struct _NMPlatformLink {
|
|||||||
bool initialized : 1;
|
bool initialized : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
NM_PLATFORM_SIGNAL_ID_NONE,
|
NM_PLATFORM_SIGNAL_ID_NONE,
|
||||||
NM_PLATFORM_SIGNAL_ID_LINK,
|
NM_PLATFORM_SIGNAL_ID_LINK,
|
||||||
NM_PLATFORM_SIGNAL_ID_IP4_ADDRESS,
|
NM_PLATFORM_SIGNAL_ID_IP4_ADDRESS,
|
||||||
|
@@ -91,13 +91,13 @@ typedef struct _NMPWireGuardPeer {
|
|||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
NMP_OBJECT_TO_STRING_ID,
|
NMP_OBJECT_TO_STRING_ID,
|
||||||
NMP_OBJECT_TO_STRING_PUBLIC,
|
NMP_OBJECT_TO_STRING_PUBLIC,
|
||||||
NMP_OBJECT_TO_STRING_ALL,
|
NMP_OBJECT_TO_STRING_ALL,
|
||||||
} NMPObjectToStringMode;
|
} NMPObjectToStringMode;
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
NMP_CACHE_OPS_UNCHANGED = NM_PLATFORM_SIGNAL_NONE,
|
NMP_CACHE_OPS_UNCHANGED = NM_PLATFORM_SIGNAL_NONE,
|
||||||
NMP_CACHE_OPS_ADDED = NM_PLATFORM_SIGNAL_ADDED,
|
NMP_CACHE_OPS_ADDED = NM_PLATFORM_SIGNAL_ADDED,
|
||||||
NMP_CACHE_OPS_UPDATED = NM_PLATFORM_SIGNAL_CHANGED,
|
NMP_CACHE_OPS_UPDATED = NM_PLATFORM_SIGNAL_CHANGED,
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#include "nm-utils.h"
|
#include "nm-utils.h"
|
||||||
#include "libnmt-newt/nmt-newt.h"
|
#include "libnmt-newt/nmt-newt.h"
|
||||||
|
|
||||||
typedef enum { /*< skip >*/
|
typedef enum {
|
||||||
NMT_MAC_ENTRY_TYPE_MAC,
|
NMT_MAC_ENTRY_TYPE_MAC,
|
||||||
NMT_MAC_ENTRY_TYPE_CLONED,
|
NMT_MAC_ENTRY_TYPE_CLONED,
|
||||||
} NmtMacEntryType;
|
} NmtMacEntryType;
|
||||||
|
Reference in New Issue
Block a user