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