HTTPClient using static IP

Dependencies:   mbed

Committer:
mr_q
Date:
Mon May 30 11:53:37 2011 +0000
Revision:
0:d8f2f7d5f31b
v0.01 Draft

Who changed what in which revision?

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