mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 03:50:17 +01:00
platform: move ObjectType to nmp-object.h
This commit is contained in:
parent
359fe9f8c1
commit
d1e7554a90
2 changed files with 11 additions and 13 deletions
|
|
@ -60,6 +60,7 @@
|
|||
#include "nm-logging.h"
|
||||
#include "wifi/wifi-utils.h"
|
||||
#include "wifi/wifi-utils-wext.h"
|
||||
#include "nmp-object.h"
|
||||
|
||||
/* This is only included for the translation of VLAN flags */
|
||||
#include "nm-setting-vlan.h"
|
||||
|
|
@ -404,19 +405,6 @@ _support_kernel_extended_ifa_flags_get (void)
|
|||
* NMPlatform types and functions
|
||||
******************************************************************/
|
||||
|
||||
typedef enum {
|
||||
OBJECT_TYPE_UNKNOWN,
|
||||
OBJECT_TYPE_LINK,
|
||||
OBJECT_TYPE_IP4_ADDRESS,
|
||||
OBJECT_TYPE_IP6_ADDRESS,
|
||||
OBJECT_TYPE_IP4_ROUTE,
|
||||
OBJECT_TYPE_IP6_ROUTE,
|
||||
__OBJECT_TYPE_LAST,
|
||||
OBJECT_TYPE_MAX = __OBJECT_TYPE_LAST - 1,
|
||||
} ObjectType;
|
||||
|
||||
/******************************************************************/
|
||||
|
||||
typedef struct {
|
||||
struct nl_sock *nlh;
|
||||
struct nl_sock *nlh_event;
|
||||
|
|
|
|||
|
|
@ -25,5 +25,15 @@
|
|||
|
||||
#include "nm-platform.h"
|
||||
|
||||
typedef enum { /*< skip >*/
|
||||
OBJECT_TYPE_UNKNOWN,
|
||||
OBJECT_TYPE_LINK,
|
||||
OBJECT_TYPE_IP4_ADDRESS,
|
||||
OBJECT_TYPE_IP6_ADDRESS,
|
||||
OBJECT_TYPE_IP4_ROUTE,
|
||||
OBJECT_TYPE_IP6_ROUTE,
|
||||
__OBJECT_TYPE_LAST,
|
||||
OBJECT_TYPE_MAX = __OBJECT_TYPE_LAST - 1,
|
||||
} ObjectType;
|
||||
|
||||
#endif /* __NMP_OBJECT_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue