CernVM-FS  2.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife_lease_json.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_SWISSKNIFE_LEASE_JSON_H_
6 #define CVMFS_SWISSKNIFE_LEASE_JSON_H_
7 
8 #include <cstdint>
9 #include <string>
10 
11 #include "swissknife_lease_curl.h"
12 
13 enum LeaseReply {
17 };
18 
20  std::string *session_token);
22  std::string* session_token,
23  uint64_t *current_revision,
24  std::string &current_root_hash);
25 LeaseReply ParseDropReply(const CurlBuffer &buffer);
26 
27 #endif // CVMFS_SWISSKNIFE_LEASE_JSON_H_
LeaseReply ParseAcquireReplyWithRevision(const CurlBuffer &buffer, std::string *session_token, uint64_t *current_revision, std::string &current_root_hash)
static LeaseReply ParseDropReply(const CurlBuffer &buffer, int llvl)
static LeaseReply ParseAcquireReply(const CurlBuffer &buffer, std::string *session_token, int llvl)