Laser cutter software
Dependencies: EthernetNetIf mbed SDFileSystem
global.h@0:18ead85c200b, 2011-08-11 (annotated)
- Committer:
- pbrier
- Date:
- Thu Aug 11 09:33:15 2011 +0000
- Revision:
- 0:18ead85c200b
Laos server
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pbrier | 0:18ead85c200b | 1 | /* |
pbrier | 0:18ead85c200b | 2 | * global.h |
pbrier | 0:18ead85c200b | 3 | * Laos Controller, global header file, included in all other files |
pbrier | 0:18ead85c200b | 4 | * |
pbrier | 0:18ead85c200b | 5 | * Copyright (c) 2011 Peter Brier |
pbrier | 0:18ead85c200b | 6 | * |
pbrier | 0:18ead85c200b | 7 | * This file is part of the LaOS project (see: http://wiki.protospace.nl/index.php/LaOS) |
pbrier | 0:18ead85c200b | 8 | * |
pbrier | 0:18ead85c200b | 9 | * LaOS is free software: you can redistribute it and/or modify |
pbrier | 0:18ead85c200b | 10 | * it under the terms of the GNU General Public License as published by |
pbrier | 0:18ead85c200b | 11 | * the Free Software Foundation, either version 3 of the License, or |
pbrier | 0:18ead85c200b | 12 | * (at your option) any later version. |
pbrier | 0:18ead85c200b | 13 | * |
pbrier | 0:18ead85c200b | 14 | * LaOS is distributed in the hope that it will be useful, |
pbrier | 0:18ead85c200b | 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
pbrier | 0:18ead85c200b | 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
pbrier | 0:18ead85c200b | 17 | * GNU General Public License for more details. |
pbrier | 0:18ead85c200b | 18 | * |
pbrier | 0:18ead85c200b | 19 | * You should have received a copy of the GNU General Public License |
pbrier | 0:18ead85c200b | 20 | * along with LaOS. If not, see <http://www.gnu.org/licenses/>. |
pbrier | 0:18ead85c200b | 21 | * |
pbrier | 0:18ead85c200b | 22 | */ |
pbrier | 0:18ead85c200b | 23 | #ifndef _GLOBAL_H_ |
pbrier | 0:18ead85c200b | 24 | #define _GLOBAL_H_ |
pbrier | 0:18ead85c200b | 25 | |
pbrier | 0:18ead85c200b | 26 | #include "mbed.h" |
pbrier | 0:18ead85c200b | 27 | #include "LaosDisplay.h" |
pbrier | 0:18ead85c200b | 28 | |
pbrier | 0:18ead85c200b | 29 | typedef struct |
pbrier | 0:18ead85c200b | 30 | { |
pbrier | 0:18ead85c200b | 31 | int ip[4], gw[4], nm[4], dns[4], port; |
pbrier | 0:18ead85c200b | 32 | } IPInfo; |
pbrier | 0:18ead85c200b | 33 | extern IPInfo ipInfo; |
pbrier | 0:18ead85c200b | 34 | |
pbrier | 0:18ead85c200b | 35 | #endif |