\r
\r
/** Initialization function for the simple HTTP webserver. */\r
-void WebserverApp_Init(void)\r
+void HTTPServerApp_Init(void)\r
{\r
/* Listen on port 80 for HTTP connections from hosts */\r
uip_listen(HTONS(HTTP_SERVER_PORT));\r
/** uIP stack application callback for the simple HTTP webserver. This function must be called each time the\r
* TCP/IP stack needs a TCP packet to be processed.\r
*/\r
-void WebserverApp_Callback(void)\r
+void HTTPServerApp_Callback(void)\r
{\r
uip_tcp_appstate_t* const AppState = &uip_conn->appstate;\r
\r
switch (AppState->CurrentState)\r
{\r
case WEBSERVER_STATE_OpenRequestedFile:\r
- Webserver_OpenRequestedFile();\r
+ HTTPServerApp_OpenRequestedFile();\r
break;\r
case WEBSERVER_STATE_SendResponseHeader:\r
- Webserver_SendResponseHeader();\r
+ HTTPServerApp_SendResponseHeader();\r
break;\r
case WEBSERVER_STATE_SendMIMETypeHeader:\r
- Webserver_SendMIMETypeHeader(); \r
+ HTTPServerApp_SendMIMETypeHeader(); \r
break;\r
case WEBSERVER_STATE_SendData:\r
- Webserver_SendData();\r
+ HTTPServerApp_SendData();\r
break;\r
case WEBSERVER_STATE_Closing:\r
uip_close();\r
/** HTTP Server State handler for the Request Process state. This state manages the processing of incomming HTTP\r
* GET requests to the server from the receiving HTTP client.\r
*/\r
-static void Webserver_OpenRequestedFile(void)\r
+static void HTTPServerApp_OpenRequestedFile(void)\r
{\r
uip_tcp_appstate_t* const AppState = &uip_conn->appstate;\r
char* const AppData = (char*)uip_appdata;\r
/** HTTP Server State handler for the HTTP Response Header Send state. This state manages the transmission of\r
* the HTTP response header to the receiving HTTP client.\r
*/\r
-static void Webserver_SendResponseHeader(void)\r
+static void HTTPServerApp_SendResponseHeader(void)\r
{\r
uip_tcp_appstate_t* const AppState = &uip_conn->appstate;\r
char* const AppData = (char*)uip_appdata;\r
/** HTTP Server State handler for the MIME Header Send state. This state manages the transmission of the file\r
* MIME type header for the requested file to the receiving HTTP client.\r
*/\r
-static void Webserver_SendMIMETypeHeader(void)\r
+static void HTTPServerApp_SendMIMETypeHeader(void)\r
{\r
uip_tcp_appstate_t* const AppState = &uip_conn->appstate;\r
char* const AppData = (char*)uip_appdata;\r
/** HTTP Server State handler for the Data Send state. This state manages the transmission of file chunks\r
* to the receiving HTTP client.\r
*/\r
-static void Webserver_SendData(void)\r
+static void HTTPServerApp_SendData(void)\r
{\r
uip_tcp_appstate_t* const AppState = &uip_conn->appstate;\r
char* const AppData = (char*)uip_appdata;\r