mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 06:48:07 +02:00
platform: mark internal enums to be skipped by glib-mkenums
No need to generate glib type information for these internal enums.
This commit is contained in:
parent
05db3ee08a
commit
a130f72d74
1 changed files with 4 additions and 4 deletions
|
|
@ -54,7 +54,7 @@ typedef struct _NMPlatform NMPlatform;
|
||||||
#define IFA_F_NOPREFIXROUTE 0x200
|
#define IFA_F_NOPREFIXROUTE 0x200
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum { /*< skip >*/
|
||||||
|
|
||||||
/* dummy value, to enforce that the enum type is signed and has a size
|
/* dummy value, to enforce that the enum type is signed and has a size
|
||||||
* to hold an integer. We want to encode errno from <errno.h> as negative
|
* to hold an integer. We want to encode errno from <errno.h> as negative
|
||||||
|
|
@ -74,7 +74,7 @@ typedef enum {
|
||||||
NM_PLATFORM_ERROR_NO_FIRMWARE,
|
NM_PLATFORM_ERROR_NO_FIRMWARE,
|
||||||
} NMPlatformError;
|
} NMPlatformError;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum { /*< skip >*/
|
||||||
NM_PLATFORM_REASON_NONE,
|
NM_PLATFORM_REASON_NONE,
|
||||||
/* Event was requested by NetworkManager. */
|
/* Event was requested by NetworkManager. */
|
||||||
NM_PLATFORM_REASON_INTERNAL,
|
NM_PLATFORM_REASON_INTERNAL,
|
||||||
|
|
@ -141,7 +141,7 @@ struct _NMPlatformLink {
|
||||||
guint mtu;
|
guint mtu;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum {
|
typedef enum { /*< skip >*/
|
||||||
NM_PLATFORM_SIGNAL_NONE,
|
NM_PLATFORM_SIGNAL_NONE,
|
||||||
NM_PLATFORM_SIGNAL_ADDED,
|
NM_PLATFORM_SIGNAL_ADDED,
|
||||||
NM_PLATFORM_SIGNAL_CHANGED,
|
NM_PLATFORM_SIGNAL_CHANGED,
|
||||||
|
|
@ -150,7 +150,7 @@ typedef enum {
|
||||||
|
|
||||||
#define NM_PLATFORM_LIFETIME_PERMANENT G_MAXUINT32
|
#define NM_PLATFORM_LIFETIME_PERMANENT G_MAXUINT32
|
||||||
|
|
||||||
typedef enum {
|
typedef enum { /*< skip >*/
|
||||||
NM_PLATFORM_GET_ROUTE_FLAGS_NONE = 0,
|
NM_PLATFORM_GET_ROUTE_FLAGS_NONE = 0,
|
||||||
|
|
||||||
/* Whether to include default-routes/non-default-routes. Omitting
|
/* Whether to include default-routes/non-default-routes. Omitting
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue