diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-types.h | 5 | ||||
-rw-r--r-- | include/netlink/object-api.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/netlink-types.h b/include/netlink-types.h index 24911b9..de17f9a 100644 --- a/include/netlink-types.h +++ b/include/netlink-types.h @@ -101,11 +101,6 @@ struct nl_parser_param; #define NL_OBJ_MARK 1 -struct nl_object -{ - NLHDR_COMMON -}; - struct nl_data { size_t d_size; diff --git a/include/netlink/object-api.h b/include/netlink/object-api.h index b3337f0..70a4ddd 100644 --- a/include/netlink/object-api.h +++ b/include/netlink/object-api.h @@ -190,6 +190,12 @@ extern "C" { int ce_flags; \ uint32_t ce_mask; +struct nl_object +{ + NLHDR_COMMON +}; + + /** * Return true if attribute is available in both objects * @arg A an object |