Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


updated header files for link errors
Lei Xia [Wed, 13 Aug 2008 20:12:18 +0000 (20:12 +0000)]
palacios/include/uip/resolv.h
palacios/include/uip/uip-conf.h
palacios/include/uip/uipopt.h

index 96d5096..b8e9004 100644 (file)
@@ -38,7 +38,7 @@
  *
  * 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__
@@ -63,9 +63,7 @@ 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);
index a0fc082..17a5d5e 100644 (file)
@@ -42,7 +42,7 @@
  *
  * 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 
 
 
index 5acdefd..26411f6 100644 (file)
@@ -53,7 +53,7 @@
  *
  * 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.