CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
download::CredentialsAttachment Class Referenceabstract

#include <download.h>

Inheritance diagram for download::CredentialsAttachment:

Public Member Functions

virtual ~CredentialsAttachment ()
 
virtual bool ConfigureCurlHandle (CURL *curl_handle, pid_t pid, void **info_data)=0
 
virtual void ReleaseCurlHandle (CURL *curl_handle, void *info_data)=0
 

Detailed Description

Provides hooks to attach per-transfer credentials to curl handles. Overwritten by the AuthzX509Attachment in authz_curl.cc. Needs to be thread-safe because it can be potentially used by multiple DownloadManagers.

Definition at line 102 of file download.h.

Constructor & Destructor Documentation

virtual download::CredentialsAttachment::~CredentialsAttachment ( )
inlinevirtual

Definition at line 104 of file download.h.

Member Function Documentation

virtual bool download::CredentialsAttachment::ConfigureCurlHandle ( CURL *  curl_handle,
pid_t  pid,
void **  info_data 
)
pure virtual

Implemented in AuthzAttachment.

virtual void download::CredentialsAttachment::ReleaseCurlHandle ( CURL *  curl_handle,
void *  info_data 
)
pure virtual

Implemented in AuthzAttachment.


The documentation for this class was generated from the following file: