summaryrefslogtreecommitdiff
path: root/src/iftable.c
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2019-10-27 19:49:06 +1100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-11-04 18:24:44 +0100
commite46569cd8583fd0ed4ed20fc51ff7e2b875c2d11 (patch)
treec6cd0beed37ebd9133e7eafec8db174042536777 /src/iftable.c
parent5087de4556d1367fad54b3ea1cd38a770a15995c (diff)
downloadlibnfnetlink-e46569cd8583fd0ed4ed20fc51ff7e2b875c2d11.tar.gz
Minimally resurrect doxygen documentation
The documentation was written in the days before doxygen required groups or even doxygen.cfg, so create doxygen.cfg.in and introduce one \defgroup per source file, encompassing pretty-much the whole file. Also add a tiny \mainpage. Added: doxygen.cfg.in: Same as for libmnl except FILE_PATTERNS = *.c libnfnetlink.h Updated: configure.ac: Create doxygen.cfg src/iftable.c: Add defgroup src/libnfnetlink.c: Add mainpage and defgroup Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/iftable.c')
-rw-r--r--src/iftable.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/iftable.c b/src/iftable.c
index 157f97b..6d1d135 100644
--- a/src/iftable.c
+++ b/src/iftable.c
@@ -24,6 +24,11 @@
#include "rtnl.h"
#include "linux_list.h"
+/**
+ * \defgroup iftable Functions in iftable.c
+ * @{
+ */
+
struct ifindex_node {
struct list_head head;
@@ -333,3 +338,7 @@ int nlif_fd(struct nlif_handle *h)
return -1;
}
+
+/**
+ * @}
+ */