The Pedigree Project  0.1
Macros
Version

Macros

#define LWIP_VERSION_MAJOR   2
 
#define LWIP_VERSION_MINOR   0
 
#define LWIP_VERSION_REVISION   2
 
#define LWIP_VERSION_RC   LWIP_RC_RELEASE
 
#define LWIP_RC_RELEASE   255
 
#define LWIP_RC_DEVELOPMENT   0
 
#define LWIP_VERSION_IS_RELEASE   (LWIP_VERSION_RC == LWIP_RC_RELEASE)
 
#define LWIP_VERSION_IS_DEVELOPMENT   (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)
 
#define LWIP_VERSION_IS_RC   ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT))
 
#define LWIP_VERSTR2(x)   #x
 
#define LWIP_VERSTR(x)   LWIP_VERSTR2(x)
 
#define LWIP_VERSION_STRING_SUFFIX   ""
 
#define LWIP_VERSION
 
#define LWIP_VERSION_STRING   LWIP_VERSTR(LWIP_VERSION_MAJOR) "." LWIP_VERSTR(LWIP_VERSION_MINOR) "." LWIP_VERSTR(LWIP_VERSION_REVISION) LWIP_VERSION_STRING_SUFFIX
 

Detailed Description

Macro Definition Documentation

#define LWIP_RC_DEVELOPMENT   0

LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for Git versions

Definition at line 85 of file init.h.

#define LWIP_RC_RELEASE   255

LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases

Definition at line 83 of file init.h.

#define LWIP_VERSION
Value:
(((u32_t)LWIP_VERSION_MAJOR) << 24 | ((u32_t)LWIP_VERSION_MINOR) << 16 | \
((u32_t)LWIP_VERSION_REVISION) << 8 | ((u32_t)LWIP_VERSION_RC))
#define LWIP_VERSION_MINOR
Definition: init.h:74
#define LWIP_VERSION_MAJOR
Definition: init.h:72
#define LWIP_VERSION_REVISION
Definition: init.h:76
#define LWIP_VERSION_RC
Definition: init.h:80

Provides the version of the stack

Definition at line 103 of file init.h.

#define LWIP_VERSION_MAJOR   2

X.x.x: Major version of the stack

Definition at line 72 of file init.h.

#define LWIP_VERSION_MINOR   0

x.X.x: Minor version of the stack

Definition at line 74 of file init.h.

#define LWIP_VERSION_RC   LWIP_RC_RELEASE

For release candidates, this is set to 1..254 For official releases, this is set to 255 (LWIP_RC_RELEASE) For development versions (Git), this is set to 0 (LWIP_RC_DEVELOPMENT)

Definition at line 80 of file init.h.

#define LWIP_VERSION_REVISION   2

x.x.X: Revision of the stack

Definition at line 76 of file init.h.

#define LWIP_VERSION_STRING   LWIP_VERSTR(LWIP_VERSION_MAJOR) "." LWIP_VERSTR(LWIP_VERSION_MINOR) "." LWIP_VERSTR(LWIP_VERSION_REVISION) LWIP_VERSION_STRING_SUFFIX

Provides the version of the stack as string

Definition at line 106 of file init.h.