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.
Dependents: HelloWorld ServoInterfaceBoardExample1 4180_Lab4
Diff: if/lwip/lwipNetDnsRequest.h
- Revision:
- 2:a4f97773c90f
- Parent:
- 0:632c9925f013
- Child:
- 3:95e0bc00a1bb
diff -r abb442332fa8 -r a4f97773c90f if/lwip/lwipNetDnsRequest.h --- a/if/lwip/lwipNetDnsRequest.h Mon Jun 14 10:33:54 2010 +0000 +++ b/if/lwip/lwipNetDnsRequest.h Fri Jun 18 09:22:54 2010 +0000 @@ -39,6 +39,8 @@ //Execute request & return OK if found, NOTFOUND or ERROR on error, or PROCESSING if the request has not completed yet virtual void poll(); + + virtual void close(); protected: void foundCb(const char *name, ip_addr_t *ipaddr); @@ -58,6 +60,10 @@ //Static callbacks : Transforms into a C++ callback static void sFoundCb(const char *name, ip_addr_t *ipaddr, void *arg); + + static void dnsTick(); + + bool m_closing; }; #endif