5 #ifndef CVMFS_SWISSKNIFE_LEASE_CURL_H_
6 #define CVMFS_SWISSKNIFE_LEASE_CURL_H_
10 #include "curl/curl.h"
19 const std::string& repo_path,
20 const std::string& repo_service_url,
22 const std::string& metadata = std::string());
24 bool MakeEndRequest(
const std::string& method,
const std::string& key_id,
25 const std::string& secret,
const std::string& session_token,
26 const std::string& repo_service_url,
27 const std::string& request_payload,
29 bool expect_final_revision =
true);
31 #endif // CVMFS_SWISSKNIFE_LEASE_CURL_H_
bool MakeEndRequest(const std::string &method, const std::string &key_id, const std::string &secret, const std::string &session_token, const std::string &repo_service_url, const std::string &request_payload, CurlBuffer *reply, bool expect_final_revision)
static void MakeAcquireRequest(const gateway::GatewayKey &key, const std::string &repo_path, const std::string &repo_service_url, int llvl, CurlBuffer *buffer)