bruno LARNAUDIE
/
HTTPServer
EthernetNetIf/LPC2368/drv/eth/eth_drv.h@0:58c3d014a4e7, 2011-09-06 (annotated)
- Committer:
- slowness
- Date:
- Tue Sep 06 18:05:46 2011 +0000
- Revision:
- 0:58c3d014a4e7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
slowness | 0:58c3d014a4e7 | 1 | |
slowness | 0:58c3d014a4e7 | 2 | /* |
slowness | 0:58c3d014a4e7 | 3 | Copyright (c) 2010 Donatien Garnier (donatiengar [at] gmail [dot] com) |
slowness | 0:58c3d014a4e7 | 4 | |
slowness | 0:58c3d014a4e7 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy |
slowness | 0:58c3d014a4e7 | 6 | of this software and associated documentation files (the "Software"), to deal |
slowness | 0:58c3d014a4e7 | 7 | in the Software without restriction, including without limitation the rights |
slowness | 0:58c3d014a4e7 | 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
slowness | 0:58c3d014a4e7 | 9 | copies of the Software, and to permit persons to whom the Software is |
slowness | 0:58c3d014a4e7 | 10 | furnished to do so, subject to the following conditions: |
slowness | 0:58c3d014a4e7 | 11 | |
slowness | 0:58c3d014a4e7 | 12 | The above copyright notice and this permission notice shall be included in |
slowness | 0:58c3d014a4e7 | 13 | all copies or substantial portions of the Software. |
slowness | 0:58c3d014a4e7 | 14 | |
slowness | 0:58c3d014a4e7 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
slowness | 0:58c3d014a4e7 | 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
slowness | 0:58c3d014a4e7 | 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
slowness | 0:58c3d014a4e7 | 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
slowness | 0:58c3d014a4e7 | 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
slowness | 0:58c3d014a4e7 | 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
slowness | 0:58c3d014a4e7 | 21 | THE SOFTWARE. |
slowness | 0:58c3d014a4e7 | 22 | */ |
slowness | 0:58c3d014a4e7 | 23 | |
slowness | 0:58c3d014a4e7 | 24 | #ifndef ETHDRV_H |
slowness | 0:58c3d014a4e7 | 25 | #define ETHDRV_H |
slowness | 0:58c3d014a4e7 | 26 | |
slowness | 0:58c3d014a4e7 | 27 | #ifdef __cplusplus |
slowness | 0:58c3d014a4e7 | 28 | extern "C" { |
slowness | 0:58c3d014a4e7 | 29 | #endif |
slowness | 0:58c3d014a4e7 | 30 | |
slowness | 0:58c3d014a4e7 | 31 | void eth_poll(); |
slowness | 0:58c3d014a4e7 | 32 | err_t eth_init(struct netif* netif); |
slowness | 0:58c3d014a4e7 | 33 | void eth_address(char* mac); |
slowness | 0:58c3d014a4e7 | 34 | void eth_free(); |
slowness | 0:58c3d014a4e7 | 35 | |
slowness | 0:58c3d014a4e7 | 36 | #ifdef __cplusplus |
slowness | 0:58c3d014a4e7 | 37 | }; |
slowness | 0:58c3d014a4e7 | 38 | #endif |
slowness | 0:58c3d014a4e7 | 39 | |
slowness | 0:58c3d014a4e7 | 40 | #endif |