Dependencies:   mbed

Committer:
gbeardall
Date:
Mon Oct 17 10:39:17 2011 +0000
Revision:
0:715023d993d6

        

Who changed what in which revision?

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