CernVM-FS  2.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife_lease_curl.h File Reference
#include <string>
#include "curl/curl.h"
Include dependency graph for swissknife_lease_curl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CurlBuffer
 

Functions

bool MakeAcquireRequest (const std::string &key_id, const std::string &secret, const std::string &repo_path, const std::string &repo_service_url, CurlBuffer *buffer, const std::string &metadata=std::string())
 
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=true)
 

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,
const std::string &  metadata = std::string() 
)

Definition at line 52 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,
bool  expect_final_revision = true 
)

Definition at line 107 of file swissknife_lease_curl.cc.

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

Here is the call graph for this function:

Here is the caller graph for this function: