*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: resolv.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
+ * $Id: resolv.h,v 1.3 2008/08/13 20:12:18 andrewlxia Exp $
*
*/
#ifndef __RESOLV_H__
* 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);
*
* This file is part of the uIP TCP/IP stack
*
- * $Id: uip-conf.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
+ * $Id: uip-conf.h,v 1.3 2008/08/13 20:12:18 andrewlxia Exp $
*/
/**
#define __UIP_CONF_H__
-int uip_appcall(void){
+extern int appcall(void);
- return 0;
-}
-
-#define UIP_APPCALL uip_appcall //application function
+#define UIP_APPCALL appcall //application function
//#define UIP_UDP_APPCALL uip_appcall
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: uipopt.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
+ * $Id: uipopt.h,v 1.3 2008/08/13 20:12:18 andrewlxia Exp $
*
*/
* This function must be implemented by the module that uses uIP, and
* is called by uIP whenever a log message is generated.
*/
-void uip_log(char *msg);
+extern void uip_log(char *msg); //you should replace this by your own log function
/**
* The link level header length.