CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
repository_session.cc File Reference
#include "cvmfs_config.h"
#include "publish/repository.h"
#include <fcntl.h>
#include <unistd.h>
#include <cassert>
#include <string>
#include "backoff.h"
#include "catalog_mgr_ro.h"
#include "directory_entry.h"
#include "duplex_curl.h"
#include "gateway_util.h"
#include "hash.h"
#include "json_document.h"
#include "logging.h"
#include "publish/except.h"
#include "upload.h"
#include "util/pointer.h"
#include "util/posix.h"
#include "util/string.h"
Include dependency graph for repository_session.cc:

Go to the source code of this file.

Classes

struct  anonymous_namespace{repository_session.cc}::CurlBuffer
 

Namespaces

 anonymous_namespace{repository_session.cc}
 
 publish
 

Enumerations

enum  anonymous_namespace{repository_session.cc}::LeaseReply { anonymous_namespace{repository_session.cc}::kLeaseReplySuccess, anonymous_namespace{repository_session.cc}::kLeaseReplyBusy, anonymous_namespace{repository_session.cc}::kLeaseReplyFailure }
 

Functions

static CURL * anonymous_namespace{repository_session.cc}::PrepareCurl (const std::string &method)
 
static size_t anonymous_namespace{repository_session.cc}::RecvCB (void *buffer, size_t size, size_t nmemb, void *userp)
 
static void anonymous_namespace{repository_session.cc}::MakeAcquireRequest (const gateway::GatewayKey &key, const std::string &repo_path, const std::string &repo_service_url, int llvl, CurlBuffer *buffer)
 
static void anonymous_namespace{repository_session.cc}::MakeDropRequest (const gateway::GatewayKey &key, const std::string &session_token, const std::string &repo_service_url, int llvl, CurlBuffer *reply)
 
static LeaseReply anonymous_namespace{repository_session.cc}::ParseAcquireReply (const CurlBuffer &buffer, std::string *session_token, int llvl)
 
static LeaseReply anonymous_namespace{repository_session.cc}::ParseDropReply (const CurlBuffer &buffer, int llvl)