*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: clock.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: clock.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
#ifndef __CLOCK_H__
#define __CLOCK_H__
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: lc-addrlabels.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: lc-addrlabels.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: lc-switch.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: lc-switch.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: lc.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: lc.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
#ifdef LC_CONF_INCLUDE
#include LC_CONF_INCLUDE
#else
-#include <uip/c-switch.h>
+#include <uip/lc-switch.h>
#endif /* LC_CONF_INCLUDE */
#endif /* __LC_H__ */
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: psock.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: psock.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: pt.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: pt.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
#include <uip/lc.h>
-struct pt {
+typedef struct pt {
lc_t lc;
-};
+}pt;
#define PT_WAITING 0
#define PT_EXITED 1
*
* 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 <uip/uipopt.h>
+
typedef int uip_udp_appstate_t;
void resolv_appcall(void);
#define UIP_UDP_APPCALL resolv_appcall
-#include <uip/uipopt.h>
+
/**
* Callback function which is called when a hostname is found.
* 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);
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: timer.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: timer.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
#ifndef __TIMER_H__
#define __TIMER_H__
*
* This file is part of the uIP TCP/IP stack
*
- * $Id: uip-conf.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip-conf.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
#ifndef __UIP_CONF_H__
#define __UIP_CONF_H__
-#include <uip/resolv.h>
int uip_appcall(void){
return 0;
}
-#define UIP_APPCALL uip_appcall //application function\r
+#define UIP_APPCALL uip_appcall //application function
//#define UIP_UDP_APPCALL uip_appcall
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: uip-fw.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip-fw.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
#ifndef __UIP_FW_H__
#define __UIP_FW_H__
*
* This file is part of the uIP TCP/IP stack
*
- * $Id: uip-neighbor.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip-neighbor.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
*
* Author: Adam Dunkels <adam@sics.se>
*
- * $Id: uip-split.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip-split.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*/
/**
* \addtogroup uip
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: uip.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*
*/
#define __UIP_H__
#include <uip/uipopt.h>
+#include <uip/resolv.h>
/**
* Repressentation of an IP address.
typedef uip_ip4addr_t uip_ipaddr_t;
#endif /* UIP_CONF_IPV6 */
+
/*---------------------------------------------------------------------------*/
/* First, the functions that should be called from the
* system. Initialization, the periodic timer and incoming packets are
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: uip_arch.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip_arch.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*
*/
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: uip_arp.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uip_arp.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*
*/
*
* This file is part of the uIP TCP/IP stack
*
- * $Id: uiplib.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uiplib.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*
*/
#ifndef __UIPLIB_H__
*
* This file is part of the uIP TCP/IP stack.
*
- * $Id: uipopt.h,v 1.1 2008/08/06 23:19:30 andrewlxia Exp $
+ * $Id: uipopt.h,v 1.2 2008/08/06 23:40:07 andrewlxia Exp $
*
*/