CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife_lease_curl.cc File Reference
#include "swissknife_lease_curl.h"
#include "cvmfs_config.h"
#include "gateway_util.h"
#include "hash.h"
#include "json_document.h"
#include "logging.h"
#include "util/pointer.h"
#include "util/string.h"
Include dependency graph for swissknife_lease_curl.cc:

Go to the source code of this file.

Namespaces

 anonymous_namespace{swissknife_lease_curl.cc}
 

Functions

CURL * anonymous_namespace{swissknife_lease_curl.cc}::PrepareCurl (const std::string &method)
 
size_t anonymous_namespace{swissknife_lease_curl.cc}::RecvCB (void *buffer, size_t size, size_t nmemb, void *userp)
 
bool MakeAcquireRequest (const std::string &key_id, const std::string &secret, const std::string &repo_path, const std::string &repo_service_url, CurlBuffer *buffer)
 
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)
 

Function Documentation

bool MakeAcquireRequest ( const std::string &  key_id,
const std::string &  secret,
const std::string &  repo_path,
const std::string &  repo_service_url,
CurlBuffer buffer 
)

Definition at line 47 of file swissknife_lease_curl.cc.

Here is the call graph for this function:

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 
)

Definition at line 92 of file swissknife_lease_curl.cc.

Referenced by upload::SessionContext::Commit(), and swissknife::CommandLease::Main().

Here is the call graph for this function:

Here is the caller graph for this function: