CernVM-FS  2.12.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

struct  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)
 
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 49 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 99 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: