copy lib
Fork of GMMP by
Network/TCPclient/Utility.h@0:32c20cfb2b30, 2015-07-23 (annotated)
- Committer:
- lesmin
- Date:
- Thu Jul 23 00:55:15 2015 +0000
- Revision:
- 0:32c20cfb2b30
initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lesmin | 0:32c20cfb2b30 | 1 | #ifndef UTILITY_H_ |
lesmin | 0:32c20cfb2b30 | 2 | #define UTILITY_H_ |
lesmin | 0:32c20cfb2b30 | 3 | |
lesmin | 0:32c20cfb2b30 | 4 | #include "mbed.h" |
lesmin | 0:32c20cfb2b30 | 5 | #include <string.h> |
lesmin | 0:32c20cfb2b30 | 6 | |
lesmin | 0:32c20cfb2b30 | 7 | #ifdef __cplusplus |
lesmin | 0:32c20cfb2b30 | 8 | extern "C" { |
lesmin | 0:32c20cfb2b30 | 9 | #endif |
lesmin | 0:32c20cfb2b30 | 10 | |
lesmin | 0:32c20cfb2b30 | 11 | void delay(int ms); |
lesmin | 0:32c20cfb2b30 | 12 | char* strdup(const char* s); |
lesmin | 0:32c20cfb2b30 | 13 | |
lesmin | 0:32c20cfb2b30 | 14 | #ifdef __cplusplus |
lesmin | 0:32c20cfb2b30 | 15 | } |
lesmin | 0:32c20cfb2b30 | 16 | #endif |
lesmin | 0:32c20cfb2b30 | 17 | |
lesmin | 0:32c20cfb2b30 | 18 | #endif |