aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/WebserverApp.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-01-27 13:15:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-01-27 13:15:49 +0000
commita960e4b3b2ae72c6c3573fb690a1b9cde1642bc0 (patch)
tree97eeeedafe3c60ce692f6eec00e9427866a4b8d1 /Projects/Webserver/Lib/WebserverApp.h
parent1aeb5056d6943331ee2d11807bcc0a6480ad1ca0 (diff)
downloadlufa-a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0.tar.gz
lufa-a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0.tar.bz2
lufa-a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0.zip
Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
Diffstat (limited to 'Projects/Webserver/Lib/WebserverApp.h')
-rw-r--r--Projects/Webserver/Lib/WebserverApp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Projects/Webserver/Lib/WebserverApp.h b/Projects/Webserver/Lib/WebserverApp.h
index 4d1d76cc9..3cb97c667 100644
--- a/Projects/Webserver/Lib/WebserverApp.h
+++ b/Projects/Webserver/Lib/WebserverApp.h
@@ -43,6 +43,17 @@
#include <LUFA/Version.h>
#include <uip.h>
+
+ /* Enums: */
+ enum Webserver_States_t
+ {
+ WEBSERVER_STATE_SendHeaders,
+ WEBSERVER_STATE_SendData,
+ WEBSERVER_STATE_Closed,
+ };
+
+ /* Macros: */
+ #define HTTP_SERVER_PORT 80
/* Function Prototypes: */
void WebserverApp_Init(void);