#ifndef WEB_H #define WEB_H #include //#include #if defined(PLATFORM_WIN32) #define W_P(w, p) w #if !defined(PLATFORM_CYGWIN) #include #endif typedef int socklen_t; #elif defined(PLATFORM_POSIX) #define W_P(w, p) p #include #include #include #include //#include enum { INVALID_SOCKET = -1, TCP_NODELAY = 1, SD_RECEIVE = 0, SD_SEND = 1, SD_BOTH = 2, }; typedef int SOCKET; #else #error Unsupported platform #endif//PLATFORM switch NAMESPACE_UPP #include "util.h" #include "html.h" //#include "RichHtml.h" #include "socket.h" #include "httpsrv.h" #include "httpcli.h" #include "auth.h" #include "smtp.h" #include "sproc.h" END_UPP_NAMESPACE #endif