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