diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-02-17 16:17:10 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-02-17 16:17:10 +0000 |
commit | 12d3b1e94a23381d8d8f94988953340baf75dc4c (patch) | |
tree | d990249f5003e50b4fda81353122237f79827f58 /protocols/FacebookRM/src/client.h | |
parent | 1144c13b3ced478e35f5e56ba0564887eacf54f9 (diff) |
Facebook: Determine GET/POST from parameters, we don't need to use special method for that
git-svn-id: http://svn.miranda-ng.org/main/trunk@12166 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r-- | protocols/FacebookRM/src/client.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h index df7822ba32..3ffdce96b2 100644 --- a/protocols/FacebookRM/src/client.h +++ b/protocols/FacebookRM/src/client.h @@ -202,15 +202,14 @@ public: // HTTP communication
- http::response flap(RequestType request_type, std::string* request_data = NULL, std::string* request_get_data = NULL, int method = 0);
- bool save_url(const std::string &url,const std::tstring &filename, HANDLE &nlc);
+ http::response flap(RequestType request_type, std::string *post_data = NULL, std::string *get_data = NULL, int method = 0);
+ bool save_url(const std::string &url,const std::tstring &filename, HANDLE &nlc);
- int choose_method(RequestType);
- bool notify_errors(RequestType);
+ bool notify_errors(RequestType);
std::string choose_server(RequestType);
std::string choose_action(RequestType, std::string *get_data = NULL);
- NETLIBHTTPHEADER* get_request_headers(int request_type, int* headers_count);
+ NETLIBHTTPHEADER *get_request_headers(int request_type, int *headers_count);
////////////////////////////////////////////////////////////
|