Copy of NetServicesMin with the HTTP Client library. Includes modification for HTTP servers which send the HTTP status line in its own packet.

Committer:
andrewbonney
Date:
Thu May 26 10:02:40 2011 +0000
Revision:
0:18dd877d2c77

        

Who changed what in which revision?

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