mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 12:00:53 +00:00
Document lwIP error codes
This commit is contained in:
parent
52d6d696ae
commit
a7979d7d24
@ -43,6 +43,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup infrastructure_errors Error codes
|
||||||
|
* @ingroup infrastructure
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
/** Define LWIP_ERR_T in cc.h if you want to use
|
/** Define LWIP_ERR_T in cc.h if you want to use
|
||||||
* a different type for your platform (must be signed). */
|
* a different type for your platform (must be signed). */
|
||||||
#ifdef LWIP_ERR_T
|
#ifdef LWIP_ERR_T
|
||||||
@ -90,6 +96,10 @@ typedef s8_t err_t;
|
|||||||
/** Illegal argument. */
|
/** Illegal argument. */
|
||||||
#define ERR_ARG -16
|
#define ERR_ARG -16
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @}
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef LWIP_DEBUG
|
#ifdef LWIP_DEBUG
|
||||||
extern const char *lwip_strerr(err_t err);
|
extern const char *lwip_strerr(err_t err);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user