From 4ecbf33fae730bc79c4a47e6efda615b104754ad Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:48 +0200 Subject: tagging ychat-0.7.8 --- src/reqp.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/reqp.h') diff --git a/src/reqp.h b/src/reqp.h index 5a378fa..4c322cd 100755 --- a/src/reqp.h +++ b/src/reqp.h @@ -13,12 +13,11 @@ private: static const string s_http_stream; static const string s_http_colength; static const string s_http_cotype; - static const string s_http_cotype_add; // returns the request url from thr client's http request header // until the first "?" and stores all request parameter values // ( behind "?" ) into map_params. - string get_url( string s_req, map &map_params, int& i_postpayloadoffset ); + string get_url( int &i_sock, string s_req, map &map_params ); // returns a specific value of the client's http request header. // ( s.t. like the User-Agent, Referer etc... ). string get_from_header( string s_req, string s_hdr ); @@ -33,9 +32,9 @@ private: public: reqp( ); - string parse( socketcontainer* p_sock, string s_req, map &map_params, int &i_postpayloadoffset ); + string parse( int &i_sock, string s_req, map &map_params ); string url_decode ( string s_url ); - string get_content_type( string& s_file ); + string get_content_type( string s_file ); void parse_headers( string s_req, map &map_params ); }; -- cgit v1.2.3