mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-29 12:14:28 +00:00
Document lwIP error codes
This commit is contained in:
parent
52d6d696ae
commit
a7979d7d24
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user