Ethernetwebsoc

Dependencies:   C12832_lcd LM75B WebSocketClient mbed-rtos mbed Socket lwip-eth lwip-sys lwip

Committer:
GordonSin
Date:
Fri May 31 04:09:54 2013 +0000
Revision:
0:0ed2a7c7190c
31/5/2013;

Who changed what in which revision?

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