Used in Live Traffic Update Nokia LCD Display Project

Fork of NetServices by Segundo Equipo

Committer:
rrajan8
Date:
Wed Mar 06 19:07:23 2013 +0000
Revision:
8:92b57208ab99
Parent:
0:ac1725ba162c
This project utilizes mbed's networking features to display live traffic updates on the Nokia LCD using the MapQuest API's Traffic Web Service.

Who changed what in which revision?

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