summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-11 15:38:53 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-11-11 15:38:53 (GMT)
commit12b82e4f6f7eb52d249534b85f4634263567cd84 (patch)
treee8f10f30b63223f60bcee9c6f648ec48df4d182a /include
parent67aeb7474f3242bf9dc2e43b860643aa1da41a6e (diff)
downloadlibnl-12b82e4f6f7eb52d249534b85f4634263567cd84.zip
libnl-12b82e4f6f7eb52d249534b85f4634263567cd84.tar.gz
libnl-12b82e4f6f7eb52d249534b85f4634263567cd84.tar.bz2
link/api: Improve API documentation.
Diffstat (limited to 'include')
-rw-r--r--include/netlink/route/link/api.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/netlink/route/link/api.h b/include/netlink/route/link/api.h
index 42c00d9..8222e23 100644
--- a/include/netlink/route/link/api.h
+++ b/include/netlink/route/link/api.h
@@ -19,16 +19,16 @@ extern "C" {
#endif
/**
- * @ingroup link_info
+ * @ingroup link_api
*
- * Link info operations
+ * Available operations to modules implementing a link info type.
*/
struct rtnl_link_info_ops
{
- /** Name of operations, must match name on kernel side */
+ /** Name of link info type, must match name on kernel side */
char * io_name;
- /** Reference count (internal, do not use) */
+ /** Reference count, DO NOT MODIFY */
int io_refcnt;
/** Called to assign an info type to a link.
@@ -69,6 +69,11 @@ extern int rtnl_link_register_info(struct rtnl_link_info_ops *);
extern int rtnl_link_unregister_info(struct rtnl_link_info_ops *);
+/**
+ * @ingroup link_api
+ *
+ * Available operations to modules implementing a link address family.
+ */
struct rtnl_link_af_ops
{
/** The address family this operations set implements */