A modified version of http://mbed.org/users/segundo/libraries/NetServices/ljhqix to add HTTP proxy feature (based on http://mbed.org/users/igorsk/programs/NetServicesSource/ltjpag)

Dependents:   SenseClient

Committer:
mimil
Date:
Tue Sep 06 13:26:45 2011 +0000
Revision:
0:308f83189a3f

        

Who changed what in which revision?

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