Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines.

This commit is contained in:
Dean Camera 2010-01-27 13:45:08 +00:00
parent a960e4b3b2
commit cec699ac59
7 changed files with 98 additions and 21 deletions

View file

@ -45,14 +45,16 @@
#include <uip.h>
/* Enums: */
/** States for each HTTP connection to the webserver. */
enum Webserver_States_t
{
WEBSERVER_STATE_SendHeaders,
WEBSERVER_STATE_SendData,
WEBSERVER_STATE_Closed,
WEBSERVER_STATE_SendHeaders, /**< Currently sending HTTP headers to the client */
WEBSERVER_STATE_SendData, /**< Currently sending HTTP page data to the client */
WEBSERVER_STATE_Closed, /**< Connection closed after all data sent */
};
/* Macros: */
/** TCP listen port for incomming HTTP traffic */
#define HTTP_SERVER_PORT 80
/* Function Prototypes: */