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

Committer:
RodColeman
Date:
Thu Sep 08 10:48:09 2011 +0000
Revision:
0:850eacf3e945
revised fixed length to 178 bytes

Who changed what in which revision?

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