TwitterExample with newer library (2012Aug)

Dependencies:   EthernetNetIf HTTPClient mbed

Committer:
nxpfan
Date:
Wed Aug 29 03:50:19 2012 +0000
Revision:
0:075157567b0c
simple twitter example with newer library

Who changed what in which revision?

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