Netservices modded to read fragmented HTTP respsonse/payload from special purpose server - 180 bytes only

Committer:
RodColeman
Date:
Thu Sep 08 10:41:36 2011 +0000
Revision:
0:8f5825f330b0
setDataLen hacked to 180bytes

Who changed what in which revision?

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