aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/uip/conf/apps-conf.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-01-25 12:10:13 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-01-25 12:10:13 +0000
commit15c408ab8635fe45226abc2c55c9bebfe1ccb6c8 (patch)
tree8b2b811f5857fadb9227e7faa64960d1efdf1b28 /Projects/Webserver/Lib/uip/conf/apps-conf.h
parentd66f227ccef46a65e17b06d31c82c30158ae36a5 (diff)
downloadlufa-15c408ab8635fe45226abc2c55c9bebfe1ccb6c8.tar.gz
lufa-15c408ab8635fe45226abc2c55c9bebfe1ccb6c8.tar.bz2
lufa-15c408ab8635fe45226abc2c55c9bebfe1ccb6c8.zip
Moved initial completed version of the Webserver project out of the Projects/Incomplete directory.
Diffstat (limited to 'Projects/Webserver/Lib/uip/conf/apps-conf.h')
-rw-r--r--Projects/Webserver/Lib/uip/conf/apps-conf.h20
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__*/