X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/f0d6d4ef13ddce09cfc3f684a5e5192cdd4e6a60..03ee87b35abdb8b92e8b55ec040fa943f9a6786c:/Projects/Incomplete/Webserver/Lib/uip/conf/apps-conf.h diff --git a/Projects/Incomplete/Webserver/Lib/uip/conf/apps-conf.h b/Projects/Incomplete/Webserver/Lib/uip/conf/apps-conf.h index 60a7c9eb0..00919f221 100644 --- a/Projects/Incomplete/Webserver/Lib/uip/conf/apps-conf.h +++ b/Projects/Incomplete/Webserver/Lib/uip/conf/apps-conf.h @@ -1,15 +1,20 @@ #ifndef __APPS_CONF_H__ #define __APPS_CONF_H__ -//Here we include the header file for the application(s) we use in our project. - -//#include "smtp.h" -//#include "hello-world.h" -//#include "simple-httpd.h" -//#include "telnetd.h" -//#include "webserver.h" -//#include "dhcpc.h" -//#include "resolv.h" -//#include "webclient.h" + enum Webserver_States_t + { + WEBSERVER_STATE_SendHeaders, + WEBSERVER_STATE_SendData, + WEBSERVER_STATE_Closed, + }; + + typedef struct + { + uint8_t CurrentState; + char* SendPos; + } uip_tcp_appstate_t; + + #define UIP_APPCALL WebserverAppCallback + void UIP_APPCALL(void); #endif /*__APPS_CONF_H__*/