diff options
Diffstat (limited to 'Projects/Webserver/Lib/uip/conf/apps-conf.h')
-rw-r--r-- | Projects/Webserver/Lib/uip/conf/apps-conf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Projects/Webserver/Lib/uip/conf/apps-conf.h b/Projects/Webserver/Lib/uip/conf/apps-conf.h new file mode 100644 index 000000000..22bab81bf --- /dev/null +++ b/Projects/Webserver/Lib/uip/conf/apps-conf.h @@ -0,0 +1,20 @@ +#ifndef __APPS_CONF_H__
+#define __APPS_CONF_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 WebserverApp_Callback
+ void UIP_APPCALL(void);
+
+#endif /*__APPS_CONF_H__*/
|