Dependencies:   mbed

Committer:
slowness
Date:
Tue Sep 06 18:10:36 2011 +0000
Revision:
0:cd4c47744fa1

        

Who changed what in which revision?

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