[PATCH 03/13] idiag: deprecate idiagnl_msg_obj_ops variable in public API

Thomas Haller thaller at redhat.com
Mon Nov 24 08:14:47 PST 2014


This internal structure should never have been exposed publically.
It as introduced as public API in v3.2.23.

For now, don't remove it as it would be an API/ABI break.

Fixes: 81d2b1d509d91fe894e4aec0a6a76b0bf75514cd
Signed-off-by: Thomas Haller <thaller at redhat.com>
---
 include/netlink/idiag/msg.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/netlink/idiag/msg.h b/include/netlink/idiag/msg.h
index 4aae606..01e30db 100644
--- a/include/netlink/idiag/msg.h
+++ b/include/netlink/idiag/msg.h
@@ -19,6 +19,8 @@ extern "C" {
 #endif /* __cplusplus */
 
 struct idiagnl_msg;
+
+/* @deprecated: DO NOT USE this variable. */
 extern struct nl_object_ops  idiagnl_msg_obj_ops;
 
 extern struct idiagnl_msg * idiagnl_msg_alloc(void);
-- 
1.9.3




More information about the libnl mailing list