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