82typedef uint8_t resolv_status_t;
89#if RESOLV_CONF_SUPPORTS_MDNS
90void resolv_set_hostname(
const char *hostname);
92const char *resolv_get_hostname(
void);
#define PROCESS_NAME(name)
Declare the name of a process.
void resolv_query(const char *name)
Queues a name so that a question for the name will be sent out.
resolv_status_t resolv_lookup(const char *name, uip_ipaddr_t **ipaddr)
Look up a hostname in the array of known hostnames.
process_event_t resolv_event_found
Event that is broadcasted when a DNS name has been resolved.
@ RESOLV_STATUS_ERROR
Some sort of server error was encountered while trying to look up this record.
@ RESOLV_STATUS_RESOLVING
This hostname is in the process of being resolved.
@ RESOLV_STATUS_EXPIRED
Hostname was found, but it's status has expired.
@ RESOLV_STATUS_NOT_FOUND
The server has returned a not-found response for this domain name.
@ RESOLV_STATUS_CACHED
Hostname is fresh and usable.
@ RESOLV_STATUS_UNCACHED
Hostname was not found in the cache.
static uip_ipaddr_t ipaddr
Pointer to prefix information option in uip_buf.
Header file for the uIP TCP/IP stack.