Oops - TPI programming is broken in the AVRISP project because the busy-flag check...
[pub/USBasp.git] / Projects / Webserver / Lib / uip / conf / apps-conf.h
1 #ifndef __APPS_CONF_H__
2 #define __APPS_CONF_H__
3
4 #include <ff.h>
5
6 typedef struct
7 {
8 uint8_t CurrentState;
9 char FileName[13];
10 FIL FileToSend;
11 bool FileOpen;
12 } uip_tcp_appstate_t;
13
14 typedef struct
15 {
16 uint8_t CurrentState;
17 struct uip_udp_conn* Connection;
18
19 struct
20 {
21 uint8_t AllocatedIP[4];
22 uint8_t Netmask[4];
23 uint8_t GatewayIP[4];
24 uint8_t ServerIP[4];
25 } DHCPOffer_Data;
26 } uip_udp_appstate_t;
27
28 #define UIP_APPCALL WebserverApp_Callback
29 #define UIP_UDP_APPCALL DHCPApp_Callback
30 void UIP_APPCALL(void);
31 void UIP_UDP_APPCALL(void);
32
33 #endif /*__APPS_CONF_H__*/