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