xrootd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
XrdCksPCB Class Reference

#include <XrdCks.hh>

Public Member Functions

virtual void Info (long long fsize, long long csbytes)
 
 XrdCksPCB ()
 
virtual ~XrdCksPCB ()
 

Public Attributes

long long rsvd
 

Detailed Description

This class defines the checksum management interface. It should be used as the base class for a plugin. When used that way, the shared library holding the plugin must define a "C" entry point named XrdCksInit() as described at the end of this include file. Note that you can also base you plugin on the native implementation, XrdCks, and replace only selected methods.

The XrdCksPCB object defines a callback hat allows he caller to monitor the progress of a checksum calculation (calc or verify).

Constructor & Destructor Documentation

◆ XrdCksPCB()

XrdCksPCB::XrdCksPCB ( )
inline

◆ ~XrdCksPCB()

virtual XrdCksPCB::~XrdCksPCB ( )
inlinevirtual

Member Function Documentation

◆ Info()

virtual void XrdCksPCB::Info ( long long  fsize,
long long  csbytes 
)
virtual

Report checksum progress.

Parameters
fsizeThe file size in bytes.
csbytesBytes checksummed so far.

Member Data Documentation

◆ rsvd

long long XrdCksPCB::rsvd

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