|
||||
Warning, cross-references for /kernel/include/lwip/init.h need to be fixed.
0001 /* 0002 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 0003 * All rights reserved. 0004 * 0005 * Redistribution and use in source and binary forms, with or without modification, 0006 * are permitted provided that the following conditions are met: 0007 * 0008 * 1. Redistributions of source code must retain the above copyright notice, 0009 * this list of conditions and the following disclaimer. 0010 * 2. Redistributions in binary form must reproduce the above copyright notice, 0011 * this list of conditions and the following disclaimer in the documentation 0012 * and/or other materials provided with the distribution. 0013 * 3. The name of the author may not be used to endorse or promote products 0014 * derived from this software without specific prior written permission. 0015 * 0016 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 0017 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 0018 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 0019 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 0020 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 0021 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 0022 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 0023 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 0024 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 0025 * OF SUCH DAMAGE. 0026 * 0027 * This file is part of the lwIP TCP/IP stack. 0028 * 0029 * Author: Adam Dunkels <adam@sics.se> 0030 * 0031 */ 0032 #ifndef __LWIP_INIT_H__ 0033 #define __LWIP_INIT_H__ 0034 0035 #include "lwip/opt.h" 0036 0037 #ifdef __cplusplus 0038 extern "C" { 0039 #endif 0040 0041 /** X.x.x: Major version of the stack */ 0042 #define LWIP_VERSION_MAJOR 1U 0043 /** x.X.x: Minor version of the stack */ 0044 #define LWIP_VERSION_MINOR 3U 0045 /** x.x.X: Revision of the stack */ 0046 #define LWIP_VERSION_REVISION 2U 0047 /** For release candidates, this is set to 1..254 0048 * For official releases, this is set to 255 (LWIP_RC_RELEASE) 0049 * For development versions (CVS), this is set to 0 (LWIP_RC_DEVELOPMENT) */ 0050 #define LWIP_VERSION_RC 255U 0051 0052 /** LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases */ 0053 #define LWIP_RC_RELEASE 255U 0054 /** LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for CVS versions */ 0055 #define LWIP_RC_DEVELOPMENT 0U 0056 0057 #define LWIP_VERSION_IS_RELEASE (LWIP_VERSION_RC == LWIP_RC_RELEASE) 0058 #define LWIP_VERSION_IS_DEVELOPMENT (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT) 0059 #define LWIP_VERSION_IS_RC ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT)) 0060 0061 /** Provides the version of the stack */ 0062 #define LWIP_VERSION (LWIP_VERSION_MAJOR << 24 | LWIP_VERSION_MINOR << 16 | \ 0063 LWIP_VERSION_REVISION << 8 | LWIP_VERSION_RC) 0064 0065 /* Modules initialization */ 0066 void lwip_init(void); 0067 0068 #ifdef __cplusplus 0069 } 0070 #endif 0071 0072 #endif /* __LWIP_INIT_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 1.2.0 LXR engine. |