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
@@ -3,8 +3,9 @@
#include <string>
#include <opkele/types.h>
#include <opkele/oauth.h>
+#include <opkele/curl.h>
namespace opkele {
namespace oauth {
using std::string;
@@ -40,10 +41,14 @@ namespace opkele {
string method;
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 {
public: