summaryrefslogtreecommitdiffabout
path: root/include/opkele/oauth/consumer.h
Side-by-side diff
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 @@
#include <string>
#include <opkele/types.h>
#include <opkele/oauth.h>
+#include <opkele/curl.h>
namespace opkele {
namespace oauth {
@@ -41,8 +42,12 @@ namespace opkele {
string url;
string body;
+ util::curl_slist_t _curl_headers_list;
+
http_request_t(const string& m,const string& u)
: method(m), url(u) { }
+
+ void setup_curl(CURL *curl);
};
class basic_consumer {