summaryrefslogtreecommitdiffstats
path: root/src/extra/icmp.c
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2021-08-13 14:44:36 +1000
committerPablo Neira Ayuso <pablo@netfilter.org>2021-08-15 14:06:42 +0200
commitbd7189f6fbe6648f5e61ca9aa1169ebaf846adde (patch)
tree2f698c960d721ab64526e7e590dc9f273f2a40b4 /src/extra/icmp.c
parent50b3846c1ea49580a6d2f6f68c98a3ffa2d75f88 (diff)
src: doc: Insert SYNOPSIS sections for man pages
In order to work with the post-processing logic in doxygen/Makefile.am, SYNOPSIS sections must be inserted at the end of the module description (text after \defgroup or \addtogroup) (becomes Detailed Description in the man page). Also a few minor updates including rename module uselessfns to do_not_use. Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/extra/icmp.c')
-rw-r--r--src/extra/icmp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/extra/icmp.c b/src/extra/icmp.c
index a97979b..eaade7b 100644
--- a/src/extra/icmp.c
+++ b/src/extra/icmp.c
@@ -19,6 +19,15 @@
/**
* \defgroup icmp ICMP helper functions
+ *
+ * \manonly
+.SH SYNOPSIS
+.nf
+\fB
+#include <libmnl/libmnl.h>
+#include <libnetfilter_queue/libnetfilter_queue_icmp.h>
+\endmanonly
+ *
* @{
*/