Document lwIP error codes

This commit is contained in:
Dirk Ziegelmeier 2016-07-31 16:08:17 +02:00
parent 52d6d696ae
commit a7979d7d24

View File

@ -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