A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: udp/dns/dns.h
- Revision:
- 33:714a0345e59b
- Parent:
- 32:679654f2d023
- Child:
- 35:93c39d260a83
--- a/udp/dns/dns.h Thu Aug 17 14:21:02 2017 +0000 +++ b/udp/dns/dns.h Wed Aug 23 18:02:42 2017 +0000 @@ -3,6 +3,7 @@ extern void DnsProtocolToString (uint8_t protocol, int size, char* text); extern void DnsRecordTypeToString(uint8_t recordtype, int size, char* text); extern int DnsGetNextProtocol(int protocol); +extern bool DnsHostNamesEquate(char* pA, char* pB); extern int DnsMakeFullNameFromName (int protocol, char* name, int size, char* fqdn); extern int DnsStripNameFromFullName(int protocol, char* fqdn, int size, char* name);