#ifndef WEB_SERVER_H #define WEB_SERVER_H #include #include "httpd.h" #include "cmd.h" typedef enum { LOAD=0, REFRESH, BUTTON, SUBMIT, INVALID=-1, } RequestReason; void WEB_Init(); char * WEB_UserPages(); int WEB_CgiJsonHook(HttpdConnData *connData); void WEB_JsonData(CmdPacket *cmd); #endif /* WEB_SERVER_H */