From f7e12d835c0bdc77655b2129ee1a1c93ea66335b Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 28 Jul 2016 08:05:57 +0200 Subject: [PATCH] Add NETBIOSNS options to doxygen docs --- src/include/lwip/apps/netbiosns_opts.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/apps/netbiosns_opts.h b/src/include/lwip/apps/netbiosns_opts.h index 9fe35022..870b9fdf 100644 --- a/src/include/lwip/apps/netbiosns_opts.h +++ b/src/include/lwip/apps/netbiosns_opts.h @@ -34,13 +34,19 @@ #include "lwip/opt.h" +/** + * @defgroup netbiosns_opts Options + * @ingroup netbiosns + * @{ + */ + /** Since there's no standard function for case-insensitive string comparision, * we need another define here: * define this to stricmp() for windows or strcasecmp() for linux. * If not defined, comparision is case sensitive and the provided hostname must be * uppercase. */ -#ifndef NETBIOS_STRCMP +#if !defined NETBIOS_STRCMP || defined __DOXYGEN__ #define NETBIOS_STRCMP(str1, str2) strcmp(str1, str2) #endif @@ -52,7 +58,12 @@ * * If this is not defined, netbiosns_set_name() can be called at runtime to change the name. */ -/*#define NETBIOS_LWIP_NAME "NETBIOSLWIPDEV"*/ +#ifdef __DOXYGEN__ +#define NETBIOS_LWIP_NAME "NETBIOSLWIPDEV" +#endif +/** + * @} + */ #endif /* LWIP_HDR_APPS_NETBIOS_OPTS_H */