You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/Projects/Webserver/Lib/uip/conf/apps-conf.h

37 lines
696 B

#ifndef __APPS_CONF_H__
#define __APPS_CONF_H__
#include <ff.h>
typedef struct
{
uint8_t PrevState;
uint8_t CurrentState;
FIL FileHandle;
char FileName[50];
bool FileOpen;
uint32_t CurrentFilePos;
} uip_tcp_appstate_t;
typedef struct
{
uint8_t CurrentState;
struct uip_udp_conn* Connection;
struct
{
uint8_t AllocatedIP[4];
uint8_t Netmask[4];
uint8_t GatewayIP[4];
uint8_t ServerIP[4];
} DHCPOffer_Data;
} uip_udp_appstate_t;
#define UIP_APPCALL WebserverApp_Callback
#define UIP_UDP_APPCALL DHCPApp_Callback
void UIP_APPCALL(void);
void UIP_UDP_APPCALL(void);
#endif /*__APPS_CONF_H__*/