copy lib
Fork of GMMP by
Network/TCPclient/Utility.h@5:bb6c1ee1d5f0, 2015-08-13 (annotated)
- Committer:
- lesmin
- Date:
- Thu Aug 13 07:04:29 2015 +0000
- Revision:
- 5:bb6c1ee1d5f0
- Parent:
- 0:32c20cfb2b30
added NTP error return
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 |