diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-31 14:18:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-01-31 14:18:03 +0000 |
commit | bb1a036f097602a70ce219915db28dea616b76a8 (patch) | |
tree | 550409f4053fb7bcb4f7cbfebf02d69545447d7a /Projects/Webserver/Lib/uip/conf/apps-conf.h | |
parent | 331e8dece66e632ef3f91b052674948fd74e62a1 (diff) | |
download | lufa-bb1a036f097602a70ce219915db28dea616b76a8.tar.gz lufa-bb1a036f097602a70ce219915db28dea616b76a8.tar.bz2 lufa-bb1a036f097602a70ce219915db28dea616b76a8.zip |
Clean up HTTP webserver code in the Webserver project, so that it follows the uIP application structure guidelines and uses cleaner state machine based code.
Diffstat (limited to 'Projects/Webserver/Lib/uip/conf/apps-conf.h')
-rw-r--r-- | Projects/Webserver/Lib/uip/conf/apps-conf.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Projects/Webserver/Lib/uip/conf/apps-conf.h b/Projects/Webserver/Lib/uip/conf/apps-conf.h index 540fc33a8..0060f1f4c 100644 --- a/Projects/Webserver/Lib/uip/conf/apps-conf.h +++ b/Projects/Webserver/Lib/uip/conf/apps-conf.h @@ -5,13 +5,14 @@ typedef struct
{
- uint8_t PrevState;
- uint8_t CurrentState;
+ uint8_t CurrentState;
+ uint8_t NextState;
- FIL FileHandle;
- char FileName[50];
- bool FileOpen;
- uint32_t CurrentFilePos;
+ char FileName[30];
+ FIL FileHandle;
+ bool FileOpen;
+ uint32_t ACKedFilePos;
+ uint16_t SentChunkSize;
} uip_tcp_appstate_t;
typedef struct
|