From a7979d7d241e9fad60eebf9f46ebc5a86da909f0 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 31 Jul 2016 16:08:17 +0200 Subject: [PATCH] Document lwIP error codes --- src/include/lwip/err.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/include/lwip/err.h b/src/include/lwip/err.h index cad360a8..97a7ab85 100644 --- a/src/include/lwip/err.h +++ b/src/include/lwip/err.h @@ -43,6 +43,12 @@ extern "C" { #endif +/** + * @defgroup infrastructure_errors Error codes + * @ingroup infrastructure + * @{ + */ + /** Define LWIP_ERR_T in cc.h if you want to use * a different type for your platform (must be signed). */ #ifdef LWIP_ERR_T @@ -90,6 +96,10 @@ typedef s8_t err_t; /** Illegal argument. */ #define ERR_ARG -16 +/** + * @} + */ + #ifdef LWIP_DEBUG extern const char *lwip_strerr(err_t err); #else