summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-03-14 08:16:49 (GMT)
committerThomas Haller <thaller@redhat.com>2022-03-14 08:17:19 (GMT)
commit0b44562c48b819576002fb1c7336834cd361caf1 (patch)
treebd44afd85703dcc443199e4aa6c0c1cb663ce7d8 /include
parent1c65ff714bb0a203113084dfbf548cc53bad7831 (diff)
downloadlibnl-0b44562c48b819576002fb1c7336834cd361caf1.zip
libnl-0b44562c48b819576002fb1c7336834cd361caf1.tar.gz
libnl-0b44562c48b819576002fb1c7336834cd361caf1.tar.bz2
route/mdb: hide rtnl_mdb_entry_alloc() from public API
"struct rtnl_mdb_entry" is a relatively simple object that keeps a few data fields. But there are no public setters in the API, so it's not useful to be able to allocate such an entry. Hide from public API. Also, it was already not listed in libnl-route-3.sym, and thus the symbol was hidden anyway.
Diffstat (limited to 'include')
-rw-r--r--include/netlink/route/mdb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/netlink/route/mdb.h b/include/netlink/route/mdb.h
index 9be8079..a65ea84 100644
--- a/include/netlink/route/mdb.h
+++ b/include/netlink/route/mdb.h
@@ -22,8 +22,6 @@ int rtnl_mdb_alloc_cache_flags(struct nl_sock *sock,
struct nl_cache **result,
unsigned int flags);
-struct rtnl_mdb_entry *rtnl_mdb_entry_alloc(void);
-
uint32_t rtnl_mdb_get_ifindex(struct rtnl_mdb *mdb);
void rtnl_mdb_add_entry(struct rtnl_mdb *mdb,
struct rtnl_mdb_entry *_entry);