summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2006-03-23 14:08:06 +0100
committerMichael Brown2006-03-23 14:08:06 +0100
commitb2c94b32fcc9fffee5f217ee93527589840e35b6 (patch)
tree46f1fe0a35d2afe9ed4b1b7fa2d798a454cf23dc
parentCan now also print data sent by the remote side. (diff)
downloadipxe-b2c94b32fcc9fffee5f217ee93527589840e35b6.tar.gz
ipxe-b2c94b32fcc9fffee5f217ee93527589840e35b6.tar.xz
ipxe-b2c94b32fcc9fffee5f217ee93527589840e35b6.zip
Make the application state a void *.
-rw-r--r--src/proto/uip/uipopt.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/proto/uip/uipopt.h b/src/proto/uip/uipopt.h
index 61117c30..15070a71 100644
--- a/src/proto/uip/uipopt.h
+++ b/src/proto/uip/uipopt.h
@@ -277,7 +277,8 @@ typedef unsigned short uip_stats_t;
*
* \hideinitializer
*/
-#define UIP_UDP_APPCALL udp_appcall
+extern void uip_udp_appcall ( void );
+#define UIP_UDP_APPCALL uip_udp_appcall
/** @} */
/*------------------------------------------------------------------------------*/
@@ -539,6 +540,8 @@ struct httpd_state {
* response to TCP/IP events.
*
*/
+extern void uip_tcp_appcall ( void );
+#define UIP_APPCALL uip_tcp_appcall
/**
* \var #define UIP_APPSTATE_SIZE
@@ -546,7 +549,7 @@ struct httpd_state {
* The size of the application state that is to be stored in the
* uip_conn structure.
*/
-#define UIP_APPSTATE_SIZE 0
+#define UIP_APPSTATE_SIZE sizeof ( void * )
/** @} */
/* Include the header file for the application program that should be