#include <LUFA/Version.h>\r
\r
#include <uip.h>\r
+ \r
+ /* Enums: */\r
+ /** States for each HTTP connection to the webserver. */\r
+ enum Webserver_States_t\r
+ {\r
+ WEBSERVER_STATE_SendHeaders, /**< Currently sending HTTP headers to the client */\r
+ WEBSERVER_STATE_SendData, /**< Currently sending HTTP page data to the client */\r
+ WEBSERVER_STATE_Closed, /**< Connection closed after all data sent */\r
+ };\r
+ \r
+ /* Macros: */\r
+ /** TCP listen port for incomming HTTP traffic */\r
+ #define HTTP_SERVER_PORT 80\r
\r
/* Function Prototypes: */\r
void WebserverApp_Init(void);\r