Dependencies:   mbed

Committer:
robertcook
Date:
Wed Jun 13 18:39:46 2012 +0000
Revision:
0:32a0996dff0f

        

Who changed what in which revision?

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