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