summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-03-17 14:44:56 +0100
committerThomas Graf <tgraf@suug.ch>2011-03-17 14:44:56 +0100
commitae5dfb1cc7268c5134a1ee1c911f3792b80ff7ea (patch)
tree99278854f58cede506aa9b5b88f04ed0fad65258
parent59c3474b3dc2f3e5827d1d98e4e6af7206b8ae67 (diff)
downloadlibnl-ae5dfb1cc7268c5134a1ee1c911f3792b80ff7ea.tar.gz
Make struct nl_object public, NLHDR_COMMON has been public anyway
-rw-r--r--include/netlink-types.h5
-rw-r--r--include/netlink/object-api.h6
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