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

Go to the source code of this file.

Enumerations

enum  LeaseReply { kLeaseReplySuccess, kLeaseReplyBusy, kLeaseReplyFailure }
 

Functions

LeaseReply ParseAcquireReply (const CurlBuffer &buffer, std::string *session_token)
 
LeaseReply ParseAcquireReplyWithRevision (const CurlBuffer &buffer, std::string *session_token, uint64_t *current_revision, std::string &current_root_hash)
 
LeaseReply ParseDropReply (const CurlBuffer &buffer)
 

Enumeration Type Documentation

enum LeaseReply

This file is part of the CernVM File System.

Enumerator
kLeaseReplySuccess 
kLeaseReplyBusy 
kLeaseReplyFailure 

Definition at line 13 of file swissknife_lease_json.h.

Function Documentation

LeaseReply ParseAcquireReply ( const CurlBuffer buffer,
std::string *  session_token 
)

Definition at line 64 of file swissknife_lease_json.cc.

Here is the call graph for this function:

LeaseReply ParseAcquireReplyWithRevision ( const CurlBuffer buffer,
std::string *  session_token,
uint64_t *  current_revision,
std::string &  current_root_hash 
)

This file is part of the CernVM File System.

Definition at line 13 of file swissknife_lease_json.cc.

Referenced by acquire_lease().

Here is the call graph for this function:

Here is the caller graph for this function:

LeaseReply ParseDropReply ( const CurlBuffer buffer)

Definition at line 113 of file swissknife_lease_json.cc.

Here is the call graph for this function: