X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fuip%2Fresolv.h;h=96d50963dc88848df331cdc1c2870118370c6f21;hb=7f1242bb4c55c23dd76c655b22f299f7472d3f5c;hp=d64efe7548495109cf03b17df49a71324b969e5f;hpb=c2ace437ef90d8516c8e3141464972ecaff4d62e;p=palacios.git diff --git a/palacios/include/uip/resolv.h b/palacios/include/uip/resolv.h index d64efe7..96d5096 100644 --- a/palacios/include/uip/resolv.h +++ b/palacios/include/uip/resolv.h @@ -38,17 +38,19 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: resolv.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $ + * $Id: resolv.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $ * */ #ifndef __RESOLV_H__ #define __RESOLV_H__ +#include + typedef int uip_udp_appstate_t; void resolv_appcall(void); #define UIP_UDP_APPCALL resolv_appcall -#include + /** * Callback function which is called when a hostname is found. @@ -61,7 +63,9 @@ void resolv_appcall(void); * ipaddr A pointer to a 4-byte array containing the IP address of the * hostname, or NULL if the hostname could not be found. */ -void resolv_found(char *name, u16_t *ipaddr); +void resolv_found(char *name, u16_t *ipaddr) +{ +} /* Functions. */ void resolv_conf(u16_t *dnsserver);