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

resolve/nr6.h

Committer:
andrewboyson
Date:
2019-09-29
Revision:
160:6a1d1d368f80
Parent:
140:9000ea70b220
Child:
171:f708d6776752

File content as of revision 160:6a1d1d368f80:

#include <stdbool.h>

extern bool Nr6Trace;

extern void Nr6MakeRequestForNameFromIp(char*    ip);
extern void Nr6MakeRequestForIpFromName(char*  name);

extern void Nr6AddIpRecord(char*    ip, char* name, int protocol);

extern void Nr6IpToName(char*    ip, char*     name);
extern void Nr6NameToIp(char*  name, char*       ip);
extern bool Nr6HaveIpForName(char* name);

extern void Nr6SendHttp(void);
extern void Nr6SendAjax(void);

extern void Nr6Main(void);
extern void Nr6Init(void);