Suga koubou
/
WeatherStations
mbeduino + Weatherduino Weather Stations post test
EthernetNetIf/LPC2368/lwip/include/netif/slipif.h@0:10bcaa7c2253, 2010-10-26 (annotated)
- Committer:
- okini3939
- Date:
- Tue Oct 26 17:19:28 2010 +0000
- Revision:
- 0:10bcaa7c2253
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
okini3939 | 0:10bcaa7c2253 | 1 | /* |
okini3939 | 0:10bcaa7c2253 | 2 | * Copyright (c) 2001, Swedish Institute of Computer Science. |
okini3939 | 0:10bcaa7c2253 | 3 | * All rights reserved. |
okini3939 | 0:10bcaa7c2253 | 4 | * |
okini3939 | 0:10bcaa7c2253 | 5 | * Redistribution and use in source and binary forms, with or without |
okini3939 | 0:10bcaa7c2253 | 6 | * modification, are permitted provided that the following conditions |
okini3939 | 0:10bcaa7c2253 | 7 | * are met: |
okini3939 | 0:10bcaa7c2253 | 8 | * 1. Redistributions of source code must retain the above copyright |
okini3939 | 0:10bcaa7c2253 | 9 | * notice, this list of conditions and the following disclaimer. |
okini3939 | 0:10bcaa7c2253 | 10 | * 2. Redistributions in binary form must reproduce the above copyright |
okini3939 | 0:10bcaa7c2253 | 11 | * notice, this list of conditions and the following disclaimer in the |
okini3939 | 0:10bcaa7c2253 | 12 | * documentation and/or other materials provided with the distribution. |
okini3939 | 0:10bcaa7c2253 | 13 | * 3. Neither the name of the Institute nor the names of its contributors |
okini3939 | 0:10bcaa7c2253 | 14 | * may be used to endorse or promote products derived from this software |
okini3939 | 0:10bcaa7c2253 | 15 | * without specific prior written permission. |
okini3939 | 0:10bcaa7c2253 | 16 | * |
okini3939 | 0:10bcaa7c2253 | 17 | * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND |
okini3939 | 0:10bcaa7c2253 | 18 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
okini3939 | 0:10bcaa7c2253 | 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
okini3939 | 0:10bcaa7c2253 | 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE |
okini3939 | 0:10bcaa7c2253 | 21 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
okini3939 | 0:10bcaa7c2253 | 22 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
okini3939 | 0:10bcaa7c2253 | 23 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
okini3939 | 0:10bcaa7c2253 | 24 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
okini3939 | 0:10bcaa7c2253 | 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
okini3939 | 0:10bcaa7c2253 | 26 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
okini3939 | 0:10bcaa7c2253 | 27 | * SUCH DAMAGE. |
okini3939 | 0:10bcaa7c2253 | 28 | * |
okini3939 | 0:10bcaa7c2253 | 29 | * This file is part of the lwIP TCP/IP stack. |
okini3939 | 0:10bcaa7c2253 | 30 | * |
okini3939 | 0:10bcaa7c2253 | 31 | * Author: Adam Dunkels <adam@sics.se> |
okini3939 | 0:10bcaa7c2253 | 32 | * |
okini3939 | 0:10bcaa7c2253 | 33 | */ |
okini3939 | 0:10bcaa7c2253 | 34 | #ifndef __NETIF_SLIPIF_H__ |
okini3939 | 0:10bcaa7c2253 | 35 | #define __NETIF_SLIPIF_H__ |
okini3939 | 0:10bcaa7c2253 | 36 | |
okini3939 | 0:10bcaa7c2253 | 37 | #include "lwip/netif.h" |
okini3939 | 0:10bcaa7c2253 | 38 | |
okini3939 | 0:10bcaa7c2253 | 39 | #ifdef __cplusplus |
okini3939 | 0:10bcaa7c2253 | 40 | extern "C" { |
okini3939 | 0:10bcaa7c2253 | 41 | #endif |
okini3939 | 0:10bcaa7c2253 | 42 | |
okini3939 | 0:10bcaa7c2253 | 43 | err_t slipif_init(struct netif * netif); |
okini3939 | 0:10bcaa7c2253 | 44 | void slipif_poll(struct netif *netif); |
okini3939 | 0:10bcaa7c2253 | 45 | |
okini3939 | 0:10bcaa7c2253 | 46 | #ifdef __cplusplus |
okini3939 | 0:10bcaa7c2253 | 47 | } |
okini3939 | 0:10bcaa7c2253 | 48 | #endif |
okini3939 | 0:10bcaa7c2253 | 49 | |
okini3939 | 0:10bcaa7c2253 | 50 | #endif |
okini3939 | 0:10bcaa7c2253 | 51 |