no working tcp

Dependencies:   mbed

Committer:
brleme
Date:
Fri Dec 24 00:37:51 2010 +0000
Revision:
0:39a067b5ae32

        

Who changed what in which revision?

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