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