summaryrefslogtreecommitdiffabout
path: root/include/opkele/oauth/consumer.h
Unidiff
Diffstat (limited to 'include/opkele/oauth/consumer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/oauth/consumer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/opkele/oauth/consumer.h b/include/opkele/oauth/consumer.h
index 1e2784c..9196297 100644
--- a/include/opkele/oauth/consumer.h
+++ b/include/opkele/oauth/consumer.h
@@ -4,6 +4,7 @@
4#include <string> 4#include <string>
5#include <opkele/types.h> 5#include <opkele/types.h>
6#include <opkele/oauth.h> 6#include <opkele/oauth.h>
7#include <opkele/curl.h>
7 8
8namespace opkele { 9namespace opkele {
9 namespace oauth { 10 namespace oauth {
@@ -41,8 +42,12 @@ namespace opkele {
41 string url; 42 string url;
42 string body; 43 string body;
43 44
45 util::curl_slist_t _curl_headers_list;
46
44 http_request_t(const string& m,const string& u) 47 http_request_t(const string& m,const string& u)
45 : method(m), url(u) { } 48 : method(m), url(u) { }
49
50 void setup_curl(CURL *curl);
46 }; 51 };
47 52
48 class basic_consumer { 53 class basic_consumer {