diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-03-17 13:44:56 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-03-17 13:44:56 (GMT) |
commit | ae5dfb1cc7268c5134a1ee1c911f3792b80ff7ea (patch) | |
tree | 99278854f58cede506aa9b5b88f04ed0fad65258 /include | |
parent | 59c3474b3dc2f3e5827d1d98e4e6af7206b8ae67 (diff) | |
download | libnl-ae5dfb1cc7268c5134a1ee1c911f3792b80ff7ea.zip libnl-ae5dfb1cc7268c5134a1ee1c911f3792b80ff7ea.tar.gz libnl-ae5dfb1cc7268c5134a1ee1c911f3792b80ff7ea.tar.bz2 |
Make struct nl_object public, NLHDR_COMMON has been public anyway
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 |