Be doubly-certain that the incomming CDC class driver's endpoint/pipe is flushed...
[pub/USBasp.git] / Projects / Webserver / Lib / WebserverApp.h
index 3cb97c6..c788bdb 100644 (file)
                #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,\r
-                       WEBSERVER_STATE_SendData,\r
-                       WEBSERVER_STATE_Closed,\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