projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add DHCP server to the Webserver demo for automatic network configuration. Correct...
[pub/lufa.git]
/
Projects
/
Webserver
/
Lib
/
WebserverApp.h
diff --git
a/Projects/Webserver/Lib/WebserverApp.h
b/Projects/Webserver/Lib/WebserverApp.h
index
4d1d76c
..
3cb97c6
100644
(file)
--- a/
Projects/Webserver/Lib/WebserverApp.h
+++ b/
Projects/Webserver/Lib/WebserverApp.h
@@
-43,6
+43,17
@@
#include <LUFA/Version.h>
\r
\r
#include <uip.h>
\r
#include <LUFA/Version.h>
\r
\r
#include <uip.h>
\r
+
\r
+ /* Enums: */
\r
+ enum Webserver_States_t
\r
+ {
\r
+ WEBSERVER_STATE_SendHeaders,
\r
+ WEBSERVER_STATE_SendData,
\r
+ WEBSERVER_STATE_Closed,
\r
+ };
\r
+
\r
+ /* Macros: */
\r
+ #define HTTP_SERVER_PORT 80
\r
\r
/* Function Prototypes: */
\r
void WebserverApp_Init(void);
\r
\r
/* Function Prototypes: */
\r
void WebserverApp_Init(void);
\r