--- parser3/src/include/pa_http.h 2013/03/10 23:32:36 1.9 +++ parser3/src/include/pa_http.h 2015/10/26 01:21:56 1.14 @@ -1,32 +1,23 @@ /** @file Parser: commonly used functions. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_HTTP_H #define PA_HTTP_H -#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.9 2013/03/10 23:32:36 misha Exp $" +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.14 2015/10/26 01:21:56 moko Exp $" #include "pa_vstring.h" #include "pa_vint.h" #include "pa_vhash.h" #include "pa_vtable.h" #include "pa_socks.h" +#include "pa_request.h" -#ifdef WIN32 -#include - -#ifdef CYGWIN -typedef u_int SOCKET; -extern "C" int PASCAL FAR closesocket(SOCKET); -#endif - -#else // WIN32 -#define closesocket close -#endif +#define HTTP_COOKIES_NAME "cookies" #ifndef DOXYGEN struct File_read_http_result {