diff options
author | Thomas Haller <thaller@redhat.com> | 2022-03-15 11:41:50 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-03-16 23:09:27 (GMT) |
commit | 2e0d7f85d2aeed9181a276079b5a28cc1c8e90ac (patch) | |
tree | 44b8862ed14661a0553a3c7abb67d150d69463b4 /include | |
parent | e8842867b16419cbef8078da9e9714cac32b74af (diff) | |
download | libnl-2e0d7f85d2aeed9181a276079b5a28cc1c8e90ac.zip libnl-2e0d7f85d2aeed9181a276079b5a28cc1c8e90ac.tar.gz libnl-2e0d7f85d2aeed9181a276079b5a28cc1c8e90ac.tar.bz2 |
lib: add rtnl_link_info_ops_get() and take lock for rtnl_link_info_ops's io_refcnt
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-private/route/link/api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink-private/route/link/api.h b/include/netlink-private/route/link/api.h index 5ce24b1..189f361 100644 --- a/include/netlink-private/route/link/api.h +++ b/include/netlink-private/route/link/api.h @@ -62,6 +62,7 @@ struct rtnl_link_info_ops }; extern struct rtnl_link_info_ops *rtnl_link_info_ops_lookup(const char *); +extern void rtnl_link_info_ops_get(struct rtnl_link_info_ops *); extern void rtnl_link_info_ops_put(struct rtnl_link_info_ops *); extern int rtnl_link_register_info(struct rtnl_link_info_ops *); extern int rtnl_link_unregister_info(struct rtnl_link_info_ops *); |