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: oldheating gps motorhome heating
Diff: resolve/nraddr.h
- Revision:
- 176:7eb916c22084
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resolve/nraddr.h Sat Dec 26 17:07:02 2020 +0000 @@ -0,0 +1,14 @@ +#include <stdint.h> +#include <stdbool.h> + +extern void NrAddrClear (char* ip); +extern bool NrAddrIsEmpty(const char* ip); +extern bool NrAddrIsIp4 (const char* ip); +extern bool NrAddrIsIp6 (const char* ip); +extern void NrAddrFromIp4(char* ip, const uint32_t ip4); +extern uint32_t NrAddrToIp4 (const char* ip); + +extern bool NrAddrIsSame (const char* ipA, const char* ipB); +extern int NrAddrLog (const char* ip); +extern int NrAddrHttp (const char* ip); +extern void NrAddrCopy (char* ipTo, const char* ipFrom); \ No newline at end of file