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