Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000.h
- Revision:
- 11:5e3771b29385
- Parent:
- 6:ac602a158403
- Child:
- 12:1c2a856c618a
- Child:
- 13:5e36c267e62f
diff -r 7069c5f1e6f4 -r 5e3771b29385 cc3000.h
--- a/cc3000.h Tue Oct 01 04:41:47 2013 +0000
+++ b/cc3000.h Tue Oct 01 21:17:44 2013 +0000
@@ -267,6 +267,7 @@
int32_t bind(int32_t sd, const sockaddr *addr, int32_t addrlen);
int32_t listen(int32_t sd, int32_t backlog);
#ifndef CC3000_TINY_DRIVER
+ int32_t gethostbyname(uint8_t * hostname, uint16_t name_length, uint32_t* out_ip_addr);
int32_t get_host_by_name(uint8_t * hostname, uint16_t name_length, uint32_t* out_ip_addr);
int32_t set_sockopt(int32_t sd, int32_t level, int32_t optname, const void *optval, socklen_t optlen);
#endif
